Commit Graph
67585 Commits
Author SHA1 Message Date
Mark Lee 91c76accda webpack: add electron-preload to valid config targets (#42671)
Added in 4.33.0 (https://github.com/webpack/webpack/releases/tag/v4.33.0).

See also:
* https://github.com/webpack/webpack/pull/9188
* https://v4.webpack.js.org/configuration/target/#target
2020-02-27 11:14:35 -08:00
Igor Morozov eb7c8b9178 [amqp-connection-manager] Fix waitForConnect (#42677) 2020-02-27 11:12:06 -08:00
LBLZR_ 0e5b0ca685 [react-onsenui] Added AlertDialogButton (#42663)
https://onsen.io/v2/api/react/AlertDialogButton.html
2020-02-27 11:11:51 -08:00
Keith Kirton d440de8dfc feat(gremlin): Add hasNext and [Symbol.asyncIterator] to `… (#42672)
* Declare `hasNext` on `Traversal`

* Define `AsyncIterableIterator` for `Traversal`

Enables `for-await-of` use for query result iteration.
2020-02-27 11:10:58 -08:00
Stuart Knightley da41c3332b [yeoman-environment] Correct type for registerStub (#42636)
The code takes a constructor of type `Generator`, rather than an instance:

https://github.com/yeoman/environment/blob/36eb1a56a9205f6b524d8c554800de4d6d8d34fd/lib/environment.js#L343-L344
2020-02-27 10:29:41 -08:00
Radosław Miernik 05f5f20b1a Improved meteor/universe:i18n typings. (#42664)
* Improved meteor/universe:i18n typings.

* Added meteor/universe:i18n tests.

* Added meteor/universe:i18n author.

* Ran prettier on meteor/universe:i18n.

* Changed var to let in meteor/universe:i18n.
2020-02-27 10:29:17 -08:00
Artur Kenzhaev 2034c45ba9 feat(react): exclude number from keyof JSX.IntrinsicElements (#42282)
It's required to exclude `number` type from `keyof JSX.IntrinsicElements` because of the case when `JSX.IntrinsicElements` has some additional declarations with indexer type, for example

```
declare namespace JSX {
    interface IntrinsicElements extends JSX.IntrinsicElements {
        [name: string]: SomeJSXElementType;
    }
}
```
2020-02-27 10:22:22 -08:00
Nathan Shively-Sanders e7e259f3fe Make cache-manager tests strictNullChecks safe (#42686)
The new code in cache-manager wasn't strictNullChecks safe, which caused
problems because a community member enabled strictNullChecks in most
packages during the review period for that code.

This change just fixes the tests, although the optional methods on Store
are a bit suspicious. From skimming cache-manager's documentation, I
couldn't figure out if having the methods be optional was accurate.
2020-02-27 09:50:39 -08:00
Manuel Borrajo e1f3734de2 Add @types for ntlm-client (#42081)
* Add @types/ntlm-client

* Remove namespace

* Replace import for reference types
2020-02-26 15:40:25 -08:00
jwigley 9583dfad4a cache-manager: add store to Cache (#42554) 2020-02-26 15:37:33 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 7752c903f5 feat(xo): type definition for v0.26 (#42542)
* feat(xo): type definition for v0.26

- definition file
- tests

https://github.com/xojs/xo/#config

Thanks!

* Correct export details as per PR comment

/cc @sheetalkamat

* Add missing `getFormatter` function as per PR comment

- implementation
- tests

/cc @sheetalkamat
2020-02-26 15:36:40 -08:00
Jack Bates f740de01a3 Enable strictNullChecks 2/3 (#42650) 2020-02-26 15:01:31 -08:00
Juan Manuel Incaurgarat 415d664281 Added method definition for new method in SDK (#42476)
* Added method definition for new method in SDK

The method can be found in the official documentation under "Removing a Discount": https://shopify.github.io/js-buy-sdk/

* Removed "WIP" from header

As requested here https://github.com/DefinitelyTyped/DefinitelyTyped/pull/42476#pullrequestreview-362867622 by @PranavSenthilnathan

* Enabled dt-header as requested in PR

* Corrected version number to comply

1.11.0 to 1.11

* Removed empty space to fix: ERROR: no-trailing-whitespace
2020-02-26 15:01:13 -08:00
Piotr Błażejewicz (Peter Blazejewicz) d328f3b1d0 feat(find-cache-dir): update to v3.2 (#42550)
- v2 for backward compatibility
- migrate return type from `null` to `undefined`

https://github.com/avajs/find-cache-dir#readme

Thanks!
2020-02-26 12:56:35 -08:00
Glen M a9a04857c6 atom: improve support for v1.40 (#42660) 2020-02-26 12:55:55 -08:00
Elizabeth Samuel 1d809f95fe [office-js] [office-js-preview] (Outlook) Mailbox.restUrl should incl... (#42661)
* [office-js] [office-js-preview] (Outlook) Mailbox.restUrl should include link to SharedProperties.targetRestUrl for shared folders scenario

* Update based on feedback
2020-02-26 12:55:30 -08:00
Rafa Mel c33616ab8c Add combinations definition (#42655) 2020-02-26 11:56:10 -08:00
Takuma HANATANI 3beef91dde feat(vue-feather-icons): Add vue-feather-icons type definition (#42644) 2020-02-26 11:55:23 -08:00
Artur Nerkowski d0f343ecd2 carbone-1.2 typings (#42645) 2020-02-26 11:52:53 -08:00
Martin McWhorter ea796eec56 feat: add @commitlint/load (#42616)
* feat: add @commitlint/load

* fix: remove trailing comma in json

* fix: allow optional const enum

This const enum is not required for the definition to be useful.
2020-02-26 11:50:54 -08:00
Aaron Beall 2c629e1f09 Pendo.io - make visitor.id optional in initialize() (#42653)
* Added missing $filter overload

Added missing $filter overload that allows multiple strings to translate and returns an object

* Make visitor.id optional

* Update tests

* Doc typo
2020-02-26 11:37:31 -08:00
Elizabeth Samuel efd0ce7e42 [office-js] [office-js-preview] Add documentation for Coercion… (#42658) 2020-02-26 11:36:52 -08:00
Julian Hundeloh f6e3b3cdc6 [bull] fix: add missing low level methods (#42647)
* fix: add multi and toKey methods

* fix: return pipeline without promise

* test: add test

* style: fix lint
2020-02-26 11:36:37 -08:00
Dylan Smith fc6d7fec6e [newrelic] adds waitForIdle option to #shutdown (#42643)
* [newrelic] adds waitForIdle option to #shutdown

* add contributor note
2020-02-26 11:34:39 -08:00
Simen Bekkhus d2cb704742 [node-notifier]: add timeout: false option (#42303) 2020-02-26 11:34:24 -08:00
Marcell Toth cd414cbf2f parse-prefer-header: More specific typings (#42642)
* parse-prefer-header: Allow null or undefined input

* parse-prefer-header: More explicit return value typing

* parse-prefer-header: amend contributor list

* parse-prefer-header: Support ReadonlyArray argument

* parse-prefer-header: Add separate tests for Array and ReadonlyArray
2020-02-26 11:33:49 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 92a3a4061b feat(@blazor/javascript-interop): type definition for Blazor i… (#42392)
- type definition based on @microsoft/dotnet-js-interop
- tests

See: dotnet/aspnetcore#18902
/cc @ryanelian @mkArtakMSFT

Thanks!
2020-02-26 11:33:12 -08:00
Baptist BENOIST d21c7d4e88 feat(simpl-schema): Export additional interfaces (#42536)
So that we can reuse them when declaring SimpleSchema arguments...
2020-02-26 11:31:53 -08:00
Oliver Welter 0483fe5ea4 [react-native-app-intro-slider] - Use type ViewStyle for prope… (#42641)
* Changes type of buttonStyle and paginationStyle to ViewStyle

* Remove obsolete type import

* Update definitions by section
2020-02-26 11:31:33 -08:00
David Hearnden 4dab2b15db fix(rsocket-flowable): makes Single.error() generic (#42584)
* fix(rsocket-flowable): makes Single.error() generic

* use never instead

* .

* .
2020-02-26 11:30:30 -08:00
Igor Morozov 893808c78d [amqp-connection-manager] add waitForConnect (#42639)
* add waitForConnect

* remove trailing whitespace
2020-02-26 11:30:05 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 25d21d08d7 feat(svgo): added missing plugins definition (#42533)
- `prefixIds` corrected
- `sortDefsChildren` added
- `convertEllipseToCircle` added
- tests updated with plugins tests

https://github.com/svg/svgo/releases/tag/v1.3.0

Thanks!
2020-02-26 11:29:45 -08:00
Justin Leider 080aa0845b react-flatpickr add underlying flatpickr instance property (#42620) 2020-02-26 11:29:02 -08:00
trumanshuck 8f9dbc069a Add Slider component to types and test (#42409)
* Add Slider component to types and test

* Use correct syntax for adding definition authors
2020-02-26 11:28:01 -08:00
Nathan Shively-Sanders 6dea6cc5ce workbox-sw/v3: increase minimum version of TS to 3.0 (#42628)
Dependencies of workbox-sw v3 use types that are only defined in TS 3.0
and above.
2020-02-26 11:26:52 -08:00
Veniamin Krol f17491e0d0 Change return value type of grecaptcha.execute from Promise to PromiseLike (#42635) 2020-02-26 11:25:53 -08:00
Kyle Tsang 99390d9e77 [reactstrap]: Export Util.setGlobalCssModule (#42489)
* [reactstrap]: Export Util.setGlobalCssModule

* [reactstrap]: Rename utils file
2020-02-26 11:16:29 -08:00
Rico Sandyca Novenza 9eb18e51e1 add @types/stopword (#42588)
* Add stopword type definitions

Project: https://github.com/fergiemcdowall/stopword

* add @types/stopword

* Fix blank after '{'

* Add type comments and fix rule's code

* Fix lint's rule

* Fix return value of removeStopword's function

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2020-02-26 11:15:39 -08:00
Donatas Lučiūnas 9ea0a3f8a2 Fixed bug (#42435) 2020-02-26 11:15:04 -08:00
Nathan Shively-Sanders 9ee63c9d51 Fix nodemailer tests on TS 3.4 and below (#42626)
The tests use Array.include, which is not available in Typescript before
3.5. I rewrote them to use Array.indexOf instead.
2020-02-26 08:32:20 -08:00
Felipe Castillo ee15287fd6 Update for evernote v2.0.5 (#42291)
* Update for evernote v2.0.5

* Better types for evernote
2020-02-25 17:14:48 -08:00
Leonardo Testa ed66eee143 [Faker] Remove non-existent methods (#42506)
* Update index.d.ts

* fix tests

* remove creditCardCVV method

* add missing space
2020-02-25 17:05:14 -08:00
Eric Cornelissen 24f2f2e8cb Add types for simple-icons (#42541)
* Create types for [simple-icons]

* Add missing final newline

* Update CODEOWNERS

* Revert a53398139f1a05eba5acbc2c085ad8b5fce705f4

* Use `export =` instead of `export default`

as suggested by @PranavSenthilnathan

* fix lint errors
2020-02-25 17:03:31 -08:00
Avi Vahl 7b0f347124 css-selector-tokenizer: add types and tests (#42561)
* css-selector-tokenizer: add types and tests

* correct lint errors
apparently, the IDE's tslint extension does not report dtslint's output. my bad.

* Correct typo in tests
2020-02-25 16:57:32 -08:00
Vincenzo Chianese 758bb95008 Add parse-prefer-header definition (#42615)
* add new type definition

* add information comments

* properly generate the files

* address feedback

* correct the package name
2020-02-25 16:54:13 -08:00
Piotr Błażejewicz (Peter Blazejewicz) d309380a9d feat(karma-browserify): type definitions for v7.0 (#42599)
- definition file
- tests to cover options for Browserify and Watchify

https://github.com/nikku/karma-browserify#readme

Thanks!
2020-02-25 16:50:29 -08:00
Tomasz Pluskiewicz 72aaaaba0b feat: types for @rdfjs/dataset (#42607) 2020-02-25 16:48:19 -08:00
Tom B 71f3a59bbb Fix js-cookie types (#42483)
* Update js-cookie types

Calls to set return a string or undefined, not void, as seen here:
https://github.com/js-cookie/js-cookie/blob/master/src/api.mjs#L7
https://github.com/js-cookie/js-cookie/blob/master/src/api.mjs#L47

* Update js-cookie tests
2020-02-25 16:40:03 -08:00
Piotr Błażejewicz (Peter Blazejewicz) 4872b8c4d6 Update webpack-dev-middleware to 3.7 (#42573)
* feat(webpack-dev-middleware): update to v3.7

- v2 created
- update configuration options to v3.7

https://github.com/webpack/webpack-dev-middleware/tree/v3.7.2#options

Thanks!

* fix(webpack-serve): fix v1 tests errors

- `The types of 'dev.logLevel' are incompatible between these types`
- `Types of property 'dev' are incompatible`

Required to pass test for `webpack-dev-middleware` changes
2020-02-25 16:38:38 -08:00
Juan Pablo Vargas c8fe490b89 add new types for loadable/server 5.12 (#42590)
* add types for loadable/server 5.12

* add types for loadable/server 5.12

* fix: change definition according to cr

* fix: add test definitions
2020-02-25 16:37:11 -08:00