Commit Graph

54945 Commits

Author SHA1 Message Date
Hiroshi Ioka
f4e64e383a @types/async-busboy: add new package 2018-12-20 09:46:55 +09: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
Nathan Shively-Sanders
444ae0e622
Fix new lint failures (#31553) 2018-12-19 13:39:59 -08: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
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
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
Andres Kalle
ce45bccbfd nodegit: marked Index.getByPath() stage parameter as optional (#31503) 2018-12-19 10:14:57 -08:00
Carlos Precioso
2c6e021f06 Add filenamify-url (#31195)
* Add filenamify-url

* [filenamify-url] Add author name
2018-12-19 10:13:48 -08:00
Liam Ross
209bda9463 [node-polyglot] Fix t and locale overloads to allow optional arguments (#31522)
* Updated node-polyglot types

* bumped package version
2018-12-19 10:13:12 -08:00
denisname
1185d02265 Remove use of deprecated DsvRowAny (#31518) 2018-12-19 10:12:39 -08:00
Christian d'Heureuse
69ec048026 [node] fix parameter name of tls.connect() (#31494)
The callback parameter of `tls.connect(options[, callback])` is for the `secureConnect` event, not for the `secureConnection` event, and should therefore be named `secureConnectListener` instead of `secureConnectionListener`.
2018-12-19 10:11:12 -08:00
rostrowski
34486e7112 Made test, test.only and test.skip consistent (they should accept the same parameters). (#31462) 2018-12-19 10:10:39 -08:00
Bartosz
c6718d492b [expo] Add NotificationChannel functions from sdk 31 (#31463)
* [expo] Added notification channel functions

* Fix wrong parameter from previous commit

* [expo] remove Notification param that does not exist in docs

* Revert "[expo] remove Notification param that does not exist in docs"

Actually, this param exists in expoSDK code,
although it's not mentioned in docs.

This reverts commit 2dd2f5b55d07f313191fa43d40418cb7ec3ac0e0.
2018-12-19 10:00:14 -08:00
Nathan Shively-Sanders
fce9c60bb5
Merge pull request #31440 from simonbrunel/fix/chartjs-plugins
Allow plugins options augmentation for chart.js
2018-12-19 09:58:56 -08:00
Nathan Shively-Sanders
f91ee65bf4
Merge pull request #31366 from jottenlips/bugfix/ramda-includes-missing-#30917
[Ramda] includes missing #30917
2018-12-19 09:52:36 -08:00
Nathan Shively-Sanders
75deea3a91
Merge pull request #31380 from zimmi88/handlebarsUpdateParseParams
Update typings for handlebars: Add options param to parse
2018-12-19 09:48:06 -08:00
Nathan Shively-Sanders
78f902067a
Merge pull request #31387 from Epskampie/validator_isurl_disallow_auth
[validator] isURL: add disallow_auth
2018-12-19 09:33:04 -08:00
Toby Li
7c977f0285 fix typo 2018-12-19 17:32:12 +00:00
Nathan Shively-Sanders
d5117424eb
Merge pull request #31526 from TeamworkGuy2/master
[parents] Add parents@1.0.1 definition
2018-12-19 09:29:06 -08:00
Nathan Shively-Sanders
4185afa874
Merge pull request #31525 from ElizabethSamuel-MSFT/office-js-remove-attachmentid-char-limit
office-js, office-js-preview: Remove attachmentId char limit
2018-12-19 09:24:36 -08:00
Nathan Shively-Sanders
bb024da868
Merge pull request #31405 from tylerthehaas/master
fix type of highlightDates prop
2018-12-19 09:23:02 -08:00
Toby Li
13f7aabdbe added test for css property 2018-12-19 17:00:43 +00:00
Nathan Shively-Sanders
ef6b41521d
Merge pull request #31529 from mikepthomas/master
Create Type definitions for react-wow
2018-12-19 08:57:30 -08:00
Toby Li
db87a2eef5 change interface to type 2018-12-19 16:30:25 +00:00
Nathan Shively-Sanders
421fc6f982
Merge pull request #31547 from DefinitelyTyped/sandersn-trivial-edit-storybook
Trivial edit to storybook/add on-storyshots
2018-12-19 08:28:05 -08:00
Nathan Shively-Sanders
d80742fd7e
Trivial edit to storybook/add on-storyshots 2018-12-19 08:20:10 -08:00
Toby Li
854f3c193b Added css property to ConsoleFormattedStreamOptions 2018-12-19 15:21:28 +00:00
Eloy Durán
93d063e00e
Merge pull request #31466 from viventus/master
[react-native] Add nativeID on ViewProps
2018-12-19 14:38:25 +01:00
Edward Sammut Alessi
b1b453ab64 Types for jpeg-autorotate 2018-12-19 14:34:02 +01:00
Alexander Светлый
e039aa5083
Fix Transition usage example 2018-12-19 12:27:01 +03:00
Alessandro Vergani
89baaf0fe8 Add missing exported better-sqlite3 types
Fixes #20166
2018-12-19 09:21:44 +01:00
Mike Thomas
d3ced0a2cf
Create Type definitions for react-wow 2018-12-19 01:09:18 +00:00
Oscar Busk
097f86f865
Fix lint errors in jquery.bbq 2018-12-19 01:47:02 +01:00
Nathan Shively-Sanders
bc43dc9295
Merge pull request #31392 from QuentinBouygues/master
[AngularJS] Update Directive typings to allow type checking links with TS compiler's strict mode
2018-12-18 16:32:44 -08:00
Nathan Shively-Sanders
316ea9e823
Merge pull request #31311 from dalen/lambda-codepipeline-events
aws-lambda: Add CloudWatch events for CodePipeline
2018-12-18 16:30:17 -08:00
Oscar Busk
4f7d2f91d4
Replace angle-bracket-type-assertions with "as" assertion 2018-12-19 01:20:29 +01:00
TeamworkGuy2
69b5719e32 [parents] Add parents@1.0.1 definition 2018-12-19 00:02:08 +00:00
Elizabeth Samuel
e67858639d office-js, office-js-preview: Remove attachmentId char limit 2018-12-18 15:56:53 -08:00
Nathan Shively-Sanders
4e5fc36bc2
Merge pull request #30611 from Toilal/mem-fs-editor
[mem-fs-editor] Upgrade to 5.1 and export Editor interface
2018-12-18 15:35:14 -08:00
Nathan Shively-Sanders
7debbfc26b
Merge pull request #31270 from donatj/fix/ShowdownMakeMarkdown
Adds missing makeMarkdown to Showdown
2018-12-18 15:33:07 -08:00
Nathan Shively-Sanders
eab01caa91
Merge pull request #31513 from dsanders11/patch-2
[usb] Update type for transfer errors
2018-12-18 14:16:25 -08:00