Commit Graph
67507 Commits
Author SHA1 Message Date
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
jony89 cf1f3f92d4 fix: add postUpdate method (#42608) 2020-02-25 10:40:20 -08:00
Elizabeth Samuel 71a24e8345 [office-js] [office-js-preview] (Outlook) REST scope for getCallbackTokenAsync (#42622) 2020-02-25 10:40:08 -08:00
Anders Hejlsberg 552fe474c9 Prepare for TS #36696 (#42619) 2020-02-25 10:38:03 -08:00
Nathan Shively-Sanders e7edc7c479 Set min TS version of googlemaps dependents to 3.0 (#42605) 2020-02-24 16:27:06 -08:00
Elizabeth Samuel 8550272d7a [office-js] [office-js-preview] (Outlook) Update Outlook links (#42531) 2020-02-24 16:17:48 -08:00
Elizabeth Samuel bab6c02dce [office-js-preview] (Addin) Update param info (#42546) 2020-02-24 16:17:22 -08:00
Haseeb Majid b0fc21acbc Updating react-typing-animation (#42564)
* Added React Native Share Extension

* Fixed Linting Issues

Fixed linting issues, added tests.

* Fixed other linting issues

Data returns a promise.

* Removed Public from state

Removed public from state.

* Added react-typing-animation

Added react-typing-animation.

* Updated react-typing-animation

Updated the react-typing-animation definitions
with the extra components such as delay, backspace.

* Fix small typo in react-typing-animation

Fixed small typo where onFinishedType should be
onFinishedTyping.

* Functions should return void

Functions in `Typing` should return void not `{}`.
2020-02-24 16:17:02 -08:00
Piotr Błażejewicz (Peter Blazejewicz) f3c1059da6 feat(karma): update to v4.4 (#42567)
* feat(karma): update to v4.4

- backward compatible v3 created
- new properties from v4 for karma.ConfigOptions
- new properties from v4 for karma.ClientOptions
- added new interfaces for v4 properties
- rewritten definitions for `plugins` and `files` to support documented
usage in v4 (new `type` in file patters, different ways of using
`plugins` in configuration)
- export default list of automated Karma browsers
- export default list of default Karma file types

https://github.com/karma-runner/karma/blob/master/docs/config/01-configuration-file.md
https://github.com/karma-runner/karma/blob/master/docs/config/02-files.md
https://github.com/karma-runner/karma/blob/master/docs/config/03-browsers.md
https://github.com/karma-runner/karma/blob/master/docs/config/05-plugins.md

Thanks!

* Change properties types as per PR comment

* Redefine plugins types as per PR comment

/cc @devoto13
2020-02-24 16:16:40 -08:00
Simcha Wood b9872c77c4 [@types/hapi__joi] Add "not" key to WhenOptions (#42570) 2020-02-24 16:16:03 -08:00
Mochamad Arifin 2ca3bb4ece Remove My Name (#42578)
* Remove my name

I have no time to contribute

* Remove my name

No time to contribute
2020-02-24 16:15:32 -08:00
Dmytro Gokun 70a3a58a5d [mapbox-gl] Update mapbox-gl to v1.8.0 (#42583) 2020-02-24 16:15:01 -08:00
Paulo Soares 8581ec7d95 [@types/gremlin] Add missing methods to DriverRemoteConnection (#42514)
* [@types/gremlin] Run prettier

* [@types/gremlin] Add listener functions to DriverRemoteConnection

* [@types/gremlin] use symbol and fix callback args

* Revert "[@types/gremlin] Run prettier"
Move tests to constructor
2020-02-24 16:13:40 -08:00
Darren Shen f34693c881 chrome: Replace chrome accessibility features with ChromeSetti… (#42501)
* Replace chrome accessibility features with ChromeSetting.

* Add comments and missing APIs
2020-02-24 16:13:16 -08:00