Commit Graph

67002 Commits

Author SHA1 Message Date
bookmoons
d681769274 Add developer as maintainer (#41070) 2019-12-23 10:47:54 -06:00
Hossein Saniei
e19dc99582 feat(@types/mongodb): better support for Schemas with "any" indexed type (#40943) 2019-12-23 10:46:55 -06:00
Will Mendes
55807cad7f feat(resize-observer-browser): updating type definition (#40909)
* feat(resize-observer-browser): updating type definition

* refactor(resize-observer-browser): aapplying minor changes to match specs
2019-12-23 10:38:13 -06:00
Arman
086d4331e2 react-map-gl - Added missing types (#40891)
* Added missing types

Fixed missing types according to https://github.com/uber/react-map-gl/blob/5.1-release/examples/viewport-animation/src/app.js
FlyToInterpolator class was missing it's constructor props and transitionDuration property couldn't have 'auto' value

* Added tests changed types

* Added my name to Definitions by

* Reverted the auto-formatted codes, changed 'type' to 'interface'

* Removed Unnecessary semicolon

* Removed Unnecessary semicolons

* Reverted formatting changes on test file
2019-12-23 10:36:57 -06:00
Xinyan Chen
1638cac672 Upgrade ts definitions to storybookjs/react-inspector v4. (#41066)
* Align ts definitions with code in storybookjs/react-inspector.

* Upgrade version number in header.

* Fix tslint error.
2019-12-23 10:34:37 -06:00
Sarah Dayan
b576d4b616 Add missing type information for v3.2 of react-hooks-testing-library (#41028)
* feat: add typing for waitForValueToChange

* chore: add attribution and update version

* feat: add typing for wait method

* fix: remove disallowed path version

* fix: add missing generic name

* fix: add missing generic name

* fix: remove generic considered unnecessary

* fix: add missing WaitOptions in waitForNextUpdate
2019-12-23 10:32:53 -06:00
Dmitry Demensky
93901a2c0d [googlemaps] improve map types & docs (#41044)
* Add `MVCEventHandler` alias

* Fix & specify type of `mapDiv`

[`mapDiv`](https://developers.google.com/maps/documentation/javascript/reference/map#Map.constructor) is not nullable.

* Add the missing [`getClickableIcons`](https://developers.google.com/maps/documentation/javascript/reference/map#Map.getClickableIcons) method

* Fix [`setStreetView`](https://developers.google.com/maps/documentation/javascript/reference/map#Map.setStreetView) nullable argument

* Specify types of events

* Add blank line between fields

* Add JSDoc

* Update typescript

* Fix googlemaps-tests

* Fix load-google-maps-api-tests

* Update load-google-maps-api typescript

* Fix load-google-maps-api-tests
2019-12-23 10:30:58 -06:00
Tomasz Pluskiewicz
cc23ed1761 fix: align callback functions of dataset with spec (#40989)
* fix: align callback functions of dataset with spec

* reduce clutter in rdf-js tests
2019-12-23 10:26:29 -06:00
Matteo Frana
7b2a852371 react-query: updated QueryOptions definitions (#41208)
* QueryOptions: added refetchIntervalInBackground, refetchOnWindowFocus, initialData

* Removed extra space

* Removed patch version number

* Fixed initialData optional and of type TResult
2019-12-23 10:25:06 -06:00
Adam
924bcd457f [newman] Adding missing fields to NewmanRunFailure. (#41033)
* Adding missing fields to NewmanRunFailure.

* Fixing reviewer issues.

* Fixing test file.
2019-12-23 10:23:33 -06:00
Simon Schick
c47a34ead1 feat(node): v13 (#40927)
* feat(node): v13

* feat(node): v13.2
2019-12-23 10:17:12 -06:00
Tim Perry
d7fbc2e837 Add onBeforeCapture to React-Beautiful-DnD (#41131) 2019-12-23 10:14:59 -06:00
Nicholas Morsman
6bd34e594d acme-client: Remove types as they are now provided by the package (#41146) 2019-12-23 10:14:13 -06:00
Gavin Nitta
e31707d756 feat(googlemaps): Update types to v3.39 (#41147) 2019-12-23 10:13:14 -06:00
Dasa Paddock
1da2c7416a Update for ArcGIS API for JavaScript version 4.14 (#41153) 2019-12-23 10:12:13 -06:00
Dasa Paddock
c2ab14b6e4 Update for ArcGIS API for JavaScript version 3.31 (#41150) 2019-12-23 10:10:06 -06:00
Nathan Rajlich
1d9e9b1590 [@types/node] Add missing method property to http.ClientRequest (#41029)
* [@types/node] Add missing `method` property to `http.ClientRequest`

* Test `req.method`

* Move above `path`

Because it gets set in that order in the source code.

* [@types/node] Remove `readonly` from `http.ClientRequest`

There is nothing in the source code that prevents this property
from being overwritten, and user code and/or modules may change
this property before flushing the HTTP header.

* Add test

* Add to v10

* Add `req.method` to v10 types

* Fix v10 types
2019-12-23 10:08:32 -06:00
Ciaran Downey
46370cf94a Fix node/crypto.verify return type to boolean from Buffer (#41170) 2019-12-23 10:06:45 -06:00
Simon Gellis
2507ca8b9a Improve types of highland sequence/series/flatten (#41053)
The sequence and series methods now work on streams-of-arrays as well.
Flatten now has an accurate return type.
2019-12-23 10:04:33 -06:00
Piotr Błażejewicz (Peter Blazejewicz)
07fcb1bd3d feat(pg): rework constructor documentation. Closes #41167 (#41174)
- remove outdated comment
- add link to the documentation
- update test with parameterless ctor

Thanks!
2019-12-23 10:02:41 -06:00
Thomas Deinhamer
8a0e74bb2f Add esModule to the plugin options interface of mini-css-extract-plugin (#41185)
* Add esModule to the plugin options interface

* Fix jsdoc indentation
2019-12-23 10:00:29 -06:00
Eugeny Schibrikov
da9a21ba57 [pg] Updated Client and Pool config types according to docs (#40728)
* Fixed Client and Pool config types for pg

* Add ConnectionConfig alias
2019-12-23 09:58:33 -06:00
Chris Doble
51c0be8d2d blueimp-load-image: Add Event to LoadImageCallback argument (#41197) 2019-12-23 09:54:26 -06:00
Adam Osiecki
4e11af6873 [jsforce] Adds 'numberRecordsProcessed', 'numberRecordsFailed', 'totalProcessingTime' properties to BatchInfo. (#41192)
* Adds 'numberRecordsProcessed', 'numberRecordsFailed', 'totalProcessingTime' properties to BatchInfo.

* proper type of data should be string
2019-12-23 09:52:22 -06:00
Brad Zacher
cdecf024d7 [esquery] use discriminated union for selector (#41201) 2019-12-23 09:51:01 -06:00
Nubami SQReder
a2fb19e08d [jest-image-snapshot] Fix string not assignable to customSnapshotIdentifier fields in MatchImageSnapshotOptions (#41118) 2019-12-23 09:48:30 -06:00
Valentin Tolochko
57bd61b26b [react-native] adds StyleSheet.compose definition (#40950)
* [react-native] adds StyleSheet.compose definition

* [react-native] updates StyleSheet.compose definition

* [react-native] updates StyleSheet.compose tests
2019-12-23 13:02:23 +01:00
Kohei Matsubara
e49de35470 [react-breadcrumbs] fix: add missing 'separator' property to Breadcrumbs (#41141)
ref: https://github.com/svenanders/react-breadcrumbs/blob/v2.1.6/src/breadcrumbs.jsx#L16-L33
2019-12-21 18:25:53 -08:00
Krzysiek Madejski
a98cca85b0 Mui datatables@2.12 (#40941)
* mui-datatables, add filterType as column option, add missing field on TableState, ask what are sorting options?

* Update tests

* resolve definitions of TODO

* Use Array<>

* remove TODO

Co-Authored-By: Jeroen Claassens <jeroen.claassens@live.nl>

* Remove TODO

* Remove duplicate

Co-authored-by: Jeroen Claassens <jeroen.claassens@live.nl>
2019-12-20 13:05:19 -08:00
Nathan Shively-Sanders
c89d93690f Update jest-axe tests for new axe-core version (#41169)
I just fixed the type error; the actual value, `[]` is not valid at
runtime because it is supposed to contain a list of rules. But the
jest-axe test doesn't have any rules either. So the test is already
invalid at runtime.
2019-12-20 09:11:05 -08:00
mtgto
4cfb86eef6 sqlite3: add interrupt method (#40747) 2019-12-19 23:03:41 -08:00
CatGuardian
fee3cc4749 Fixed incorrect callback signature (#40954) 2019-12-19 22:59:54 -08:00
Jesse Weinstein
51907a39f8 Leaflet.markercluster: Add option param to zoomToBounds (#40981)
* Add option param to zoomToBounds

This was added here: 97c3bb0932

* Test argument to zoomToBounds
2019-12-19 22:58:53 -08:00
Alex Hayton
a449dd06c7 Added @pusher/chatkit-client (#40980)
* Added pusher chatkit client

* Fix lint issues

* Fix tsconfig.json

* Fix lint
2019-12-19 22:57:45 -08:00
Adam Bergman
08c1f18272 Add types for strman (#40979)
* Initialize module

* Add types for all exported methods

* Add tests for all exported methods
2019-12-19 22:56:29 -08:00
Tieu Philippe KHIM
487ed3b63e feat: add tz field on node-schedule (#40919) 2019-12-19 22:55:25 -08:00
Colin Cummings
6001bbab25 optional hoisted field styles; paypal promises (#40926) 2019-12-19 22:54:58 -08:00
Artur
e3e59c5d4e [@types/favicons]: add missing options (#40920) 2019-12-19 22:53:31 -08:00
Emily Marigold Klassen
8be221da22 Add to-json-schema types (#40959) 2019-12-19 22:52:37 -08:00
Alex Nault
9ed34fd14f [@types/slate-plain-serializer] Add delimiter option (#40992)
* Add delimiter option to slate-plain-serializer

* Fix semicolon separator

* Removed patch version
2019-12-19 22:51:28 -08:00
Michael Solomon
e3dcd315c7 Remove the need for cast (#40988)
With the current order, I have to cast to unknown and then to `Promise<any>`
```
  public set<T>(key: string, value: T, options: CacheManager.CachingConfig): Promise<any> {
    return (this.client.set(key, value, options) as unknown) as Promise<any>;
  }
```

With the new order I can just do:
```
  public set<T>(key: string, value: T, options: CacheManager.CachingConfig) { // returns type is Promise<any>
    return (this.client.set(key, value, options);
  }
```

and
```
  public set<T>(key: string, value: T, options: CacheManager.CachingConfig) { // returns type is void
    return (this.client.set(key, value, options, ()=> {});
  }
```
2019-12-19 22:50:39 -08:00
Christophe Hurpeau
728ea104dd [react-dev-utils] add evalSourceMapMiddleware (#41047)
* [react-dev-utils] add evalSourceMapMiddleware

* refactor: rename to .d.ts

* style: revert tsconfig changes
2019-12-19 22:49:22 -08:00
Jesse Katsumata
bd86620cec [react-native-vector-icons]: Add Nested class type for FontAwesome5 (#41007)
* [react-native-vector-icons]: Add Nested class type for FontAwesome5 Icons

* [react-native-vector-icons]: Remove unneeded imports

* [react-native-vector-icons]: Fix lint
2019-12-19 22:48:38 -08:00
Raschid J.F. Rafeally
a9d7c74950 fix(parse/File): substitute Blob type in constructor (#40990) 2019-12-19 22:39:49 -08:00
Bob Thomas
9ad7b7251b [@types/react-query] Fix pagination option (#40922)
* [@types/react-query] Fix pagination option

The getCanFetchMore function takes in the actual paged data, not a number. See https://github.com/tannerlinsley/react-query#load-more--infinite-scroll-pagination

* Update react-query-tests.ts
2019-12-19 22:38:45 -08:00
rriski
13bafa8b23 [@types/match-sorter] Add support for string[] to the property callback syntax. (#40850)
* Add support for string[] to the property callback syntax.

* Update header version number

* Fix version header

* Improve types and tests

Use KeyOptions type as suggested by ChrisRu in pull request #40850.
2019-12-19 22:38:10 -08:00
ericbiewener
0afd3fb719 Add optional params key to yup createError() argument (#40834)
* Add optional params key

* Add more tests
2019-12-19 22:35:56 -08:00
Cong Zhang
24f1d0c82d [@types/react]Dispatch in useReducer could accept 0 arguments (#40961)
* Dispatch in useReducer could accept 0 arguments

* distinguish 0 arguments dispatch from normal dispatch

* omit useless line

* revert omit useless line
2019-12-19 22:33:27 -08:00
jlismore
a728dadd45 [victory] Add missing box plot props (#41077)
* Add missing box plot props for custom quadrant rendering
Update callbacks to new v33 form

* Add more to standard callback args
2019-12-19 22:29:41 -08:00
Turadg Aleahmad
3fa4f6d5f1 Use Typescript 3.7 assertions for invariant() (#41079)
* Use Typescript 3.7 assertions for invariant()

https://devblogs.microsoft.com/typescript/announcing-typescript-3-7/#assertion-functions

* support <3.7 with typesVersions
2019-12-19 22:23:38 -08:00