Commit Graph
60689 Commits
Author SHA1 Message Date
Leonardo Donelli 2d7eecfb00 Add strophejs-plugin-roster type declarations (#34229)
* Add strophejs-plugin-roster type declarations

* Linting fixes

* Add typescript version, same as strophe.js
2019-03-29 20:43:39 -07:00
Rafael Milewski 61862404d4 Add missing Fix: option to stylelint (#34089)
Reference: https://stylelint.io/user-guide/node-api/#fix
2019-03-29 20:39:07 -07:00
Junyoung Choi 885509df73 Add gtag.js type definitions (#34020)
* Add gtag.js type definitions

* Fix type definition header of gtag.js
2019-03-29 20:34:35 -07:00
Junyoung Choi 5afa9902c6 Add uslug (#34054)
* Add uslug type definitions

* Fix header of uslug
2019-03-29 20:27:46 -07:00
Hyeonsoo David Lee 62b83bada6 [utm] Add new definitions for utm (#34216)
* [utm] Add new definitions for utm

* add 'strictFunctionTypes' in tsconfig.json

* What the...
2019-03-29 20:17:55 -07:00
Shubham Kanodia 95d0278f0e Added types for omit-empty (#34178)
* Added types for omit-empty

* Used dt-gen to regenerate types

* Added strictFunctionTypes flag

* Removed patch version

* Fixed some lint errors

* Fixed more lint errors
2019-03-29 20:13:04 -07:00
cooljeffro 475e3810b6 [@types/sequelize] Fix for findOrBuild, findOrCreate 'where' attributes (#34037)
When using findOrBuild or findOrCreate, the 'where' option does not have any typing information for attributes available on the Model.

Other find methods provide typing for 'where' (findOne, findAll).
2019-03-29 19:53:06 -07:00
otofu-square 98906728d1 Add definitions for react-virtualized-auto-sizer (#34187) 2019-03-29 19:49:00 -07:00
Daniel Cassidy f04b80f2b5 clean-webpack-plugin: Delete obsolete type definitions. (#34206)
As of 2.0.0 clean-webpack-plugin distributes its own type
definitions.
2019-03-29 19:45:11 -07:00
Keisuke Kan 41e6217fcd Added storybook__preact (#34341)
* Added storybook__preact

* Use @jsx h
2019-03-29 19:44:10 -07:00
Wesley Wigham 0617f9dd7d Same as #34335 but for react-redux v6 (#34339) 2019-03-29 18:55:36 -07:00
James Garbutt 5033db6098 changelog-parser: switch the callback params (#34204)
* changelog-parser: switch the callback params

* changelog-parser: stricter tests
2019-03-29 17:41:28 -07:00
Richard Honor 8358bee6b8 Add tz-offset (#34209) 2019-03-29 17:40:21 -07:00
TokugawaT_YD 3404397bdc added gulp-intercept types (#34213) 2019-03-29 17:35:26 -07:00
Jake Boone de6f095f67 Added types for react-spinner (#34235)
* Added types for react-spinner

* [react-spinner] removed patch version
2019-03-29 17:33:37 -07:00
Dominik H ec6e825ec9 Added types for identicon.js (#34286)
* added identicon.js types

* instead of exporting the PNGlib and Svg class they are now declared

* instead of classes interfaces are now used for PNGlib and Svg
2019-03-29 17:28:47 -07:00
Eloy Durán dae28f3fcf Merge pull request #34326 from bryceosterhaus/svg4everybody
Update package `svg4everybody` to v2.1.9
2019-03-29 23:49:09 +01:00
Wesley Wigham 4d0a8f38cf Change libaries to rely less on implicit {} in test output (#34336) 2019-03-29 15:28:15 -07:00
Wesley Wigham 44a802cdba react-redux currently relies on a TS bug (Microsoft/TypeScript#30634) to sucessfully typecheck, this fixes that (#34335) 2019-03-29 15:24:16 -07:00
Rémy Jeancolas 3b0675696b [node-downloader-helper]: Create definitions (#34269) 2019-03-29 12:16:22 -07:00
Bryce Osterhaus 4b289dcbc2 Update svg4everybody to v2.1.9 2019-03-29 12:01:43 -07:00
Saoud Rizwan b9a25743c3 Update blob.d.ts (#34280) 2019-03-29 11:49:32 -07:00
Mehmet Emin Gelmedi 07fb19f5dc Dotenv load deprecated since v7.0.0 (#34287) 2019-03-29 11:43:53 -07:00
Gaëtan Maisse 53b73abbb3 [@storybook/addon-notes] remove typings provided by package directly (#34111) 2019-03-29 11:32:02 -07:00
Jace aa5f059ee2 Add isJWT type def for validator package (#34283)
* adds isJWT type def for validator

* Increases the version number in the header
2019-03-29 11:29:07 -07:00
Nikolay Borzov a804a580d0 [btoa] Accept Buffer (#34271) 2019-03-29 11:25:56 -07:00
Martijn Walraven 59ed5920c9 [graphql] Update for v14.2.0 release (#34261)
* Add Martijn Walraven  to "Definitions by" section of the package header

* Add `validateSDL` function

* Add `toConfig` methods

See https://github.com/graphql/graphql-js/pull/1331

* Add missing typing for `print` function

See https://github.com/graphql/graphql-js/pull/1702

* Rename `MaybePromise` to `PromiseOrValue`

https://github.com/graphql/graphql-js/pull/1798

* Rename `blockStringValue.js` to `blockString.js`, and `blockStringValue` to `dedentBlockStringValue`

See https://github.com/graphql/graphql-js/pull/1751/commits/16afd2efb8ccfee360479791941e0d2d7e8a49ff and https://github.com/graphql/graphql-js/pull/1751/commits/60a2bf8f208ef624f585135a5a99b5cb260efcba

* Update `graphql` version to 14.2

* Add `.prettierrc` and reformat all files

This adds a `.prettierrc` based on the defaults used in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/24552#issue-177715187, and reformats all files (only a few are affected).

* Fix `GraphQLSchema.toConfig()`

* Remove `.prettierrc`
2019-03-29 11:23:53 -07:00
Chris Krycho a819975d58 Ember Data fixes (#34245)
* ember-data: fix bugs and improve type safety.

* ember-data: handle `each(Transformed)?Attribute`.

* ember-data: fix a lint error.
2019-03-29 11:19:02 -07:00
Kevin Hawkinson 7e92d8b69d adding in isSoftNewlineEvent to KeyBindingUtil (#34307) 2019-03-29 11:09:16 -07:00
Florian Dreschner 7a12757040 Add string type to valid data for PubNub decrypt (#34322) 2019-03-29 11:07:29 -07:00
Justin c0bbbd62bf Added type definitions for rasha (#34319)
* Added type definitions for rasha

* Added type definitions for rasha *
2019-03-29 10:59:50 -07:00
nathan amick 79b75ff865 Add type definitions for unique-push-id (#34323) 2019-03-29 10:55:01 -07:00
Nathan Shively-Sanders 693a1a83cd Update for Microsoft/TypeScript#30568 (#34325)
* Update for Microsoft/TypeScript#30568

* Use assignability instead of ExpectType

Since assignability allows subtype relations
2019-03-29 10:37:30 -07:00
Eloy Durán d430889d20 Merge pull request #34315 from Dahaden/master
Changed ReactElement to ReactNode for consistency with flow types
2019-03-29 11:47:01 +01:00
Joel Spadin a2f29ac4a7 Improve license-checker-webpack-plugin definitions (#34282)
* Add types for license-checker-webpack-plugin

* Improve license-checker-webpack-plugin definitions

Make options parameter optional. The module documentation does not state whether
this parameter is or is not intended to be optional, but the code allows for it.

Use Partial<Options> instead of interface with all optional fields.
2019-03-29 00:43:30 -07:00
Gerhard Stöbich cd3f215693 [node] various http2 fixes (#34262)
* [node] various http2 fixes

* remove removeListener() overloads
2019-03-29 00:39:17 -07:00
Sam Alexander 803703a51f Add types for html5-to-pdf (#34288)
* Add types for html5-to-pdf

* Add typescript version

* Update tsconfig

* Fix lint errors

* Fix tests
2019-03-29 00:37:43 -07:00
Sérgio Miguel 518f614f92 Add types for react-native-view-pdf (#34291)
* Add types/test for react-native-view-pdf

* Specify ts version

* Specify strictFunctionTypes
2019-03-29 00:25:22 -07:00
Ryan Cavanaugh 7dc6bb0fa3 Add noAlign option to prettyjson (#34316)
https://github.com/rafeca/prettyjson/blob/7fa29b10985a0b816be649c9c6ddf9fb289c66fe/test/prettyjson_spec.js
2019-03-28 23:59:35 -07:00
Dave Haden d67476886c Changed ReactElement to ReactNode for consistency on flow types 2019-03-29 13:42:07 +11:00
Nathan Shively-Sanders 8201a5f150 Cleanup 20190328 (#34297)
* Update project homepages

* Update project urls and fix protractor-browser-logs dependency

Its dependency on protractor was "latest" -- 6.0 -- which doesn't work because
protractor has a dependency on selenium-webdriver. In the Definitely
Typed repo, selenium-webdriver is treated as a
dependency on @types/selenium-webdriver because d.ts overrides .js.
But selenium-webdriver is at 3.0 while @types/selenium-webdriver is at
4.0, meaning that protractor's imports are broken for people (like DT)
who have @types/selenium-webdriver installed.

There are three ways to fix this:

1. Update @types/selenium-webdriver to 4.0. This is a big task.
2. Fix protractor-browser-log's protractor dependency to 5.4.2, right
before protractor updated to the latest version of selenium-webdriver.
This way the installed version of selenium-webdriver matches the version
of @types/selenium-webdriver in DT.
3. ???? Other tsconfig.json/package.jon wizardry? I don't think this is
a worthwhile path to explore.
2019-03-28 17:44:15 -07:00
Mallen e809175e0c Fix get-value second argument typing not accepting arrays (#34244) 2019-03-28 09:30:43 -07:00
Eloy Durán c9040913ba Merge pull request #34233 from itajaja/patch-1
add context to react relay
2019-03-28 11:15:40 +01:00
Giacomo Tagliabue 0b3af24643 fix 2019-03-27 23:16:32 -04:00
Mrcode ca77853b96 fix: EventType has not 'action (#34176) 2019-03-27 17:36:55 -07:00
Christian 979c300a04 fix(sharp): add missing linear, recomb types (#34218) 2019-03-27 17:34:24 -07:00
Thomas Marrec aadfd1189d [stripe] Add missing billing_reason option (#34251)
* types(stripe): add missing billing_reason option

# add subscription_create to the billing_reason
# https://stripe.com/docs/api/invoices/object#invoice_object-billing_reason

* stripe: add missing subscription_threshold option
2019-03-27 17:29:03 -07:00
Kristian Brünn 158e2d3343 [debug] Override all per-namespace log settings (#34234)
* extend the Debug interface with log(...args) to enable overriding all per-namespace log settings

* extend author list of debug

* extend debug tests

* nits: replace console.error with console.log
2019-03-27 17:27:38 -07:00
katashin e87f5a9181 [twilio-video] Add missing ConnectOptions parameters (#34057)
* Add missing ConnectOptions parameters in twilio-video

* Update definitions by on twilio-video
2019-03-27 17:00:00 -07:00
Damien Engels 551b328862 Update trusted-types definitions to allow for partial policies. (#34239)
Also adds:
 - TrustedTypePolicy#name property
 - TrusteTypePolicyFactory#is(HTML|Script|ScriptURL|URL) functions

Updates the tests to assert types properly as well as add coverage for
all the new additions.

No version update is needed as the api didn't change. This is just a
better description of the actual behavior.
2019-03-27 16:58:18 -07:00