Tim Perry
b231fe9730
Remove loglevel, now that it includes its own types ( #36403 )
2019-06-24 12:32:45 -07:00
Piyush Mishra
88a79a9361
[@types/google-protobuf] Fix for breaking changes of PR #35299 ( #36346 )
...
* Add pack, unpack and getTypeName back
* add toJavaScript, fromJavaScript and JavaScriptValue back
* Add toDate and fromDate back
2019-06-24 11:00:18 -07:00
Regev Brody
ac897dc461
Fix #36308 - underscore has bad chain typings ( #36319 )
2019-06-24 10:22:40 -07:00
TypeScript Bot
6e0ad9b57a
Update CODEOWNERS ( #36377 )
2019-06-24 09:41:58 -07:00
Alex Pope
d20b2a044b
Add publicPath to SourceMapDevToolPlugin.Options ( #36394 )
2019-06-24 15:25:33 +01:00
iwknow
796b838a15
[Enzyme] make dive to take component as type ( #36276 )
...
* make dive to take component as type
make dive to take component as type so that dive().instance() returns component with correct type
* add test for dive type definition
add test for dive type definition
2019-06-22 00:03:35 -07:00
Michael Kitch
206fd191e8
react-table: Add selectWidth to react-table select HOC ( #36348 )
...
* Add selectWidth to react-table select HOC
* Update select-table-tests.tsx
2019-06-22 00:01:56 -07:00
pokutuna
845d001fe5
Added new definitions for asciichart ( #36273 )
2019-06-21 23:54:24 -07:00
zivyangll
24b24fa197
add types for 'macaca-circular-json' ( #36256 )
...
* feat: add macaca-circular-json types
* doc: update info
2019-06-21 23:53:57 -07:00
ghizlanelotfi
4bc21cbc73
add algolia places typings ( #36242 )
...
* add algolia places typings
* add request changes
* fix build errors
* fix test errors
* remove rules from tslint
* remove empty line
* add namespace places
* remove unused comma
* add missing whitespace and remove padding
* add test file
* add file to tsconfig
* comment places func
* add tests
* uncomment places func
* fix events import
2019-06-21 14:19:32 -07:00
Daniel Cassidy
58607ca641
node: Correct type of SpawnSyncReturns. ( #36263 )
...
* node: Correct type of SpawnSyncReturns.
* cross-spawn: Fix tests for updated node types
* node: Correct SpawnSyncReturns in v10 and v11.
2019-06-21 14:17:19 -07:00
Piotr Roszatycki
1aa129cacb
Node: ref and unref for timers returns this + new method hasRef ( #36237 )
...
* node: ref and unref for timers returns this; new method hasRef
* code formatting
* Backported to older Node typings
* node: inteface Timer has to have hasRef too
* node: methods return this for v11 too
2019-06-21 14:16:37 -07:00
Joe Hillenbrand
79e2481967
[react] add tests for useState ( #36338 )
...
Add a test case to prevent this from happening again:
https://github.com/DefinitelyTyped/DefinitelyTyped/commit/598ffd0b99dcfa511ab6056d9652c99665a7bbe4#r34006320
2019-06-21 13:23:18 -07:00
Domino987
e0f3c915f4
Added factory.d.ts ( #35779 )
...
* Added factory.d.ts
This enables the modular import of plotly descibere [here](https://github.com/plotly/plotly.js/tree/master/dist#partial-bundles ).
import Plotly from 'plotly.js-basic-dist'
import createPlotlyComponent from 'react-plotly.js/factory';
export const Plot = createPlotlyComponent(Plotly);
* Add factory to index
This is needed because travis will fail due to unused file error
* removal of default
* Update index.d.ts
* Update index.d.ts
* Update tsconfig.json
* Update index.d.ts
* Add factory test
2019-06-21 08:42:13 -07:00
Sebastian Sebald
b76470c5b4
Add @styled-system/css typings ( #36236 )
...
* Add @styled-system/css typings
* fix linting
2019-06-21 01:17:34 -07:00
Derek Sifford
44115af1cb
[@wordpress/dependency-extraction-webpack-plugin] add new definitions ( #36033 )
...
* [@wordpress/dependency-extraction-webpack-plugin] add new definitions
* use more appropriate "export =" syntax
2019-06-21 01:15:40 -07:00
Chaitanya K
d6462559f4
google-protobuf: Updated definitions to version 3.7.1 ( #35299 )
...
* Updated google-protobuf definitions to version 3.7.1
* fix: travis errors
* fix: added tests
2019-06-21 01:05:09 -07:00
Munif Tanjim
aa041f6632
@types/draft-js improvements ( #36079 )
...
* @types/draft-js improvements
expose DraftDecorator
extend DraftBlockType
* @types/draft-js fix function signature
- customStyleMap
- customStyleFn
* @types/draft-js fix function signature
handleBeforeInput
* @types/draft-js fix function signature
handleKeyCommand
* @types/draft-js remove console.log
* @types/draft-js add DraftStyleMap
2019-06-21 01:02:16 -07:00
Maurice de Beijer
a9e638dbda
Support Yup required/notRequired derived types ( #36155 )
...
* Support undefined with notRequired()
* ArraySchema<T> instead of this
* children can be undefined
* Export InferType<T>
* Support undefined and null for arrays
* Reduced types count and dupicated code for arrays
* Added boolean overloads
2019-06-21 00:58:00 -07:00
Philip Peitsch
dfd9f6e84a
node-hid: add new definitions ( #36302 )
...
Updating based on https://github.com/node-hid/node-hid/commit/0ff75bf17212243d7f1d05e445a3dbead0f5ab08
Additional event handles added as HID class inherits directly from Node's EventEmitter
2019-06-21 00:53:09 -07:00
Martin Jurča
ffebba08e1
[promise.allsettled] Add new type declarations ( #36314 )
...
* added type definitions for promise.allsettled
* code style update
* code style and compatibility fixes
* removed the (hopefully not needed) tslint disable flag
* more code style fixes
* code style fix
2019-06-21 00:48:48 -07:00
Anders Kaseorg
362f0f4373
Add types for git-revision-webpack-plugin ( #36339 )
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2019-06-21 00:43:19 -07:00
Yejielw
412e615107
Added optional params to IToSVGOptions ( #35922 )
...
Added optional params to IToSVGOptions for fabric.js
2019-06-20 20:44:44 -07:00
Alex Curtis
0be028c8af
Add types for targz ( #36260 )
...
* Add types for targz
* Specify TS version
* Move exports to top level
2019-06-20 20:36:50 -07:00
Vincent
9bc9b67092
Add type definitions for solid-auth-client ( #36300 )
2019-06-20 20:34:11 -07:00
Hammad Jutt
e0f9fb3c52
[detox] Add reuse to initOptions ( #36303 )
2019-06-20 17:46:18 -07:00
Ole André Vadla Ravnås
91f51661e1
Sync frida-gum typings with Frida 12.6.8 ( #36305 )
...
Changelog at:
https://www.frida.re/news/2019/05/28/frida-12-6-released/
2019-06-20 17:45:37 -07:00
Ferdy Budhidharma
87b6eb5cc8
[react] revert recent change to useState ( #36327 )
...
This reverts commit 598ffd0b99 .
2019-06-20 17:43:39 -07:00
Alexander Tolkunov
498d415b56
[Wouter] Add types for v2 ( #36330 )
2019-06-20 17:42:31 -07:00
Klaus Meinhardt
d88107bef1
semver: prerelease can actually contain numbers ( #36332 )
2019-06-20 17:40:52 -07:00
Saoud Rizwan
9e274b5be1
Add type definitions for braintree-web-drop-in ( #35759 )
...
* Add type definitions for braintree-web-drop-in
* Fix ts-lint errors
* Add PaymentMethodPayload interface
* Remove global.d.ts and replace `HTMLElement` with `any`; remove tslint rules
* Add global types to braintree-web-drop-in and relevant tests
* Fix typo in documentation for braintree-web-drop-in
2019-06-20 14:09:35 -07:00
Simon Donoghue
ffe3ed5296
Added type definitions for react-easy-crop v1.13.0 ( #36085 )
...
* Added type definitions for react-easy-crop v1.13.0
* Removed disabled TSLint rules and made changes where necessary.
2019-06-20 14:06:58 -07:00
Adrian Hope-Bailie
8727a4fa0a
Add rsocket types ( #36076 )
...
* Add rsocket types
* Drop `types` from `tsconfig.json
Use triple-slash references
* Fix linting errors
* Remove private members
* Fix linting errors
2019-06-20 14:05:22 -07:00
blackshadev
d8c0d5c929
xmljs typings. Closes #36202 ( #36228 )
...
* added typings for xmljs. Closes #36202
* removed partial interface
* removed I for interface
2019-06-20 14:03:28 -07:00
Florian Keller
8deb2a8c32
Add types for commander-remaining-args ( #36148 )
2019-06-20 14:01:52 -07:00
George Novitskiy
a513c86074
Added type definitions for neverbounce ( #36238 )
...
* Added type definitions for neverbounce
* Fixed neverbounce tests
2019-06-20 14:00:56 -07:00
SPWizard01
d19bae1d49
[sharepoint] add missing get_zoneId method for WebPartDefinition ( #36112 )
...
* get_zoneId method for WebPartDefinition
currently get_zoneId() is missing
* authors update
* bump version number
* bump back
2019-06-20 13:59:47 -07:00
Chris Hardie
f4a1586e81
36174 Adjusted pin param in Johnny Five board methods to accept string ( #36177 )
...
* 36174 Adjusted pin param to accept string
* 36174 Added header recommended by test
* 36174 removed prettier fixes
2019-06-20 09:34:21 -07:00
Anders Hejlsberg
b051904c24
Update tests in preparation for TS #31950 ( #36271 )
2019-06-19 19:08:18 -07:00
Chris Sauvé
598ffd0b99
[react] Only allow thunks in useState when setting state that is a function ( #36080 )
...
* Only allow thunks for function state
* Add self to contributors list
* Fix bounds to be more precise, and split into multiple lines.
* Update index.d.ts
2019-06-19 16:39:07 -07:00
Rob Walker
ad587c5a6f
Add missing {x/y}{Min/Max} types to ChartProps ( #36248 )
...
* Add missing {x/y}{Min/Max} types to ChartProps
* Correct the property name
2019-06-19 16:38:25 -07:00
Geoff Goodman
7e22b53ab9
Fix agent option for RequestOptions in @hapi/wreck ( #36292 )
2019-06-19 16:37:59 -07:00
Fabio Berta
3df8f6b229
[react-map-gl] MapContext and missing TransitionEvent ( #36297 )
...
* add TRANSITION_EVENTS.UPDATE
* add _MapContext
* lint fixes
* extend PureComponent
* nullable
2019-06-19 16:37:39 -07:00
Roland Warmerdam
d50e08515d
Remove ui-box ( #36278 )
2019-06-19 16:18:37 -07:00
Yann Normand
e72f26b711
Change TEvent restriction to objectTEvent can have any shape when using property accessors.The only restriction is to be object.This change fixes Typescript errors when using a custom event structurethat doesn't match the default Event interface. ( #36274 )
2019-06-19 16:11:10 -07:00
Jiayu Liu
450bf11379
Add imurmurhash ( #36111 )
...
* init commit
* add types
* fix lint error
* fix per comment
* fix per comment
2019-06-19 16:09:01 -07:00
Calum Sieppert
50e641fac2
Update IOrderUpdateOptions ( #36240 )
...
Align interface with documentation by making status optional.
2019-06-19 16:07:40 -07:00
Derek Sifford
717e450eed
[@wordpress/data] add strongly typed "rich-text" data store functions ( #36272 )
...
* format files using repo's prettier configuration
* [@wordpress/data] add strongly typed "rich-text" data store functions
* fix build error
2019-06-19 16:06:07 -07:00
Ole André Vadla Ravnås
9c89c7a60b
Move frida-gum typings off const enums ( #36293 )
...
Except for two cases where we would need to break the underlying API.
2019-06-19 16:04:01 -07:00
Daniel Byrne
f23dae8c89
tweak recently added 'level-js' types ( #36301 )
2019-06-19 16:03:23 -07:00