Commit Graph
65268 Commits
Author SHA1 Message Date
Alexander T fe891714ee kafkajs: Provides its own types (#39446) 2019-10-28 08:16:02 -07:00
Anders Kindberg (Bengtsson) 3bcd68faa6 [superagent] Use base http.Agent instead of extension https.Agent so that they both work (#39385) 2019-10-28 08:05:49 -07:00
Raoul Jaeckel b167945e7b fix(pino): changing type from false to boolean of LoggerOptions.timestamp (#39392) 2019-10-28 07:55:50 -07:00
Daniel Del Core ce23bc466a [react-select] export deeply non-nullable components (#39341) 2019-10-28 07:55:10 -07:00
David Dooling 532abbb85d [html-validator] improve response message typings (#39356)
Enhance response message typings to accurately reflect all of the
types and subtypes of the messages.  Peruse
https://github.com/validator/validator/tree/master/src/nu/validator/messages/types
to confirm the representations here are correct.

Reflect that a message either has or does not have location
information.  Note that this implementation results in the location
properties not being available on the returned messages without
asserting them to the ValidationMessageLocationObject type (see the
updated test).  This approach is more correct and easier when using
strict null checks, but makes it more cumbersome to access the
location properties when your TypeScript compiler configuration has
strict null checks set to false.  Another option would be to do away
with the concept of a separate location sub-object and just make all
the location properties optional.

There was recently a new major version release of the upstream
project, so this seems like a good time to introduce this breaking
change.

Fix indentation.
2019-10-28 07:42:16 -07:00
Antoine Boisadam ba54c4765d Update definitions for inboxsdk (#39290)
* Update definitions for inboxsdk

* Adding comment to open() method

* Bad undocumented method...
2019-10-28 07:40:29 -07:00
Renan Machado 371a2eaabd [react-relay] add hook types (#39414)
* add relay-experimental types

* add tests to relay-experimental types

* update version on header
2019-10-28 11:56:40 +01:00
Jesse Katsumata dc156f32b2 react-native: fix AccessibilityInfo fetch method type (#39904)
* react-native: fix AccessibilityInfo fetch type

* Update types/react-native/test/index.tsx
2019-10-28 11:48:40 +01:00
Clay Miller f71b4a0526 Make 'Omit' a distributive conditional type to support union prop types. Fixes #39300. (#39323) 2019-10-28 11:11:25 +09:00
Max Beatty 46322caeb1 remove dotenv (#39164)
* remove dotenv

* add missing dependencies

* Add TS header
2019-10-27 15:50:18 +00:00
Alexander T a2bceed52a o.js: Provides its own types (#39485) 2019-10-26 07:47:58 -07:00
Alexander T 70b8180142 rword: Provides its own types (#39539) 2019-10-26 07:37:40 -07:00
Alexander T 4c0bb173e6 mockingoose: Provides its own types (#39466) 2019-10-26 07:35:25 -07:00
Alexander T b208ae4625 expo: Provides its own types (#39617) 2019-10-26 07:32:50 -07:00
Emily Marigold Klassen f2e14c8f84 Add typings for json-schema-merge-allof (#39444)
* Add typings for json-schema-merge-allof

* Fix lint issues

* Specifically add a 4 | 6 JSONSchema type for json-schema-ref-parser usage

* Add tests and further refine types
2019-10-25 15:53:43 -07:00
Nasreddine Bac Ali 9a281538df Node os utils 1.1: Add utils (#39442)
* node-os-utils 1.0: Add types

* apply library file layout

* fix lint errors

* node-os-utils 1.1: Add types
2019-10-25 15:52:50 -07:00
Falcon Taylor-Carter ea3c976591 Add Before and After for cypress-cucumber-preprocessor (#39339)
* Add Before and After for cypress-cucumber-preprocessor

* Rename arguments for cypress-cucumber-preprocessor
2019-10-25 15:29:46 -07:00
Joe Flateau 3c2e0e5af0 [video.js] all plugins are optional, so plugins option should be a Partial<> (#39443)
* all plugins are optional, so plugins option should be a Partial<>

* fix whitespace
2019-10-25 15:28:36 -07:00
Divyun Raje Vaid 11e61c1409 feat(pubnub): add new typings for Objects and signal (#38830)
* style(pubnub): formats using prettier

* feat(pubnub): adds new typings for Object and signal

also, consodidates the status interface.
2019-10-25 15:06:24 -07:00
Maxime LUCE c79792f55b Add node-beanstalkd-client library types (#39434) 2019-10-25 13:40:46 -07:00
Daphne fc72468d0a Feature/types passport oauth2 refresh (#39425)
* added typings for passport-oauth2-refresh library

* fix linting issues with passport-oauth2-refresh
2019-10-25 13:28:56 -07:00
ExE Boss bb6cb74350 feat: Add internal‑slot (#39426) 2019-10-25 13:28:33 -07:00
garyking 74240e3686 columnify 1.5: Add type definitions (#39415)
* Generate files for columnify.

* Add decl and tests.

* Lint fixes.
2019-10-25 13:27:47 -07:00
garyking a68b429d53 promise-sequential 1.1: New types (#39410)
* Add new types for module.

* Fix TS version.

* Use new Promise syntax.
2019-10-25 13:27:31 -07:00
garyking 432e987018 Add files for sloc. (#39405) 2019-10-25 13:26:59 -07:00
Nasreddine Bac Ali dc97fa1c56 node-os-utils 1.0: Add types (#39408)
* node-os-utils 1.0: Add types

* apply library file layout

* fix lint errors
2019-10-25 13:26:23 -07:00
Mikael Brevik e2b59498db Add type definitions for the connect-azuretables package (#39403) 2019-10-25 13:25:54 -07:00
Benji Marinacci 88e2d21b96 Fix type definitions for forge-apis (#39160)
* Fix type definitions for forge-apis

* Add `statusBody` to `ApiError`

* Update install instructions

* Update response body types

* Remove comments
2019-10-25 13:24:11 -07:00
Patrick Gingras 86095c295c Less: add missing option and fix render callback type inaccuracy (#39261)
* less: added missing "syncImport" option to Options

* less: made callback types more accurate
2019-10-25 13:22:53 -07:00
Amit Dahan 82f31174bd [@types/prompts]: Change Choice's value to be any instead of a string (#39269) 2019-10-25 13:20:33 -07:00
erbridge 18dab7a195 [jest-image-snapshot] Support customSnapshotIdentifier as a function (#39267)
* [jest-image-snapshot] Run Prettier

* [jest-image-snapshot] Support customSnapshotIdentifier as a function

See https://github.com/americanexpress/jest-image-snapshot#%EF%B8%8F-api

* [jest-image-snapshot] Add blur and runInProcess to options
2019-10-25 13:19:59 -07:00
KuanYu Chu 8d9b48abde Add logger function to video.js Log interface (#39303)
* Add logger function to video.js Log interface

* Add logger function to video.js Log interface

* Bump version and move Definitions_by to the top

* Add video.js logger test
2019-10-25 13:17:22 -07:00
Will a39f3a622c Add Redis url support to Bull typings (#39432)
Per the documentation, options are passed directly to `ioredis`, which supports a url.

See https://github.com/OptimalBits/bull/blob/c306f5657d6f6fc10072781753d565bd9342a206/lib/queue.js#L92-L102
See https://github.com/luin/ioredis/blob/master/API.md#new-redisport-host-options
2019-10-25 13:16:24 -07:00
alex-bolenok-centralreach 0b907048f9 [aws-lambda] Support for 2.1 S3 event schema, fix versionId which can be omitted. (#39398)
* Prettierify

* Support for 2.1 S3 event schema

* Revert version typings and just extend the schema
2019-10-25 13:16:03 -07:00
Taylor Yelverton 66a1027be1 ActionCable: Subscriptions.create obj is optional. (#39406)
- https://guides.rubyonrails.org/action_cable_overview.html#subscriber
- https://guides.rubyonrails.org/action_cable_overview.html#client-server-interactions-subscriptions
- https://github.com/rails/rails/blob/master/actioncable/app/javascript/action_cable/subscription.js#L59-L67
2019-10-25 13:13:42 -07:00
Chris Krycho 86712ef9a9 [@ember/debug] Fix type for assert. (#39409)
- Loosen the type to match the actual implementation.
- Add tests for the new looser type, and backfill tests for other
  supported behavior at the same time.
2019-10-25 13:13:17 -07:00
Tony Hallett 9e6921fcd9 jest updated - corrected Matchers, added ExtendedExpect (#39243)
* corrected Matchers, added ExtendedExpect

* Matchers<R,T>

* updating dependent packages

* refactor and additional getState/setState/matcher context

* MatcherContext

* Matchers<R, T> for jest-axe
2019-10-25 13:12:50 -07:00
Adam Kwiatek b458bcb4ca [lightpick] Lightpick 1.4.1 (#39411)
* New options `onMonthsChange` and `onYearsChange`.
* New option `weekdayStyle`.
* Remove enum definitions which are not provided by the actual library.
2019-10-25 13:11:49 -07:00
ExE Boss 6a0c849210 feat(semver): Update to v6.2 (#39270)
* feat(semver): Update to v6.2

* test(semver): Fix tests on TypeScript v2.3
2019-10-25 13:10:03 -07:00
Nathan Shively-Sanders e097ae7ca2 actions-on-google: Provides its own types (#39438) 2019-10-25 10:49:53 -07:00
TypeScript Bot 009223009a Update CODEOWNERS (#39437) 2019-10-25 09:50:19 -07:00
Jessica Franco f0016483a4 [react, react-dom] declare experimental APIs (#39416)
* [react] declare experimental APIs

* [react] add jsdoc to experimental APIs based on the new Concurrent Mode docs

* [react-dom] add declarations for experimental APIs

* [react-dom, react] Add more documentation

* [react-dom] fix compatibility with older typescript

* [react-dom] fix file layout for CI

* [react-dom] remove feature that was removed, add missing experimental feature

* [react] don't try to guard against bug that will be fixed
2019-10-25 17:52:38 +09:00
oganexon 12a9dee9a5 rimraf: fix emfileWait type (#39391)
* fix emfileWait

* tslint
2019-10-24 12:45:55 -07:00
Elizabeth Samuel 76c6efba2d [office-js] [office-js-[preview] (Outlook) Tweak formatting (#39395)
* [office-js] [office-js-[preview] (Outlook) Tweak formatting

* Remove set option
2019-10-24 11:11:03 -07:00
Onur Var 6db6efc273 [@types/react-native-awesome-card-io] Improved JSDoc (#39368) 2019-10-24 10:46:18 -07:00
Zbigniew Zagórski 392315758c Update typings for rbush v3.0 (#39315)
* Move old typings to v2/, add v3 typings

* Fix npm-naming linting error.
2019-10-24 10:45:04 -07:00
Quinn LangilleandMitchell Bundy a0c20a323d feat: add missing config for server (#39295)
* feat: add missing config for server

* Update index.d.ts

* Update types/restify/index.d.ts

Co-Authored-By: Mitchell Bundy <mitch@bundy.ca>
2019-10-24 10:41:51 -07:00
Wayne Van Son 05b033c101 [sortablejs] adds all options, plugins and mount function (#39049)
* adds wayne as definition contributer

* fixes GroupOptions 'pull' and 'put' types

* [fix] renames Group to GroupOptions

* removes AutoScroll options from SortableOptions, Options extends SortableOptions

* adds options for autoscroll, onspill and multidrag

* adds SwapOptions

* adds sortable.mount function with `any` type

* adds all available plugins and uses SortablePlugin type on Sortable.mount()

* adds plugins.d.ts to tsconfig

* [fix] makes all options from the plugins optional

* [tests] fixes sortable.group.put type;  is string[], not string

* [tests] adds tests for mounting plugins

* adds examples to sortable.mount

* [format] reverts formatting in test file

* adds options as options for sortable constructor

* change removeonclonehide to boolean from true
2019-10-24 10:41:30 -07:00
Ross Hendry a27b88f0d4 wanakana 4.0: Add types (#39374)
* Add types for wanikani/wanakana

* Switch to Record and test linting

* Remove redundant tests

* Failed the CI build

* Failed the CI build
2019-10-24 10:39:42 -07:00
garyking 3c643dce1a filesize-parser 1.5.0: Add types (#39373)
* Create files for filesize-parser.

* Fixes
2019-10-24 10:37:52 -07:00