Commit Graph
58941 Commits
Author SHA1 Message Date
Khyri Pathan 97b9901d98 Added null to ColumnSettings.data union type
Allows user to explicitly set value to null to allow for the special case documented here: https://datatables.net/reference/option/columns.data
2018-12-20 13:47:39 -05:00
Gabriel Castro 3fdd74a073 [bull] Add processedOn and finishedOn to Job (#31567) 2018-12-20 10:47:38 -08:00
anasufovic aac143fa6b fix incorrect mulitselect AttributeType XRM constant (#31531) 2018-12-20 10:10:38 -08:00
David Mihal f0ece96cd3 Add new properties and functions for ethereumjs-tx (#31409) 2018-12-20 08:27:50 -08:00
Jacob Evans e42357a571 [ganache-core] add db_path for specifying db directory (#31465) 2018-12-20 08:26:15 -08:00
Arthur Gunn 46c6018774 Meteor: Let the transform option in collection methods be set to null, fix linting errors. (#31530)
* Meteor: Let the transform option in collection methods be set to null.

* Fix `unnecessary-constructor` error.
2018-12-20 08:25:14 -08:00
Alessandro Mammana 27bb73f564 Sortablejs: add missing callback 'onClone' (#31542)
* Sortablejs: add missing callback

The callback onClone was missing from the typings even though it is part of Sortablejs 1.7

* Added two other missing callbacks

onChoose and onUnchoose were also missing. Funnily enough, onUnchoose is missing also from the official documentation. But it is still a valid callback that should be documented.
2018-12-20 08:23:52 -08:00
Krzysztof Żuraw c26b471d67 fix: fix type definitions for typography (#31544) 2018-12-20 08:22:52 -08:00
Stanislav Dzhus cbe1a82b47 [redis] Fix types for hmset and flushdb commands. Fix tslint callable-types error (#31550)
* [redis] fix type of result in callback for hmset and flushdb commands

* [redis] fix tslint callable-types error for RedisClient and Multi
2018-12-20 08:19:11 -08:00
Klaus Meinhardt b2716db969 js-yaml: use JSDoc instead of plain comments (#31549) 2018-12-20 08:16:56 -08:00
Phebe Sawan 2c11ef711e [auth0-js] Add passwordlessLogin to WebAuth for auth0 v9 (#31532)
* add passwordlessLogin to WebAuth

* remove trailing whitespaces from auth0.WebAuth

* Re-arrange the order of the PasswordlessLoginOptions properties to match the declaration in auth0
2018-12-20 08:16:17 -08:00
Daniel Cottone f56373cd3e Adding additional props to custom authorizer event (#31558) 2018-12-20 08:15:40 -08:00
adhrinae 81dec5c332 [@storybook/addon-backgrounds] Fix wrong version 2018-12-21 00:40:05 +09:00
Paul Sherman 826ce0f1ce Re-order T & C, E defaults to object 2018-12-20 09:30:03 -06:00
adhrinae c13ce38118 [@storybook/addon-backgrounds] Add withBackgrounds function type 2018-12-20 23:32:27 +09:00
Cyrus Smith bbfe8cbd41 Emitter factory does not require a base object 2018-12-20 12:27:53 +01:00
Jonathan Hobbs 34ee623559 add space after full stop 2018-12-20 11:22:11 +00:00
Jonathan Hobbs 11c0738956 fix writeString to have lowercase W
Official sources all identify this as `writeString` not `WriteString`.

- https://github.com/dcodeIO/bytebuffer.js/blob/master/dist/bytebuffer.js#L2153
- https://github.com/dcodeIO/bytebuffer.js/blob/master/dist/bytebuffer-node.js#L2014
- https://github.com/dcodeIO/bytebuffer.js/wiki/API#bytebufferwritestringstr-offset
2018-12-20 10:36:59 +00:00
Leon Radley c3798b953a [@types/aframe] Add AFRAME.utils.device
A-Frame has a utils.device package that has a bunch of device checks.

The source can be found here https://github.com/aframevr/aframe/blob/master/src/utils/device.js
2018-12-20 11:21:02 +01:00
Søren Bruus Frank e93e7d6d8d Fixed lint errors. 2018-12-20 08:14:10 +01:00
Jiajing Wang 97e6287fef Update venn-tests.ts 2018-12-19 17:28:29 -08:00
Jiajing Wang 76ffd421f3 Fix one of the typing, add a missing jsdoc. 2018-12-19 17:21:32 -08:00
Hiroshi Ioka f4e64e383a @types/async-busboy: add new package 2018-12-20 09:46:55 +09:00
Jeff Held cf27ea6211 Add definitions for react-native-read-more-text 2018-12-19 18:35:09 -06:00
steffenvv ffdeb117ad yargs: Infer types of parsed options (#31000)
* Updated typings for yargs, inferring the shape of the parsed arguments.

* Fix lint errors.

* Use $ExpectType, and add more tests.

* Updated comments.

* Slight improvement to alias, organize tests more systematically.

* Fix for count, more tests.

* More restructuring of tests.

* Handle optional vs. required options.

* Consistently use [key in ... for mapped types.

* Improve handling of arrays, defaulting to (string | number)[].

* More improvements to array/number/string handling, and use Omit to reset types for repeated options.

* More precise usage of Omit, fix ToString and ToNumber.

* Remove blank line, keeping the alias overloads in one group..

* Bump required TypeScript version in yargs-parser to match yargs, and adapt the Arguments type.

* Use ReadonlyArray for choices.
2018-12-19 16:18:48 -08:00
Jiajing Wang b1671d7abe Fix indentation 2018-12-19 14:36:52 -08:00
Jiajing Wang bfe96d7066 Add typings for venn.js 2018-12-19 14:26:59 -08:00
Nathan Shively-Sanders 42fdf759bb Round 1 of fixes 2018-12-19 14:09:24 -08:00
Mark Nelissen 7778bc7c82 add default value for CustomClaims 2018-12-19 22:55:42 +01:00
Cameron Martin bbc6a27c03 [@babel/traverse]: Allowed node aliases as keys in visitors.
This is made possible by https://github.com/babel/babel/pull/9110.

When the next version after v7.2.2 is released, the package.json can be updated and the build will no longer fail.
2018-12-19 21:49:05 +00:00
Nathan Shively-Sanders 444ae0e622 Fix new lint failures (#31553) 2018-12-19 13:39:59 -08:00
Oscar Busk e8e08f3ed1 Deprecate which property in jquery/v1 as well 2018-12-19 22:19:30 +01:00
Errietta Kostala 996c4a2f1f fix message.fromBinary (#31451)
* fix message.fromBinary

* move implementation to ts 3.2 and up only

* ts 3.2 definitions
2018-12-19 13:18:20 -08:00
Oscar Busk b25f5a08f5 Deprecate char, charCode, keyCOde in jquery/v1 as well 2018-12-19 22:13:13 +01:00
Oscar Busk c04b95b485 Add type to charand key in jquery/v1 2018-12-19 22:11:00 +01:00
Oscar Busk 9994b088c4 Deprecate char, charCode and keyCode in jquery/legacy.d.ts.
While the object itself is deprectade, it can be good to deprecate the properties aswell.
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/31303#discussion_r243018492
2018-12-19 22:09:54 +01:00
Nathan Shively-Sanders 50a61def14 Merge pull request #31401 from CalthorpeAnalytics/sinon-stubbed-resolves
Make sinon stubs' resolve() correctly type the return value
2018-12-19 13:03:08 -08:00
Oscar Busk e84be5f370 Merge branch 'master' of github.com:oBusk/DefinitelyTyped into fix-jquery-2-events 2018-12-19 21:59:38 +01:00
Mark Nelissen f5c3a17d81 fix linting errors 2018-12-19 21:36:05 +01:00
Mark Nelissen cda2acc501 generify custom claims 2018-12-19 21:20:16 +01:00
Nathan Shively-Sanders f30fe2ad18 Merge pull request #31546 from TobyLi96/browser-bunyan-css
[browser-bunyan] Added css property to ConsoleFormattedStreamOptions
2018-12-19 10:56:53 -08:00
Nathan Shively-Sanders 42c6f403a2 Merge pull request #31527 from oBusk/fix-jquery-errors
[jquery] Fix lint errors
2018-12-19 10:55:10 -08:00
Nathan Shively-Sanders b15c3a62c3 Merge pull request #31395 from CalthorpeAnalytics/sinon-stubbed-member-params
@types/sinon: stub out SinonStubbedMember, so createStubInstance types arguments and return values
2018-12-19 10:29:54 -08:00
Nathan Shively-Sanders c9d84dad85 Merge pull request #31393 from nkgrnkgr/master
Argument type for onSwatchHover is incorrect🐛  NG: Color , OK: ColorResult
2018-12-19 10:28:57 -08:00
Nathan Shively-Sanders fad1d20fe5 Merge pull request #31548 from MatiasOlivera/hotfix/type-case
[graphql-errors] Change type case to StudlyCase
2018-12-19 10:26:28 -08:00
Nathan Shively-Sanders aa91ccd564 Merge pull request #31541 from Slessi/jpeg-autorotate
Types for jpeg-autorotate
2018-12-19 10:25:50 -08:00
Nathan Shively-Sanders 5ed80bec10 Merge pull request #31536 from Loghorn/better-sqlite3-fix-20166
Add missing exported better-sqlite3 types
2018-12-19 10:18:33 -08:00
Nathan Shively-Sanders 159d4bf069 Merge pull request #31537 from ugg0t/master
Fix Transition usage example
2018-12-19 10:17:50 -08:00
Nathan Shively-Sanders d302c205ac js-yaml: fix types of LoadOptions and DumpOptions (#31450)
* js-yaml: fix types of LoadOptions and DumpOptions

* use tabs for indent

* switch back to singleline comments

* remove extra whitespace
2018-12-19 10:17:11 -08:00
Kenneth Skovhus 9414479976 [react-navigation] StackActions.popToTop optional argument (#31528) 2018-12-19 10:16:15 -08:00