Commit Graph

65713 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
49a03a7294 react-native-dialog: Make container's modal props optional
The tests use them in a way that indicates they are not required, so I
added Partial around reactNativeModal.ModalProps.

This probably resulted from a recent update to react-native-modal.
2019-11-07 14:00:59 -08:00
Nathan Shively-Sanders
a4560c4eb2 Update readme for 2.0-2.7 deprecation (#40222)
* Update readme for 2.0-2.7 deprecation

* Add example of dist-tags with react

* shorten dist-tag table
2019-11-07 13:48:58 -08:00
Alexander T
c967251c42 cassandra-driver: Provides its own types (#39641)
* cassandra-driver: Provides its own types

* Fix cassanknex types to follow cassandra-driver types
2019-11-07 13:06:47 -08:00
Kerry Gougeon
1df8492715 [@types/react-datepicker] fix a definition for renderDayContents (#40217) 2019-11-07 13:06:17 -08:00
Nathaniel Myhre
dae697b006 [winrt-uwp] Add RemoteSystems API (#39978)
* Add Windows remoting APIs

* Add missing docs and replace template

* Mistyped event handler.
2019-11-07 13:05:36 -08:00
Hunter Perrin
dfe979112b Update types of @types/qs for v6.9.0 (#39404)
* Update types for qs@6.9.0

* Fix tests and types for qs.

* Add myself back in as an author.
2019-11-07 13:04:34 -08:00
Chayim Refael Friedman
c03cde14b5 Add support for chai-like (#40219)
* Add files

* Add declarations

* Add tests

* Fix plugin

* Change TypeScript version to match chai

* Add missing semicolon
2019-11-07 13:02:28 -08:00
Joseph
c74f860f8b [mongoose] Modified methods "lean" (#40212)
The type of the returned parameter is determined from Any to T
2019-11-07 11:37:59 -08:00
Alexander T
f3a2beb1fd highcharts: Provides its own types (#39599)
* highcharts: Provides its own types

* use @types/highcharts instead of highcharts
2019-11-07 11:37:21 -08:00
Alexander T
792e8dd0fe ink: Provides its own types (#39595)
* ink: Provides its own types

* use @types/ink instead of ink
2019-11-07 11:36:46 -08:00
Eitan Levi
b581c9f5d2 Fix the raw function in node-config. (#40086)
I submitted a patch previously that added the `raw` function but I
neglected to export the `RawConfig` class, which is what's actually
returned from that `raw` function. My apologies for not getting this
right the first time. Here is the implementation file that shows the
`RawConfig` class and its `resolve()` method: https://github.com/lorenwest/node-config/blob/master/raw.js
2019-11-07 11:24:42 -08:00
Spencer Elliott
c73034d2af Add react-toast-notifications (#40194) 2019-11-07 11:20:54 -08:00
Alexander T
7222741787 sass-webpack-plugin: Provides its own types (#39540) 2019-11-07 11:19:37 -08:00
Alexander T
d5090ff66e gulp-pug: Provides its own types (#39602) 2019-11-07 11:19:16 -08:00
Alexander T
5e00b1f008 ethereumjs-util: Provides its own types (#39620) 2019-11-07 11:18:18 -08:00
Alexander T
854af1adc3 composer-concerto: Provides its own types (#39636) 2019-11-07 11:18:02 -08:00
Alexander T
9b4602025b neffos.js: Provides its own types (#39476) 2019-11-07 11:17:38 -08:00
Alexander T
c5771441ea nats-hemera: Provides its own types (#39477)
* nats-hemera: Provides its own types

* fix library name

* fix typo
2019-11-07 11:16:11 -08:00
Alexander T
0855261c30 node-json-db: Provides its own types (#39482) 2019-11-07 11:15:24 -08:00
Alexander T
974e3815b6 rdflib: Provides its own types (#39502) 2019-11-07 11:14:07 -08:00
Alexander T
2efa042b21 web3-eth-abi: Provides its own types (#39569) 2019-11-07 11:05:33 -08:00
Alexander T
d73ef93f00 react-daum-postcode: Provides its own types (#39507)
* react-daum-postcode: Provides its own types

* Fix notNeededPackages.json after merge
2019-11-07 11:03:17 -08:00
Alexander T
51de8fe815 react-hot-loader: Provides its own types (#39510) 2019-11-07 11:02:59 -08:00
Alexander T
0ffd283647 sqs-consumer: Provides its own types (#39550) 2019-11-07 11:01:06 -08:00
Benoit Sepe
3277f8157d [react-jsonschema-form] Add onBlur to FormProps (#40187)
* feat: add onBlur to FormProps of react-jsonschema-form

* fix: variables arguments for onBlur

* fix: fixed type of onBlur on FormProps
2019-11-07 11:00:31 -08:00
Pine
799f0dfe85 VS Code 1.40.0 Extension API (#40220) 2019-11-07 10:54:34 -08:00
JasonKleban
31847315bf Fixes #39349 (#40142) 2019-11-07 10:28:45 -08:00
Dolan Murvihill
bb1dd9f522 Add type definitions for float-equal version 2.0 (#40195) 2019-11-07 10:27:19 -08:00
Junxiao Shi
7221daab35 fast-chunk-string: initial definition (#40207) 2019-11-07 10:25:58 -08:00
Jordan
acdd3d40c6 [chart.js] Add weight property to ChartDataSets interface for Doughnut/Pie charts. (#40200)
* [chart.js] Add weight property to the ChartDataSets interface for Doughnut/Pie charts.

* [chart.js] Run prettier on index.d.ts file.

* [chart.js] Remove all prettier formmating changes.
2019-11-07 10:23:54 -08:00
Alexander T
3c7ae90209 json-rules-engine: Provides its own types (#39584) 2019-11-07 10:22:33 -08:00
Alexander T
106f346dc6 cropperjs: Provides its own types (#39633)
* cropperjs: Provides its own types

* Fix types in react-cropper
2019-11-07 10:08:23 -08:00
Dmitry Savchenko
c3032cf2a0 [@types/google-maps-react] Make Marker and InfoWindow components extandable. (#40132)
* Make Marker and InfoWindow components extandable.
Add missing event handlers for marker props.
Add missing methods and variables for Marker and InfoWindow classes.

* Add missing spaces

* Make google variable in MapProps not optional

* Update index.d.ts

Make google, map and marker attributes required for InfoWindow
2019-11-07 09:52:28 -08:00
Chris Wilkinson
9c6cab2f9d Add Next type to Koa (#40213) 2019-11-07 09:51:41 -08:00
Chris Shaw
8f158d2d4c [jsmediatags] add correct type for picture (#40205) 2019-11-07 09:45:42 -08:00
Simon Gellis
b6f21b30c3 Fix return type of mysql's "queryFormat" function (#40164) 2019-11-07 09:44:42 -08:00
Rauno Viskus
a606a3d08e [mongodb] Fix and add watch to db definition (#40197)
* [mongodb] Add fix and add watch to db definition

* [mongodb] Add resumeToken member to ChangeStream

* [mongodb] Update doc version in links

* [mongodb] Update link to docs

* [mongodb] allow Binary

* [mongodb] use empty class as ResumeToken

* [mongodb] Update link to watch docs
2019-11-07 09:43:10 -08:00
Alexander T
d728ea97f1 zipkin-transport-http: Provides its own types (#39577) 2019-11-07 09:37:13 -08:00
Alexander T
dbd07f931e vfile-message: Provides its own types (#39667)
* vfile-message: Provides its own types

* fix vfile-message version

* remove vfile
2019-11-07 09:29:42 -08:00
Adam Kwiatek
756751f416 protractor-http-mock 0.10.0 (#40051)
* Allow registering mixed types of mocks.
* Allow registering mixed types of plugins.
* Update the configuration type.
* Update request operation types.
* Be more specific in plugins' match() signature.
2019-11-07 09:28:10 -08:00
Resi Respati
5b30992fd5 [next] Add statusCode to err object in NextContext (#40204)
Maintenance fix for `next@^8.0.0`.
2019-11-07 09:26:05 -08:00
Jessica Franco
b59a18caf3 [styled-components] Update for TypeScript 3.7 (#40209)
Converts self-referential interfaces to recursive types to work around https://github.com/microsoft/TypeScript/issues/34796

Now that the types _really_ had to be updated for a new version,
there's no longer any reason to keep compatibility definitions for old
versions of TypeScript around, so removed the ones that were already
marked as such. This fixes the types for the as= property.
2019-11-07 20:24:54 +09:00
Janic Duplessis
82240e5032 [react-relay] Handle all variations of nullability and arrays for useFragment (#40167)
* [react-relay] Handle all variations of nullability and arrays for `useFragment`

The previous implementation did not detect nullability properly and also missed handling 2 cases for arrays (`[X]!` and `[X!]`). 

To do this we always use the `TKey` generic parameter which should be the exact type of `XFragment_foo$key`. Nullability is determined by the type of the `fragmentRef` parameter (the fragment type doesn't actually encode nullability anyway). For arrays the key type will already be an array so we have to handle then slightly differently. We have one overload for each possible combinaison of nullability (2 for regular fields, 4 for arrays).

- Type `ReturnType` is the non-nullable type for a regular field key. Nullability is added on usage.
- Type `NonNullableArrayReturnType` is the non-nullable array type for an array field key. Nullability of the **field** is added on usage.
- Type `NullableArrayReturnType` is the nullable array type for an array field key. Nullability of the **field** is added on usage.

Tested all 6 possible combinaisons of array / nullability with `useFragment<XFragment_foo$key>(...)` and validated that the ts type returned matched the nullability / and whether it's an array of the schema.

* Fix array types

* Add tests, fix nullable array types

* Simplify test key type

* Remove support for array of nullable elements

* Fix lint in example
2019-11-07 12:20:10 +01:00
Elizabeth Samuel
8a31a2fe9e [office-js] [office-js-preview] (Outlook) getSelectedDataAsync returns empty string not null (#40199) 2019-11-06 16:06:27 -08:00
BehindTheMath
c140acb6c8 [lodash] Fix stubTrue for TS v3.1+ (#40110)
* [lodash] Fix stubTrue for TS v3.1+

Adds files that were left out of 2ce5aac that are used for TS v3.1+.

* Fix errors
2019-11-06 16:05:44 -08:00
Alexander T
7936f4d588 react-json-pretty: Provides its own types (#39512) 2019-11-06 14:01:38 -08:00
Alexander T
d402dab6cc react-native-swipe-gestures: Provides its own types (#39524) 2019-11-06 14:00:35 -08:00
Alexander T
99316224d5 react-native-fs: Provides its own types (#39516) 2019-11-06 13:36:01 -08:00
Alexander T
8a3533061f vfile: Provides its own types (#39562) 2019-11-06 13:06:23 -08:00
Rob Richard
1a728ad315 Update RelayStoreTypes.d.ts (#40190) 2019-11-06 20:13:24 +01:00