Commit Graph
66382 Commits
Author SHA1 Message Date
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 MadejskiandJeroen Claassens 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: https://github.com/Leaflet/Leaflet.markercluster/commit/97c3bb09328d496f9b2914a9eb968e36e46b9ed6

* 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
Wessel van der Linden cc41c14a00 Update Postprocessor definition (#41132) 2019-12-19 22:22:20 -08:00
Xavier Ho e2f509ace4 [cytoscape] adds warnings function definition (#41139)
* Adds Cytoscape.warnings definition

* Adds contribution link
2019-12-19 22:22:01 -08:00
Chris Nielsen 86dc1d9462 Provide typing for the focusOnChange property. (#41148) 2019-12-19 22:21:40 -08:00
Alex Jerabek 498bbe7f59 Removing prompt verbage from selection binding options (#41135) 2019-12-19 22:21:23 -08:00
Maxim Mazurok 2071c4b1de [gapi.client.sheets] Update Google Sheets API (#41155)
[gapi.client.sheets] Update Google Sheets API
2019-12-19 22:20:53 -08:00
Tomasz Pluskiewicz 4634f03735 fix: node.equals should allow null and undefined (#41143) 2019-12-19 22:20:35 -08:00
Alex Jerabek 89e6ce1829 [office-js, office-js-preview] Allowing 1.10 to work without CommentRichContent (#41136)
* Removing prompt verbage from selection binding options

* Allowing 1.10 to work without CommentRichContent

* Removing other changes

* Update preview
2019-12-19 22:17:15 -08:00
Adam Vigneaux ca2cb8bfac Update Pino browser options (#41149) 2019-12-19 22:16:30 -08:00
Natalia C cbe0768b90 Plaid: additional types added (#41156)
* additional types added

* ViewName type added

* ViewName type is used
2019-12-19 22:14:57 -08:00
Emily Marigold Klassen 0cb6d12fac Fix natural DamerauLevenshteinDistance optional options (#41159) 2019-12-19 22:13:49 -08:00
Wayne Van Son 4e6bf5b5f4 [sortablejs] adds some missing event properties (#41160)
* [sortablejs] creates clear description for fake class

* [sortablejs] add some swap and multidrag event options
2019-12-19 22:13:16 -08:00
Chris Wilkinson 9f50313b4a Add @rdfjs/serializer-jsonld (#41094)
* Add @rdfjs/serializer-jsonld

* Test sink
2019-12-19 22:11:45 -08:00
Xzas22 a298ed59c8 Updated CookieOptions.sameSite to correctly reflect new change to @types/express-session (#41038)
The change to express-session on Nov 18th (https://github.com/DefinitelyTyped/DefinitelyTyped/pull/40314) broke type checking for connect-redis and express-session. 

Specifically: 
Type 'string | boolean | undefined' is not assignable to type 'boolean | "lax" | "strict" | "none" | undefined'
2019-12-19 22:10:31 -08:00
mtgto c5bbcb252c plotly.js: Add barnorm to Layout (#40874) 2019-12-19 22:08:30 -08:00
Adrien Vergé db3ff1623a [stripe-v3] Add new confirmCardPayment(), confirmSepaDebitSetup(), etc. (#40857)
Add typings for these 4 new PaymentIntent-related functions:
- `confirmCardPayment()`
- `confirmSepaDebitPayment()`
- `confirmCardSetup()`
- `confirmSepaDebitSetup()`

Also mark old ones as deprecated, for easier understanding:
- `handleCardPayment()`
- `handleCardSetup()`

References:
https://stripe.com/docs/stripe-js/reference#stripe-confirm-card-payment
https://stripe.com/docs/stripe-js/reference#stripe-confirm-sepa-debit-payment
https://stripe.com/docs/stripe-js/reference#stripe-confirm-card-setup
https://stripe.com/docs/stripe-js/reference#stripe-confirm-sepa-debit-setup
2019-12-19 17:06:50 -08:00
Elizabeth Samuel b75e866ada [office-js] [office-js-preview] (Outlook) Reorganize members into modes (#41075) 2019-12-19 12:54:51 -08:00
Leonidas Arvanitis 6c9d016e69 Add classes draggable option (#40951)
Documented here: https://api.jqueryui.com/draggable/#option-classes
2019-12-18 11:01:12 -08:00
Bennnsen db466ac180 updated type in openpgp("string" -> string) (#41062)
* Update index.d.ts

* Update index.d.ts

* fixed typings

Keypair now has the correct properties, CleartextMessage.fromText now has CleartextMessage as return type

* fixed typings

added KeyPair properties, CleartextMessage.fromText now has CleartextMessage as return type

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2019-12-18 10:53:14 -08:00
Alex Bradley 828eb36983 Add types for port-numbers (#40860)
* Add types for port-numbers

* port-numbers: Make result fields readonly
2019-12-18 10:52:05 -08:00
Carson Farmer 729be11faf feat: adds types and tests for lexicographic-integer (#41025)
Signed-off-by: Carson Farmer <carson.farmer@gmail.com>
2019-12-18 10:49:57 -08:00