Arthur Denner
ff388a3fa3
feat(eslint): add errorOnUnmatchedPattern to CLIEngine Options ( #41889 )
...
* feat(eslint): add errorOnUnmatchedPattern to CLIEngine Options
* test(eslint): add test for errorOnUnmatchedPattern option on CLIEngine for ts3.1
2020-02-04 09:45:00 -08:00
labzy88
f7eef53553
mailgen ContentBody.table can now take type Array<Table> ( #41913 )
2020-02-04 08:57:04 -08:00
Łukasz Jagodziński
9264f705a6
The getClientIp can return null ( #41902 )
...
As you can see in the source code here https://github.com/pbojinov/request-ip/blob/master/src/index.js#L129 the `getClientIp` function can return `null` value if all the possible methods fail.
2020-02-04 08:53:37 -08:00
Shimpei NAKAMORI and Wesley Wigham
f3b9ae8270
[@types/plupload] Enable import ( #41830 )
...
* Add `declare module`
* Update types/plupload/index.d.ts
Co-Authored-By: Wesley Wigham <wwigham@gmail.com >
Co-authored-by: Wesley Wigham <wwigham@gmail.com >
2020-02-04 08:52:56 -08:00
Julian Hundeloh
c848c5a881
[umzug] fix: support array of migrations as input ( #41878 )
...
* fix: support array of migrations as input
* fix: add missing methods to Migration interface
* fix: remove unnecessary props
* fix: add file prop to Migration
2020-02-04 08:35:58 -08:00
ExE Boss and Linus Unnebäck
00a3593da3
feat(assert): Add support for TypeScript 3.7 assertion functions ( #41927 )
...
Co-Authored-By: Linus Unnebäck <linus@folkdatorn.se >
Co-authored-by: Linus Unnebäck <linus@folkdatorn.se >
2020-02-03 16:06:27 -08:00
Benedikt Bauer
7c12944ed1
Update stripe-v3 to accept BankAccountOptions on createToken ( #41947 )
2020-02-03 13:00:15 -08:00
Benedikt Bauer
b280439d65
[@types/react-stripe-elements] Update createToken to accept BankAccountOptions as well ( #41946 )
...
* Update react-stripe-elements definitions to allow BankAccountOptions to be passed to createToken
Also add some tests for the Iban, IdealBank and PaymentRequestButton elements
* Update stripe-v3 to accept BankAccountOptions on createToken
2020-02-03 10:21:24 -08:00
Simon Garner
5706c529a4
[braintree] Use discriminated union for WebhookNotifications ( #42030 )
...
* Use discriminated union for WebhookNotifications
Change the WebhookNotification types to know their own values for the `kind` property, so that the compiler can automatically infer types from it.
This also requires changing the notification types to be interfaces instead of classes, and changing `WebhookNotification` to be a union type instead of an abstract class.
Ref: https://www.typescriptlang.org/docs/handbook/advanced-types.html#discriminated-unions
The result of all this is that a guard on the returned `notification.kind` will have the effect of narrowing the type of `notification` itself, so that explicit casts aren’t always necessary.
* Update test
* Revert kind to still be WebhookNotificationKind
* Group types for WebhookNotificationKind
* fix: missing semicolon
2020-02-03 10:19:53 -08:00
Alex Seifert
7049fc4b4c
Add object type to the MJML package ( #42066 )
...
* Add object type to the MJML package
* Add more a more specific interface
* Add missing types to MJML and make optional ones optional
* Add usage examples to the MJML test file
2020-02-03 09:32:35 -08:00
Eva
1b802a91a7
[pngjs]: fix type for sync.read at pngjs ( #41940 )
2020-02-03 09:28:23 -08:00
Igor Morozov
fc10467244
Fix ResponseError ( #42059 )
...
Only optional status and response fields
2020-02-03 09:27:24 -08:00
Igor Morozov
e211ea86f8
Add missing disableTLSCerts method ( #42056 )
...
According to docs https://github.com/visionmedia/superagent/blob/master/docs/index.md#tls-options
2020-02-03 09:23:13 -08:00
gdrbyKo1
dd4301b390
signalr: make the second parameter of the Hub.Proxy.off method optional ( #41973 )
2020-02-03 09:21:07 -08:00
Dispatch
997b0cfe4f
Update Autopad parameters ( #42035 )
2020-02-03 09:18:07 -08:00
Jon Flash
02e35ff46e
Add missing NewRelic Agent methods ( #42020 )
2020-02-03 09:17:22 -08:00
Ryo Ota
34fd07c37a
Add http2.Http2ServerRequest type to the auth() parameter ( #42037 )
2020-02-03 09:12:36 -08:00
Nicholas Boll
2988d52315
Add path for @testing-library/cypress/add-commands ( #41987 )
...
* Add path for @testing-library/cypress/add-commands
* Reference new file
* Add new file to config
* Add add-commands.d.ts to OTHER_FILES.txt
* Update tsconfig.json
2020-02-03 09:11:39 -08:00
Steve Dignam
dc72f7ed97
chart.js: Update ChartData to accept both Arrays and ReadonlyArrays ( #42023 )
...
By changing the types for `ChartData["labels"]` and `ChartData["datasets"]`
to ReadonlyArrays we can pass either ReadonlyArrays or Arrays as ChartData.
This is useful when chart.js is used inside a React component where the
props are readonly.
2020-02-03 09:03:32 -08:00
Leandro Lourenci
4713e4b663
[@testing-library/jest-dom] Add new type for toHaveStyle matcher ( #42022 )
...
* Update jest-dom's types
* Apply suggestions from review
2020-02-03 08:55:00 -08:00
Martin Zlámal
80c66130f3
Relay runtime: add missing ClientID ( #41806 )
2020-02-03 08:53:50 -08:00
pmoleri
f367276e2d
Correct version for ldapjs type definitions ( #42064 )
2020-02-03 08:32:10 -08:00
Sam Alexander
c56c683e97
feat: Add types for frappe-gantt ( #41561 )
...
* Add frappe-gantt types
* Add refresh method
* Update index.d.ts
2020-02-02 21:04:48 -08:00
Yenru Chin
33fa63bc7f
[webpack] Add RuntimeValue for DefinePlugin ( #42036 )
...
* Add RuntimeValue in DefinePlugin
* Add tests
* Tweak
* Fix
* More specific type and tests
* Fix test error
* Add parser type
* Fix tests error
2020-02-02 19:20:15 +00:00
Vladimir Timofeev
d8d74cffbd
[react-native] Fix Picker component definitions + test ( #42024 )
...
* add test to show the problem
* make it work
2020-02-01 12:15:45 +01:00
Isaac Sukin
92b2d2065a
Adds DragSelect types ( #41996 )
...
* Adds DragSelect types
* lint
* Remove "export as namespace"
* PR feedback
2020-01-31 18:36:42 -08:00
Bryan Helms
702bcdd984
Add sameSite: "none" support ( #42018 )
2020-01-31 16:54:29 -08:00
Cameron Hunter
7ede30d4fb
yargs: Add array and demand types for positional arguments ( #41721 )
...
* yargs: Add array and demand types for positional arguments
* Fix formatting
2020-01-31 15:15:24 -08:00
Pedro Mutter
7a44c8e8de
Types definition for the package @catho/quantum ( #41991 )
...
* simplecrawler modules type definition
* required fixes in export
* adjustments reference types of crawler.d.ts
* added catho__quantum types definitions
* Fix lint errors
* Fix lint errors
* Fix lint errors
2020-01-31 15:14:38 -08:00
Simcha Wood
6880eeb060
Add types package for winston-loggly-bulk ( #41994 )
...
* Add types for winston-loggly-bulk
* Fix tsconfig.json
* Fix Loggly class and update tslint.json
* Fixed tsconfig.json and adjusted exports
* Fix for failing tests
* Add needed extend to Loggly class
2020-01-31 15:13:19 -08:00
Karol Majewski
df90a9baed
Add definition for brotli-webpack-plugin ( #42009 )
2020-01-31 15:03:37 -08:00
Piotr Błażejewicz (Peter Blazejewicz)
d02802bd23
fix(balanced-match): correct CommonJS definition. Fixes #41933 ( #42021 )
...
- definition updated
- tests updated
- prettier formatting applied
Thanks!
2020-01-31 14:37:39 -08:00
Arun George
d2359661f7
Add types for react-beautiful-dnd v12 ( #42010 )
...
* update to v12 of rbd
* add sensors types
* add package.json and make sure everything is exported
* start resolving pr comments. pushing to make sure pr doesnt get cancelled
* complete copy from https://github.com/atlassian/react-beautiful-dnd/blob/master/src/types.js
* revert back to ts 2.8
* implement omit
* add explicit export to omit function
2020-01-31 14:29:37 -08:00
Joakim Unge
fd12683a84
refactor: update type definitions for react-router-tabs ( #41998 )
...
* feat: update types for react-router-tabs
* test: rewrite tests with jsx
* refactor: change NavTab type
2020-01-31 14:28:26 -08:00
Chiciuc Nicușor
6dcaf3bed3
Add "NUM_FRACTION_DIGITS" as a static property on Object class. ( #42004 )
2020-01-31 14:27:38 -08:00
saostad
fb9016f4c9
[ldapjs] better typing for SearchOptions interface ( #42006 )
...
* better typing for SearchOptions interface
better typing base on [official docs](http://ldapjs.org/client.html ) for SearchOptions interface
* added Timeout in seconds for property timeLimit
added Timeout in seconds for property timeLimit
2020-01-31 14:27:21 -08:00
JennelleMaierPie
76f00ccabf
add NUMBERS to plaid-link ViewNames ( #42012 )
2020-01-31 14:26:49 -08:00
Jack Bates
d594835add
[imap-simple] Infer type argument ( #42013 )
2020-01-31 14:26:09 -08:00
Alberto
18a62ae2d8
Accepting generic type for table definition ( #42011 )
2020-01-31 14:25:24 -08:00
hedaira
de29d6ccb3
added in interface EObject getting "eContainingFeature" from EObject ( #41997 )
2020-01-31 13:33:57 -08:00
AppLover69
3e64bbf2b3
Add addEventListener() typings to MediaRecorder ( #41880 )
...
* Add `addEventListener()` typings
* Fix 'unified-signatures'
* Redefine event listener methods using tslib-style event map
2020-01-31 13:32:53 -08:00
Josh Henderson
728806f5f6
adding in maxDelayMs into options interface ( #41995 )
2020-01-31 13:32:31 -08:00
Artem Smirnov
b04b366659
Added new type for ParseMode ( #41990 )
2020-01-31 13:30:58 -08:00
Simon Schick
88dcea1ac6
feat(node): v13.7 ( #41859 )
2020-01-31 13:30:41 -08:00
Elizabeth Samuel
27b7a0a4fd
[office-js] [office-js-preview] (Outlook) Minor clean up ( #41992 )
2020-01-31 13:29:36 -08:00
Daniel Nixon
8dc7d715bd
history Add generic type param to createPath (#41993 )
...
This is required to fix fallout from https://github.com/DefinitelyTyped/DefinitelyTyped/issues/41674
2020-01-31 13:26:53 -08:00
Dmytro Gokun
63bf4488c8
[mapbox-gl] Update mapbox-gl to v1.7.0 ( #42003 )
2020-01-31 13:26:23 -08:00
Rémi Roycourt
338d1b8ada
feat: add typings for react-messenger-checkbox ( #41843 )
...
* feat: add typings for react-messenger-checkbox
* fix(type-definition): major.minor version
* fix(lint): type definition
* fix(lint): rules
* fix(type): delete default export
* fix(type): export
* fix(tsconfig): strictNullChecks set to true
2020-01-31 11:27:54 -08:00
TypeScript Bot
86bd530585
Update CODEOWNERS ( #42015 )
2020-01-31 10:11:47 -08:00
Shinpei and Eloy Durán
f7ba6e840d
[@types/react-native] Fix: Animated Components are always any type ( #41939 )
...
* Fix: Animated Components are always any type
* Update index.d.ts
* Update types/react-native/index.d.ts
Co-Authored-By: Eloy Durán <eloy.de.enige@gmail.com >
* Update index.d.ts
* Update index.d.ts
* Update index.d.ts
* Update index.d.ts
* Fix: Ts Error
* Test: Animated.Image missing source prop
* Type: Animated Value Props
* Update index.d.ts
* Update index.d.ts
* Update index.d.ts
* Type: Bump Minimum TypeScript Version to 3.7
* Update index.d.ts
* Update index.d.ts
* Update index.d.ts
* Fix: no-unnecessary-qualifier
Co-authored-by: Eloy Durán <eloy.de.enige@gmail.com >
2020-01-31 17:28:41 +01:00