Tyler Jones
8a4fefd543
Stripe card's cardholder name can be null ( #27206 )
...
See example response in https://stripe.com/docs/api#retrieve_card
2018-07-12 09:21:53 -07:00
Orta
d18f6afc20
Merge pull request #27221 from alloy/add-args-to-react-tracking
...
[react-tracking] The callback variant also passes arguments.
2018-07-12 15:03:29 +01:00
Eloy Durán
9b620df22c
[react-tracking] The callback variant also passes arguments.
2018-07-12 15:46:13 +02:00
John Reilly
d360bc9e00
Added johnnyreilly to webpack related definitions to speed reviewing up ( #27218 )
2018-07-12 13:25:20 +01:00
Emilio Martinez
bcb71bbf29
feat(webpack): fill Compiler- and Compilation-related fs types ( #27117 )
...
Please fill in this template.
- [X] Use a meaningful title for the pull request. Include the name of the package modified.
- [X] Test the change in your own code. (Compile and run.)
- [x] Add or edit tests to reflect the change. (Run with `npm test`.)
- [X] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request ).
- [X] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes ).
- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).
Select one of these and delete the others:
If changing an existing definition:
- [X] Provide a URL to documentation or source code which provides context for the suggested changes: (See bottom of description)
- [X] Increase the version number in the header if appropriate.
- [X] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
---
Changes in this PR are related to a few Webpack Compiler and Compilation properties.
Adds definitions for following file timestamp properties:
* `Compiler.fileTimestamps`. See https://github.com/webpack/webpack/blob/v4.15.1/lib/Compiler.js#L138 .
* `Compiler.contextTimestamps`. See https://github.com/webpack/webpack/blob/v4.15.1/lib/Compiler.js#L140 .
* `Compilation.fileTimestamps`. See https://github.com/webpack/webpack/blob/v4.15.1/lib/Compilation.js#L467 .
* `Compilation.contextTimestamps`. See https://github.com/webpack/webpack/blob/v4.15.1/lib/Compilation.js#L469 .
Adds definitions for the following file system properties:
* `Compiler.inputFileSystem` — Roughly a subset of `fs` read features.
See https://github.com/webpack/enhanced-resolve/blob/v4.1.0/lib/NodeJsInputFileSystem.js and https://github.com/webpack/memory-fs/blob/v0.4.1/lib/MemoryFileSystem.js .
* `Compiler.outputFileSystem` — Roughly a subset of `fs` output features.
See https://github.com/webpack/webpack/blob/v4.15.1/lib/node/NodeOutputFileSystem.js#L9:7 .
Both file system properties above, while initialized as `null`, have their value set almost immediately right after by Webpack, making them generally not `null` by the time the Compiler can be accessed. See https://github.com/webpack/webpack/blob/master/lib/webpack.js#L34 .
2018-07-12 00:52:43 -07:00
Daniel Zlotin
94a86215f3
react-native-navigation v2.x.x is fully TypeScript ( #27202 )
2018-07-12 00:52:09 -07:00
Alexander T
fe5462429b
Add textTransform style prop ( #27210 )
2018-07-12 00:51:35 -07:00
robmandoe
3a82a6c232
add enableRetinaScaling to StaticCanvas options ( #27208 )
...
enableRetinaScaling was missing from the StaticCanvas options. We need this option for our project to compile without errors and function properly.
2018-07-12 00:50:51 -07:00
Felipe Vaz
b9edcc9c51
Added two missing props sortColumn and sortDirection ( #27197 )
2018-07-12 00:50:37 -07:00
Andy
dfe05a96d6
@types/jest: toMatchSnapshot updated for property matchers ( #27170 )
2018-07-12 00:49:45 -07:00
Tyler Jones
d9bf730cb2
Update stripe Card's object to be typed with 'card' string literal ( #27199 )
...
This allows differentiating between a BankAccount and Card payment method
when using type unions, which are leveraged by the stripe typings.
See https://stripe.com/docs/api#card_object-object
2018-07-12 00:49:11 -07:00
Brendan Forster
fdaf4dada6
[electron-packager] v12 introduces a promise-based API to deprecate using callbacks ( #27200 )
...
Please fill in this template.
- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [x] Add or edit tests to reflect the change. (Run with `npm test`.)
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request ).
- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes ).
- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).
Select one of these and delete the others:
If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes:
- Docs: a43c90ca9d/docs/api.md
- Commit: a43c90ca9d (diff-0f426376b964e609c5c4618eb8bed3b2)
- [x] Increase the version number in the header if appropriate.
- ~~[ ] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.~~
2018-07-12 00:48:42 -07:00
Amardeepsingh
ef67b11c63
added null to possible return types for get method in url-search-params ( #27183 )
2018-07-12 00:47:49 -07:00
Andrew Moss
c61b1db6eb
lolex: Fix install() method parameters ( #27193 )
...
lolex.install() can take a Date or a number (see https://github.com/sinonjs/lolex#var-clock--lolexinstallconfig )
- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [x] Add or edit tests to reflect the change. (Run with `npm test`.)
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request ).
- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes ).
- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).
If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/sinonjs/lolex#var-clock--lolexinstallconfig
- [x] Increase the version number in the header if appropriate.
- [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
2018-07-12 00:47:06 -07:00
SebasWebDev
d06c96e1d2
@types/paper | Added missing method in Group.hitTestAll ( #27189 )
...
* @types/paper | Added missing method in Group.hitTestAll http://paperjs.org/reference/group/#hittestall-point
* @types/paper | Added name in 'Definitions by' section in header
2018-07-12 00:46:34 -07:00
MBillemaz
a49828a775
Add properties to react-widgets/DropdownList ( #27042 )
...
* Add properties to react-widgets/DropdownList
* Add createOption message on DropdownListMessages
2018-07-12 00:46:06 -07:00
Jared Meek
4f0cd5c74a
add typings for custom logger support ( #27102 )
2018-07-12 00:44:37 -07:00
Klaus Sevensleeper
5fe390b1fa
[joi] Add missing type to ObjectSchema::pattern() ( #27152 )
...
* added missing type to ObjectSchema::pattern()
* changed version as requested by reviewer
2018-07-12 00:44:11 -07:00
Piotr Musiał
d13bcd1497
Add export of ScrollbarPresenceParams ( #27162 )
2018-07-12 00:43:31 -07:00
Daniel Cassidy
a6c82d0c3f
[domready] Update to 1.0, apply lint rules, fix common mistakes ( #27181 )
...
* Apply standard lint rules to domready.
* Apply strict null checks to domready.
* Return value of callback is not used so declare it void.
* Set domready version number.
domready types are up to date as of domready 1.0.8.
2018-07-12 00:43:15 -07:00
Alex Jerabek
fdcf675966
[office-js] Adding conversationID descriptions to Message subclasses ( #27157 )
...
* Adding conversationID descriptions to Message subclasses
* Fixing spelling
2018-07-12 00:42:49 -07:00
Elizabeth Samuel
564afc514b
office.js: add important note for auth.getaccesstokenasync ( #27196 )
2018-07-12 00:41:46 -07:00
Cerberuser
f50cf7b56f
Cytoscape: animation fixes, layout interface usage ( #27209 )
2018-07-12 00:41:20 -07:00
Michael Ferris
981fcd2f64
yargs ( #27171 )
...
Add `hide` method according to http://yargs.js.org/docs/#api-hidekey
Add `showhidden` method according to http://yargs.js.org/docs/#api-showhidden
2018-07-10 16:20:25 -07:00
kukiel
375fd64a08
Mapbox popup className option ( #27068 )
...
* added mapbox-gl popup className option
* added mapbox-gl popup className option test
2018-07-10 09:51:34 -07:00
Emil Laine
bc51af9960
Fix i18next dir() return type to be "ltr" | "rtl" ( #27069 )
2018-07-10 09:51:09 -07:00
László Zsolt Nagy
68a7fcd294
add missing searchTypeText property to react-select ( #27060 )
2018-07-10 09:48:55 -07:00
Brian Crowell
ffbf9da05f
chai-http: Add methods keepOpen() and close() to the agent ( #27153 )
...
keepOpen() and close() are available both on the base request and on the
agent for controlling the lifetime of the server.
2018-07-10 09:39:22 -07:00
Christian Stornowski
83f67fa71c
Added types for vue2-datepicker component ( #27108 )
...
* Created types for vue2-datepicker
* Added missing new line
* Enabled strictNullChecks
2018-07-09 15:03:52 -07:00
Dmitry Kucherenko
b68ae4872a
Fixed wrong declaration merging ( #27142 )
2018-07-09 14:26:09 -07:00
Ilya Hritsuk
de14014887
Add elementType to stipe element change event ( #27147 )
2018-07-09 14:25:40 -07:00
Oliver Joseph Ash
5e54cc92a7
react-redux: use Exclude in Omit ( #27019 )
...
The legacy definition doesn't work with TypeScript 2.9.
Fixes https://github.com/DefinitelyTyped/DefinitelyTyped/issues/26510
2018-07-09 14:24:48 -07:00
Lluís Ulzurrun de Asanza Sàez
c6653d383f
Fix wrong return types in yesql pg and mysql functions ( #27149 )
...
Please fill in this template.
- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [x] Add or edit tests to reflect the change. (Run with `npm test`.)
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request ).
- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes ).
- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).
Select one of these and delete the others:
If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/pihvi/yesql/blob/master/yesql.js#L28 and https://github.com/pihvi/yesql/blob/master/yesql.js#L47
- [x] Increase the version number in the header if appropriate.
- [ ] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
2018-07-09 14:20:03 -07:00
C. T. Lin
6b30dbbd5d
[koa-bodyparser] export bodyParser.Options ( #27047 )
...
This will be helpful in https://github.com/apollographql/apollo-server/pull/1282
2018-07-09 14:18:05 -07:00
Jorge López Fueyo
6094d751a5
Add definitions for node-dijkstra ( #27126 )
...
* Added types for node-dijkstra
* Removed default export
* Changed name type to String and parameter renamed
* Fixed string types.
2018-07-09 14:13:32 -07:00
Matthew Berryman
fa8d994e79
changes for v5 of react-tag-input ( #27039 )
...
* changes for v5 of react-tag-input
* bump version number in header
2018-07-09 14:12:10 -07:00
coolreader18
138e93e12b
Add definitions for promise-ftp, promise-ftp-common, and promise-sftp ( #27121 )
...
* Add definitions for promise-ftp, promise-ftp-common, and promise-sftp
* Fix linting errors
* Realign some stuff in tsconfig.json
* Add strictFunctionTypes to tsconfig.json
* Use import = in tests
2018-07-09 14:06:57 -07:00
Sebastian Silbermann
83e6356d8a
[redux-form]: improve actions.initialize typing ( #27017 )
...
- declare explicit function overload instead of implicit via union types
- options can be passed as partials. They are never checked strict.
2018-07-09 14:05:00 -07:00
Vitaliy
e3ecdae4cf
Add VictoryCursorContainer, VictoryBrushContainer, VictoryZoomContainer ( #27048 )
...
* index.d.ts
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/victory/index.d.ts
https://github.com/FormidableLabs/victory
* Changed domains types
Changed domains types in:
- brushDomain
- onBrushDomainChange
- zoomDomain
- onZoomDomainChange
* Changed responsive to optional
Changed responsive in VictoryContainerProps to optional
2018-07-09 13:00:37 -07:00
_BLU
f7c1a224c1
Added alpha option to randomColor ( #27011 )
2018-07-09 12:56:48 -07:00
Frank Li
544f41a894
Further restricted the generic type T ( #26995 )
...
* Further restricted the generic type T
Further restricted the generic type T
* Fix CI Build
2018-07-09 12:55:25 -07:00
Miguel
cd061895be
Added missing TextInput props on react-native-text-input-mask ( #27000 )
...
* Added missing TextInput extension
* Adds missing attributes to the textinput from RN
* Expanded documentation on copied props
2018-07-09 12:54:31 -07:00
DUBREZ Samuel
7c981e08e5
@types/restify (7.2) : Add maxFileSize to BodyParserOptions interface ( #26991 )
...
* Add maxFileSize to MultipartBodyParser interface
* @types/restify (7.2) : Add maxFileSize to BodyParserOptions interface
2018-07-09 12:53:05 -07:00
woutvdd
52b444905c
Update index.d.ts ( #26981 )
2018-07-09 12:52:41 -07:00
Vincent Bel
916f644758
[redux-form] add typings for v7.4 ( #26977 )
...
* redux-form: new API of v7.4
* [redux-from]: support redux@4
2018-07-09 12:52:12 -07:00
hi_Haowen
696b8b14dd
Add Types for swagger-ui-dist ( #27138 )
2018-07-09 12:49:59 -07:00
Michele Bombardi
8355056eb3
New package: react-native-toast-native ( #27148 )
2018-07-09 12:49:05 -07:00
Jack Wearden
34adabadd6
[highland] - 2.12.0 toNodeStream method ( #27133 )
...
* [highland] add support for 2.12.0 toNodeStream()
* [highland] bump version in header
2018-07-09 11:33:29 -07:00
Banst
16b94cdf1a
[ioredis] add missing attributes to Pipeline interface ( #27150 )
...
* 🐛 add missing attribute to Pipeline interfacce
* Revert "🐛 add missing attribute to Pipeline interfacce"
This reverts commit d45b38583de61af98cd4f749ff8b27b6d8801c37.
* 🐛 add missing attributes to Pipeline interface (without auto format)
2018-07-09 11:26:57 -07:00
Ben LeFevre
8c23206f59
@types/documentdb: Use specified return type in queryDocuments ( #27021 )
...
`queryDocuments` already has a type variable but it is not being used in the return type.
This PR simply merges the RetrievedDocument type with the input type.
2018-07-09 11:26:39 -07:00