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
ikokostya
03eede6951
[got] Allow primitive types in JSON body for POST requests ( #27109 )
2018-07-06 14:24:26 -07:00
Alex Jerabek
2aad925037
Adding run<T> overload remarks ( #27115 )
2018-07-06 14:24:04 -07:00
Andrey Tselishchev
eb735f86b6
Update [@types/bson] to match js-bson@1.0.6 ( #27098 )
...
* [@types/bson] Updated BSON class definitions
* Updated BSON.serialize (changed the way how options are passed)
* Updated BSON.deserialize (added missing options, removed `isArray` argument)
* Added BSON.serializeWithBufferAndIndex
* Added BSON.deserializeStream
* [@types/bson] Updated BSON types
* Binary: Made static constants 'readonly', added comments
* ObjectID: 'equals' can accept string, added comments
* Code, DBRef, Double, Decimal128, MaxKey, MinKey, ObjectID, BSONRegExp, Symbol: Added comments
* [@types/bson] Updated Long & Timestamp BSON types
* In original js-node@1.0.x code 'Timestamp' is a 100% copy-paste of 'Long'
with 'Long' replaced by 'Timestamp' (changed to inheritance in js-node@2.0.0).
Do avoid duplication in typings a base class 'LongLike' was introduced and both 'Long'
and 'Timestamp' are inherited from 'LongLike'.
* Made static constants 'readonly', fixed return-type for greaterThan and greaterThanOrEqual
(boolean), renamed argument for shiftLeft, shiftRight, shiftRightUnsigned, added comments
* [@types/bson] Changed header version number to 1.0.6
2018-07-06 11:55:43 -07:00
Matt Welke
2ae9025f50
Fixed Bucket.combine method type in @types/google-cloud__storage ( #27105 )
...
* Fixed Bucket.combine method type.
* Add name to definitions by comment, per readme instructions.
* Bump version in header, per PR template instructions.
* Fix brainfart.
2018-07-06 11:52:07 -07:00
Francisco Álvarez
d7b48c9034
Fix @types/jest-each. It needs to export JestEach as default ( #27061 )
...
* Update index.d.ts
* Update jest-each-tests.ts
* use `import each from "jest-each";`
2018-07-06 10:54:15 -07:00
Brian Donovan
5b02b39251
Use void instead of undefined to represent lack of value. ( #27106 )
...
Using undefined means async functions must have a `return undefined;` rather than omitting the return value altogether, as would be the most natural thing to do in such functions.
2018-07-06 10:31:37 -07:00