Commit Graph
65242 Commits
Author SHA1 Message Date
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
garyking 57c6215da5 intersperse 1.0.0: Create (#39371)
* Create the files for intersperse module.

* Fixes
2019-10-24 10:37:06 -07:00
mcpar-land e86bdf7f52 Added vcf package definitions (#39359)
* Added vcf package definitions

* Added vcf package definitions

* fixed export, added comments.
2019-10-24 10:36:35 -07:00
Jared Kass 23ae47d892 feat: add LocalQueryRenderer to react-relay (#39393) 2019-10-24 19:35:12 +02:00
Nasreddine Bac Ali fd4b44df45 os-utils 0.0.14: Add types (#39377) 2019-10-24 10:29:57 -07:00
Pawel Wolak d9fbafa34f Add types for react-count-to (#39388) 2019-10-24 10:29:08 -07:00
Oliver Joseph Ash 59328b8fae Node: util.promisify: widen callback error parameter to any (#39381)
* Node: `util.promisify`: widen callback error parameter to `unknown`

* Revert "Node: `util.promisify`: widen callback error parameter to `unknown`"

This reverts commit 16e276e619af72b53ac7b34c352d305194e1e28d.

* Use any for errors
2019-10-24 10:27:54 -07:00
Nikita Galkin e8ed53ccfc Add deprecation messages for DEP0010, DEP0011 and DEP0012 (#39386)
* Improve typing deprecation for DEP0010 and DEP0011

* Improve typing deprecation for DEP0012
2019-10-24 10:26:40 -07:00
Nikita Galkin 0581177e85 Improve typing deprecation for worker.suicide (#39367) 2019-10-24 10:25:49 -07:00
Axel Rauschmayer 7496e1b424 [@types/react] Warn in comment that interfaces in global.d.ts are empty (#39040)
* Added a warning about interfaces being empty

* Fixed illegal whitespace
2019-10-24 10:25:22 -07:00
Kamil Kamiński afaf7cf382 Add findDescendant method typedef and remove findDescendants typedef (#39364) 2019-10-24 10:24:37 -07:00
Taylor Yelverton 7b0b4a2464 ActionCable: CreateMixin properties are all optional. (#39366)
See:
- 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-24 10:24:10 -07:00
Nikita Galkin e64ee5bf17 Add events.once to node v10 and v11 (#39115) 2019-10-24 10:23:24 -07:00
Jan Doležel b5782b24c8 React sortable tree (#39343)
* Fixes to getTreeFromFlatData

* Lazy loading children

* Type fixes
2019-10-24 10:22:51 -07:00
Thomas Röggla 90feb4efa5 removed info option from YouTubePlayerOptions (#39382) 2019-10-24 10:21:50 -07:00
Sebastian Silbermann 07bf2ebb10 chore(react): Add comment about createContext defaultValue (#39389) 2019-10-24 10:21:31 -07:00
Simon Jespersen 42718dc2ab Fix testing-library__cypress feedback from #37692 (#39394) 2019-10-24 10:20:13 -07:00
Josejulio Martínez 7d4caa8dd6 [cytoscape] Add mapper functions and more (#39245)
* Allows Css.Core for the style/css

* Adds new round shapes

* - Allow mapper functions when defining style properties
- Adds "ghost"
- Plugs some interfaces to Css.Node/Edge

* - Add extra params to Handler
- Fixes the originalEvent type
- Adds other events methods

* Fix linting

* Adds missing Boundingbox options

* Adds a way to specify the target we are expecting for an event
2019-10-23 17:03:08 -07:00
Eitan Levi 72d72bb016 [config] Add types for 'defer' and 'raw' features of node-config (#39249)
* [config] Add types for 'defer' and 'raw' features of node-config

This change adds type definitions for the `raw` and `defer` features of
[node-config](https://github.com/lorenwest/node-config/).

The `raw` function is a wrapper that prevents node-config from
processing the object and making it immutable, useful for things like
stdout ([documentation
here](https://github.com/lorenwest/node-config/wiki/Special-features-for-JavaScript-configuration-files#using-promises-processstdout-and-other-objects-in-javascript-config-files)).

The `defer` function allows a value to be deferred until after the rest
of the config functions were resolved. [Documentation
Here](https://github.com/lorenwest/node-config/wiki/Special-features-for-JavaScript-configuration-files#deferred-values-in-javascript-configuration-files).

* Add test for rawValue config
2019-10-23 16:58:49 -07:00
Elizabeth Samuel 1a77e88b9d [Outlook] Note recipients props return max 100 or 500 members (#39122)
* [Outlook] Note recipients props return max 100 members

* Updates
2019-10-23 16:56:41 -07:00
Sergey Smolnikov 75e31b0a42 Add types for sailthru-client (#39338)
* Add types for sailthru-client

* Avoid exporting RestlerResult interface from sailthru-client
2019-10-23 15:06:55 -07:00
Mattia Panzeri c70314f567 Add 'spotify-node-applescript' type definitions (#39347) 2019-10-23 15:06:14 -07:00
Armando Aguirre 2a33e79ece [Azure-Kusto-Node] Add UserCodeInfo to withAadDeviceAuthentication method (#39312)
* Add UserCodeInfo

* Added package.json

* Added node reference
2019-10-23 15:00:44 -07:00
Peter Belbin 86ffa58e94 Add eslint CLIEngine resolvePluginsRelativeTo constructor option (#39335)
* Add the resolvePluginsRelativeTo option

The documentation at https://eslint.org/docs/developer-guide/nodejs-api#cliengine shows this option

* Add for later versions of TypeScript, and tests
2019-10-23 14:59:48 -07:00
Oliver Joseph Ash 98a24059fc Node: util.promisify: widen callback error parameter to unknown (#39173)
* Node: `util.promisify`: widen callback error parameter to `unknown`

* Dedupe `PoorMansUnknown`
2019-10-23 14:59:05 -07:00
Peter Belbin 3eff69176c Fix node tty.d.ts WriteStream.cursorTo function signature (#39326)
* Make node/tty.d.ts writeStream.cursorTo match the documentation

The documentation for writeStream.cursorTo shows that the 2nd numeric property is optional.

https://nodejs.org/api/tty.html#tty_writestream_cursorto_x_y_callback

This change brings the function declaration into line with the published documentation.

* Add test for cursorTo with only 1 numeric parameter

Demonstrate calling cursorTo() passing a single numeric value.

* Add requested overload signature

* Add a blank line

* Remove a blank line
2019-10-23 14:56:46 -07:00
Mike Francis fd0d582b4d Updated passport-google-oauth2 to include missing function signature (#39320)
* Added VerifyFunctionWithRequestAndParams

* Fix linting error
2019-10-23 14:56:01 -07:00