Commit Graph
67481 Commits
Author SHA1 Message Date
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
chrbala 09dec0bcda Moo lexer.reset returns a reference to the Lexer instance (#42587) 2020-02-24 16:12:45 -08:00
Allan Pope 636c3e9cbd Remove theme ui color (#42585)
* remove package

* types
2020-02-24 16:12:30 -08:00
Chris Krycho 59679b5aeb [@ember/routing] Support more transitionTo invocations (#42589)
The `transitionTo` method on both the router service and routes takes
"model" arguments in the form of either an object (which will be
resolved as the actual model) or a `string | number` identifier (which
will be used to look up the model from the store). Add tests to cover
the behavior on both, and add types for `Route.transitionTo` via
overrides (replacing the previous spread approach for consistency).
2020-02-24 16:12:09 -08:00
Sanders DeNardiandSanders DeNardi 232d19d1dd Braintree: fix merchant account member and types, add gateway… (#42552)
* fix: correct merchant gateway field name and create fields

* fix: add gateway helper function

* remove extraneous field

* add separate request and response interfaces for individual and business merchants

* remove status from request interfaces

* add gateway function helper to tests

Co-authored-by: Sanders DeNardi <35534812+sdenardi@users.noreply.github.com>
2020-02-24 16:11:14 -08:00
Alexis Tyler 7da30d6637 [Node fetch] Allow body to accept FormData (#42565)
* Add FormData import

* Add form-data dep

* Add FormData to BodyInit type
2020-02-24 16:10:02 -08:00
Marc Woolfson 1c21ecb184 Incorrect casing on unCheckedImage prop in CheckBoxProps f… (#42595) 2020-02-24 16:09:13 -08:00
zizik b63a40b9e5 [@types/leaflet] Add clone() to LatLng (#42571)
* feat: Add clone() to LatLng

* feat: Add LatLng.clone() test
2020-02-24 16:08:53 -08:00
Sam Burba 82cfe5d077 [react-transition-group] Make timeout optional if addEndListen… (#42596)
The timeout parameter is optional if the addEventListener
parameter is specified
2020-02-24 16:08:31 -08:00
Simon Hänisch 2dc0f43b3d fix(koa): return type of callback method (#42551) 2020-02-24 16:06:42 -08:00
Gabriela Araujo Britto e980ea529f Update tslint configs (#42555)
* Update tslint configs

* Update npm-naming configs

* Fix some configs

#no-publishing-comment
2020-02-24 16:06:03 -08:00
Nathan Shively-Sanders 58f3f0e713 Call uncalled function in d3-selection tests (#42592)
typescript@next has better detection of boolean checks on uncalled
functions. This caught an error in d3-selection's tests.
2020-02-24 08:43:46 -08:00
Jesse Katsumata 98974cc1f6 react-native: add onAccessibilityEscape prop (#42562)
* react-native: add onAccessibilityEscape prop

* react-native: reorder props

* chore: apply lint to tests
2020-02-24 14:16:45 +01:00
Michael Mase e32d4f0292 [jquery]: add to AjaxSettingsBase (#42484) 2020-02-23 08:48:32 +00:00
Piotr Błażejewicz (Peter Blazejewicz) dea60ec84b feat(update-notifier): update to v4.1 (#42540)
- create v2 for compatibility
- update API according to release notes:
- `callback` option removed
- `fetchInfo` method added
- remove `checkNpm` method
- `boxenOptions` renamed
- `distTag` option added
- deprecate `packageName` and `packageVersion`
- enumerate update info types

Thanks!
2020-02-21 18:21:11 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 7da9c6129d feat(html-minifier-terser): type definition for v5 (#42553)
- definition files
- tests

https://danielruf.github.io/html-minifier-terser/
https://github.com/DanielRuf/html-minifier-terser/blob/master/README.md

Thanks!
2020-02-21 18:12:36 -08:00
Tiger Oakes b905dae55c Add es-module-lexer (#42556) 2020-02-21 18:10:47 -08:00
TypeScript Bot 7814cd5a78 Update CODEOWNERS (#42547) 2020-02-21 18:07:40 -08:00
Julius Lungys 22a48822fe Add definitions for apple-signin-api (#42454)
* Add definitions for apple-signin-api

* change signInResponse user to be optional
apple returns user object only on first login

* update to 1.4.1 version
2020-02-21 18:06:42 -08:00
Remco Haszing 9b9aed92fe Add types for @sinonjs/fake-timers (#42535) 2020-02-21 16:53:25 -08:00
Piotr Błażejewicz (Peter Blazejewicz) a0ae0414e9 feat(mini-html-webpack-plugin): definition for v2.2 (#42530)
- type definitions
- tests

https://github.com/styleguidist/mini-html-webpack-plugin#readme
https://www.npmjs.com/package/mini-html-webpack-plugin

Thanks!
2020-02-21 16:51:58 -08:00
ExE Boss 3dee137d82 fix(mocha‑sugar‑free): Correct Options type (#42532) 2020-02-21 12:12:43 -08:00
Avery Fay d0cae85700 register must be a function (use Plugin type from @hapi/hapi for consistency) (#42402) 2020-02-21 12:06:11 -08:00
Ryan Morris a0baa6bde3 [@types/leaflet.gridlayer.googlemutant] add GoogleLayer methods to GoogleMutant interface (#42389)
* addGoogleLayer and removeGoogleLayer

* prettier
2020-02-21 12:03:09 -08:00
mishka251 13a134561d Fixed flowjs ts3.1 event handlers types and TS2306 error (#42470)
* fix typo/copy-paste error in flowjs

* Fix Error TS2306 ("flowjs/index.d.ts not a module") in flowjs/ts3.1

* fix linter
2020-02-21 11:53:42 -08:00
Simon Buchan 1833099f50 [aws-lambda] Add protocol to APIGatewayRequestContext. (#42419)
Fixes #42049.

No decent docs from AWS for the actual proxy integration, on the
Lambda side or the API Gateway side, but there's an approximation on
the API Gateway docs for the VTL $context variable:

https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference

From experimentation, not all of the variables referenced above exist,
at least most of the time, but everything except the `protocol` that
was present in what I received already existed.
2020-02-21 11:42:57 -08:00
Michael Adams 4376032d36 [plotly.js] - Fix Gauge chart optional parameters. (#42384) 2020-02-21 11:39:53 -08:00