Commit Graph
67520 Commits
Author SHA1 Message Date
Kevin Sołtysiak aa2969e512 [stripe-v3] add missing mandate argument to createSource (#41924)
* [stripe-v3] add missing mandate argument to createSource

* [stripe-v3] Typo + test organization
2020-02-25 14:01:14 -08:00
翁炜煜 2489dff03e Adding support for uikit v3 (#42038)
* Adding support for uikit v3

* cleanup

* cleanup

* fix typescript minimum version
2020-02-25 14:00:51 -08:00
Tom Armstrong 7e6bd27590 react-dates: Add missing horizontalMonthPadding prop. (#42257) 2020-02-25 13:51:33 -08:00
Lionel e40242d405 [node-xlsx] Support node-xlsx 0.15.0 (#42260) 2020-02-25 13:51:00 -08:00
Steve ae9798b78c ember object: fix filter and sort functions (#42281)
* fix filter and sort functions

* fix array type

* fix whitespace
2020-02-25 13:50:42 -08:00
Noah Santschi-Cooney 105c5e3454 Added missing emitParticle and d3ReheatSimulation methods to f… (#38938)
* Added missing emitParticle and d3ReheatSimulation methods to force-graph

* Added type tests for missing forcegraph methods
2020-02-25 13:27:48 -08:00
Saransh Kataria c390759b3d fixes #36454, added properties to stripe API (#39127)
* updated stripe api properties

* resolving merge conflicts

* removing trailing whitespace

* removed spaces
2020-02-25 13:25:18 -08:00
Filippo Sarzana 2e90767d69 feat(asana): add 'addTask' method to Sections interface as per… (#40632)
* feat(asana): add 'addTask' method to Sections interface as per asana@0.17.3

* fix: remove duplicated jsdoc and fix formatting
2020-02-25 13:23:26 -08:00
Pascal Jordin f2b13c908d feat: Add dialogflow-fulfillment (#40701)
* feat: Add dialogflow-fulfillment

* fix: typo in enum name
2020-02-25 13:22:22 -08:00
did0es 33b2966298 Fix vivus (#40964)
* fix: edited types of vivus for avoiding errors of HTMLElement

* fix: edited types of vivus for avoiding errors of HTMLElement

* fix: edited types of vivus for avoiding errors of HTMLElement

* fix: targeted vivus v0.4.0 for lint
2020-02-25 13:14:21 -08:00
Kindy LinandOrta 635c87bdea Add type definitions for d3-require (#36102)
* Add type definitions for d3-require

* d3-require: fix lint issue

* d3-require: export as namespace d3

* Revert "d3-require: export as namespace d3"

This reverts commit b970c3d2534df302133ab7a16b4c28ab27e0f702.

as this may conflict with d3 module.

* Update tslint.json

Co-authored-by: Orta <orta.therox+github@gmail.com>
2020-02-25 13:09:55 -08:00
Daniel Melcer b2ff010b24 twig: Added overload to Template.render when allow_async=false (#42593)
* Added overload to twig Template.render when allow_async=false

* twig: added test to demonstrate behavior with allow_async

* twig: added test with unknown boolean

* twig: fixed whitespace
2020-02-25 12:58:13 -08:00
Jack Bates 8fb86da992 Unwrap promises (#42575) 2020-02-25 12:57:29 -08:00
Nathan Shively-Sanders 96183e970d Increase minimum TS version: (#42627)
1. Dependencies of dts-generator use syntax from TS 3.4 (`as const`
perhaps?)
2. Dependencies of mongoose-sequence use `unknown` from TS 3.0.
2020-02-25 12:49:53 -08:00
Thermod 040be0b1cc Add types for sm-crypto (#42594)
* Add types for sm-crypto

* fix Definitions comment in index.d.ts
2020-02-25 12:49:07 -08:00
Michal Kijowski 6f13c3cbd3 [random] Make params optional and add jsdoc (#42527) 2020-02-25 12:46:34 -08:00
Nikita Balikhin 0a41f2e95c Ramda propEq better typesafety (#42381) 2020-02-25 12:36:57 -08:00
Brian Armstrong a2ef096f8f Add return type to webpack-hot-client default function (#42413) 2020-02-25 12:35:58 -08:00
wolfy1339 e3368f2e55 [@types/workbox-webpack-plugin] Update to v5 (#42444)
* Rename GenerateSWOptions.navigateFallbackBlackist to navigateFallbackDenylist

* Rename navigateFallbackWhitelist to navigateFallbackAllowlist

* Remove importWorkboxFrom option
2020-02-25 12:33:56 -08:00
Noam Alffasy 2e1a270cc4 [@types/localtunnel] Updated to v2 (#42451) 2020-02-25 12:31:36 -08:00
Aankhen a69707ec6c yargs: fix and use type of builder in command (#42458)
* fix(yargs): use return type of `builder` parameter to `command`

* fix(yargs): allow `builder` parameter to `command` to return Promise
2020-02-25 12:23:55 -08:00
Maurício Cunico f0bedc9acb [@types/sdp-transform] fix incorrect types (#42278) (#42606)
MediaAttributes.rtcpFb and MediaAttributes.rtcpFbTrrInt were changed to arrays.
2020-02-25 12:22:03 -08:00
Alan Lu 7e3a522b38 [contract-proxy-kit] Widen operations field type for execTrans… (#42625) 2020-02-25 12:14:36 -08:00
Matthew Hintzke 4a57dd6b1d Updated @types/datadog-winston module import methodology to fi… (#42462) 2020-02-25 11:06:33 -08:00
Jeremy Apthorp 4eec34536e bonjour: removeAllListeners doesn't require an argument (#42464) 2020-02-25 11:06:00 -08:00
Blas Sackmann 228aa4cae6 Declare hasPermission method on keycloak-connect package (#42490) 2020-02-25 11:05:17 -08:00
Simen Bekkhus e457757451 [@babel/core]: add supportsDynamicImport (#42475) 2020-02-25 11:04:38 -08:00
Dimitri Mitropoulos 20974d99c4 [react-input-autosize] adds copyInputStyles method type (#42467)
https://github.com/JedWatson/react-input-autosize/blob/0aa6225fb4ae4e30d51a23f75b36b15e709efdd0/src/AutosizeInput.js#L89
2020-02-25 11:04:18 -08:00
Bartosz Wojtkowiak edb3451e45 ws: fix contructor definition (#42494)
* Update index.d.ts

* Update ws-tests.ts

* Update index.d.ts
2020-02-25 11:02:44 -08:00
Michael Mitchell a6c082f346 [hosted-git-info] Update types for 3.0 (#42499)
Not exactly sure where the original author got `host` from but from what I can
see it's always been `type`.

Also remove `fromUrl` from the class as it's not actually a part of the class
2020-02-25 11:02:14 -08:00
koooge c0824717e9 cron: Allow null onComplete() callback (#42504)
Signed-off-by: koooge <koooooge@gmail.com>
2020-02-25 11:00:19 -08:00
indie22 1efccbba79 [@types/tryghost__content-api] Fix filter parameter for browsi… (#42516)
As mentionned in the Ghost content API documentation https://ghost.org/docs/api/v3/javascript/filtering/ , the parameter is "filter" and not "filters"
2020-02-25 11:00:01 -08:00
Jeremy Apthorp 4c8ea29856 bonjour: add missing options (#42524) 2020-02-25 10:59:35 -08:00
Nicolas Morel 1d7c9d2ee0 [pdfmake] Include lib dom as a reference (#42521) 2020-02-25 10:59:15 -08:00
Dimitri Mitropoulos d2331addb4 [react] adds RefCallback type (#42482) 2020-02-25 10:57:12 -08:00
Paweł Maciejewski 6c72e76f43 fix(react-wait): add missing v0.3 definitions (#42545)
* fix(react-wait): add missing createWaitingContext and waiters definitions

* fix: missing semicolons
2020-02-25 10:54:28 -08:00
Juang, Yi-Lin 9ba593e80e [react-native-indicators] add missing types (#42566) 2020-02-25 10:54:10 -08:00
Piotr Błażejewicz (Peter Blazejewicz) d57568f91e fix(archive): types for ZipEntryData and TarEntryData (#42574)
- correct EntryData `name` property (always required)
- add Zip*/Tar* entry data subtypes
- provide a way to use EntryData `name` as optional - as required by the
Archiver.directory(...) definition and usage in package
- update version
- minor code clenaup via Prettier

Fixes: 42572

/cc @iherman

Thanks!
2020-02-25 10:52:52 -08:00
OhYeeandSebastian Silbermann b18511bbea [@types/react] Add referrerPolicy to img attrs in React (#42568)
* [@types/react] Add referrerPolicy to img attrs in React

* Update types/react/index.d.ts

Co-Authored-By: Sebastian Silbermann <silbermann.sebastian@gmail.com>

Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2020-02-25 10:52:31 -08:00
Jan T. Sott 42e276d3d4 atom: add missing methods (#42549)
* atom: add missing methods

* fix linter errors

* fix linter errors

* fix linter errors

* fix jsdoc format

* fix jsdoc format

* fix jsdoc format

* fix return type of displayWindow()

* make getWindowDomensions() return types optional

* bump version occurances

* fix *WindowDimension types

* split arguments over lines
2020-02-25 10:51:52 -08:00
Robert Kiel 64390ed59e Correct argument order for secp256k1 API v4.0 (#42559)
Change argument order for `verify` and `recover` to meet API v4.0

See https://github.com/cryptocoinjs/secp256k1-node/blob/master/API.md for more details
2020-02-25 10:51:25 -08:00
Steve Dignam 6dd7b4f116 add(mustache): better mustache.parse return type (#42468)
* add(mustache): better mustache.parse return type

Currently mustache.parse has `any` as its return type which is more
permissive than necessary.

I've ran though the mustache docs to create some test cases for the return
types:

https://mustache.github.io/mustache.5.html

and the test cases:

https://runkit.com/sbdchd/5e4bf8f70a83de0014e082ed

I also did a partial conversion of mustache.mjs to typescript to figure
out the return types:

https://gist.github.com/sbdchd/449c409648fd4c5120386bbc3fc683f2#file-mustache-ts-L113-L277

So I think this return types should be accurate.

Note that since this is a recursive type we need to set the minimum
version in the index.d.ts header otherwise the linter complains.

* bump: node-vault required typescript version

* update(mustache): name variants in mustache.parse return type

Use the mustache terminology for its variants instead of only using the
values.

https://github.com/janl/mustache.js/blob/aca97b82c80e8fd1d36162e05e4b289380965d96/mustache.mjs#L560-L565
2020-02-25 10:51:05 -08:00
Cristian Greco 409cc43910 dockerode: Add Health to ContainerInspectInfo.State (#42548)
* dockerode: Add Health to ContainerInspectInfo.State

* Update index.d.ts

* Add FailingStreak and Log to Health object
2020-02-25 10:50:43 -08:00
ExE Boss 159238d66d feat(node): Add back support for TypeScript 3.2 (#42500)
* feat(node): Add back support for TypeScript 3.2

* fix(node): Fix `typesVersions`

* fix(node/ts3.2): Fix TypeScript version comments
2020-02-25 10:50:23 -08:00
Elizabeth Samuel 84a698b171 [office-js] [office-js-preview] (Outlook) Link to article show… (#42621) 2020-02-25 10:48:24 -08:00
Meriadec Pillet b28199c24c fix(theme-ui): accept string type in Grid "columns" property (#42598) 2020-02-25 10:44:00 -08:00
Blue SpiderandAzoson a548fb361a update customKeys and extraKeys attribute for showHintOptions (#42487)
* update customKeys and extraKeys attribute for showHintOptions

* support string type for customKeys and extraKeys

* support string type for extraKeys

Co-Authored-By: Azoson <haphazardgermmaker@gmail.com>

* support string type for extraKeys

Co-Authored-By: Azoson <haphazardgermmaker@gmail.com>

Co-authored-by: Azoson <haphazardgermmaker@gmail.com>
2020-02-25 10:43:48 -08:00
Siwakorn Sittilerdpaisal a96ed78c73 [IORedis] - Reorder params on zrevrangebyscore (#42538)
* Reorder params on `zrevrangebyscore`

* remove trailing whitespace
2020-02-25 10:42:38 -08:00
Christoph Tavan bdeaf0677a Update to uuid@v7.x (#42438)
* Keep types of old major version in v3/ folder

This is a preparation for upgrade to the new latest major version
uuid@v7.x.

* Update uuid types to v7.0.0

A new major version of uuid has been released as v7.0.0 which includes
slight changes to the API surface.

This also adds types for Version 3 UUIDs for the sake of completeness
(so far only Versions 1,4,5 were had types).
2020-02-25 10:42:02 -08:00
Rich Hodgkins c0e3011b22 [sinon] Added signature for assert.calledOnceWithExactly (#42569) 2020-02-25 10:40:56 -08:00