Commit Graph

67002 Commits

Author SHA1 Message Date
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
Alexander T
969ec6e4e1 expect: Provides its own types (#39618)
* expect: Provides its own types

* add dependencies
2019-11-06 09:40:37 -08:00
Adam Bouqdib
170468ec3f [redux-form] add submitAsSideEffect prop (#40077) 2019-11-06 09:33:12 -08:00
Mark Weaver
3422b2b9e7 add typings for @fluent/bundle, @fluent/dedent, @fluent/langneg and @fluent/react (v2) (#40179)
* added types for @fluent packages

* fixes for removed code

* prettier changes

* fix test failures

* fixes from code review + looking at packaged module

* prettier

* remove refs to unused files, fix bundle tests

* prettier

* fix typo

* fix dedent

* undo package.json change
2019-11-06 09:27:46 -08:00
Alexander T
b484f60b10 theming: Provides its own types (#39555) 2019-11-06 09:06:51 -08:00
Alexander T
961d142370 jss: Provides its own types (#39582) 2019-11-06 09:05:52 -08:00
Alexander T
9f38342240 bootstrap-table: Provides its own types (#39647) 2019-11-06 09:03:57 -08:00
Mohamed Boughaba
63c76e1060 (feat): add sharedworker options (#40069)
package: sharedworker
in addition to the url string, sharedworker constructor takes as an argument a name string or an options object.
reference: https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/SharedWorker
2019-11-06 09:03:39 -08:00
Alexander T
bbc89b4aba ansi-colors: Provides its own types (#39661) 2019-11-06 09:02:28 -08:00
Alexander T
f87cb13f0f angular-dynamic-locale: Provides its own types (#39662) 2019-11-06 09:02:08 -08:00
ExE Boss
918e71e7ab fix(define‑properties): Improve map parameter type (#40174) 2019-11-06 08:58:27 -08:00
Nicolas Djambazian
fdc7466539 Add className props to react-scrollspy core component (#40157) 2019-11-06 08:56:58 -08:00