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: https://github.com/electron-userland/electron-packager/blob/a43c90ca9d4c0d5f380354a2544585f7d0a46240/docs/api.md
- Commit: https://github.com/electron-userland/electron-packager/commit/a43c90ca9d4c0d5f380354a2544585f7d0a46240#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
silh
ebcb52fb25
Added support for className option in ImageOverlayOptions. ( #27077 )
...
ImageOverlayOptions extends InteractiveLayerOptions as described in Leaflet docs.
Added bubblingMouseEvents option to InteractiveLayerOptions.
2018-07-09 11:25:33 -07:00
Jack Coulter
50c50a8eb2
[redux-first-router] Update types for compatibility with redux@^4.0.0 ( #26975 )
...
* Update redux-first-router types for compatibility with Redux 4
* Fix tests for redux-first-router
2018-07-09 11:25:04 -07:00
Alexander T
d0aa166405
Update types based on new react-native 0.56 version ( #27136 )
2018-07-09 11:24:28 -07:00
AJ Richardson
e3ff16475b
lodash: fix pickBy for dictionary types ( #27131 )
...
Fixes #24133 (I know it's closed but as per the discussion there, it wasn't fixed properly before).
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).
If changing an existing definition:
- [ ] Provide a URL to documentation or source code which provides context for the suggested changes: N/A
- [ ] Increase the version number in the header if appropriate. N/A
- [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
2018-07-09 11:22:37 -07:00
Chris Abrams
8815592a2a
Modify three options missing from webpack-dev-middleware and webpack-hot-middleware ( #27116 )
...
* Add writeToDisk option
* Add reload option
* make sure writeToDisk can also be a function
* enable index option to be boolean type
2018-07-09 11:21:20 -07:00
Davin Kevin
215834ee2f
fix(extend): improve signature of interface ExpectExtendMap ( #27124 )
...
Jest custom matcher support both `string` and `() => string` for message property
> https://github.com/facebook/jest/blob/d3a6a7400a89b857a63d939fc5664ae8a2dfbbb2/packages/expect/src/index.js#L351
2018-07-09 11:18:03 -07:00
styu
3500f2e9ea
Update virtual-dom typings with constructors and type-guards ( #27112 )
...
* Update virtual-dom typings with constructors and type-guards
* Lint
* newline
* Fix tests, update version
* Fix patch typings
* New line
2018-07-09 11:15:56 -07:00
Sou Niyari
50536aeb06
Fix a typo in a monthsShort type ( #27119 )
2018-07-09 11:15:35 -07:00
Josh Goldberg
ff3bccf613
Added a few missing tests for Jest ( #27134 )
2018-07-09 11:13:41 -07:00
Ryan Cavanaugh
42fb16dc0f
Lower atob required version to 2.1 ( #27114 )
...
This file doesn't use anything that needs 2.8
2018-07-09 10:01:01 -07:00