Commit Graph
65224 Commits
Author SHA1 Message Date
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
fent 7f8ae8fed8 Add mithril jsx types (#39242)
* Add mithril jsx types

* Add mithril fragment

* Add a small test
2019-10-23 14:54:53 -07:00
Arvid NorlanderandCooper Benson d60ce5eeb1 [@types/roslib] Add missing options to main constructor. (#39228)
* Add missing options to main constructor in roslib.

Newer versions of roslib have more options to the constructor.

* Update types/roslib/index.d.ts

Co-Authored-By: Cooper Benson <skycoop@gmail.com>

* Update types/roslib/index.d.ts

Co-Authored-By: Cooper Benson <skycoop@gmail.com>
2019-10-23 14:53:04 -07:00
Nathan Shively-Sanders 940bf3a63d Fix electron dependency in electron-clipboard-extended to 6 (#39336) 2019-10-23 14:52:33 -07:00
garyking 79521e48c8 gitRemotes returns Remote[] (#39331)
This reverts d0bb9d9624 from #31420

release notes: https://github.com/nodegit/nodegit/releases/tag/v0.25.0
2019-10-23 14:51:37 -07:00
Adrián Caballero 7c6cf9d1a7 [chart.js] Definition of parameter attributes for custom tooltip method (#39346) 2019-10-23 14:49:58 -07:00
Derek Sifford b02210215e fix(wordpress__data): improve type inference of useDispatch hook (#39362)
* fix(wordpress__data): improve type inference of `useDispatch` hook

* chore: run prettier over modified file
2019-10-23 14:49:36 -07:00
Alex Jerabek 02298d9aed [office-js, office-js-preview] Documenting build number for the SVG limitation issue (#39360)
* Adding a build number for a bug

* Correcting verbage

* Adding to release d.ts too
2019-10-23 14:48:31 -07:00
randomnerd a9217bb2f4 Type declarations for eccrypt (#39334) 2019-10-23 14:03:43 -07:00
James Hong edb4917e1b [use-global-hook] Updates def for simpler usage (#39199)
* [use-global-hook] Updates def for simpler usage

* [use-global-hook] make recommended changes

* [use-global-hook] remove lint suppression
2019-10-23 08:07:36 -07:00
Max BoguslavskyandWesley Wigham 4700dcf113 Added typing for jxon (#39283)
* added draft type for jxon

* corrected types for jxon

* corrected formatting

* removed tests

* Update types/jxon/index.d.ts

Great suggestion! Thank you!

Co-Authored-By: Wesley Wigham <wwigham@gmail.com>

* updated typescript version
2019-10-23 07:55:30 -07:00
Juhamatti Niemelä cbc8a1ec78 Add node-jose DecryptResult properties (#39148)
Add missing DecryptResult properties found in the `node-jose` implementation
and documented here:

https://github.com/cisco/node-jose/blob/master/lib/jwe/decrypt.js#L42
2019-10-22 15:57:04 -07:00
Isiah Meadows 7456fd99fc mithril - Remove inactive author (#39332) 2019-10-22 15:54:44 -07:00
Michael Adams 5e19dd4a56 plotly.js - add plotly types for indicator chart (#39185) 2019-10-22 15:53:35 -07:00
Matthew Peveler 3619b2f43d [@types/jqueryui] Change event type for callbacks to JQuery.Event (#39184) 2019-10-22 15:52:05 -07:00
Benjamin Amelot 0237a013dd [plotly.js] add hiddenlabels to Layout (#39201) 2019-10-22 15:37:29 -07:00
Vesa Poikajärvi 0affaae383 [koa-proxy] opts.map can be a function too (#39203) 2019-10-22 15:31:01 -07:00
Veli-Matti Luoto e93c792bcd Add missing props to CropperProps (#39205) 2019-10-22 15:30:40 -07:00
Brian Bugh e4da6e8797 vuelidate: Add function call signature to ValidationRule (#39206)
* Add function definition to ValidationRule

ValidationRule is a function that takes in parameters and then applies them to the inner validator function. The types are currently missing that allow this behavior. This is most useful when building composed functions out of the built-in validators, like so:

```typescript
export const greaterThanZero: ValidationRule = and(minValue(0), not((value: UserInput) => value == 0))
export const greaterThanOrEqualToZero: ValidationRule = minValue(0)
```

Vuelidate "withParams" reference that returns a ValidationRule function: https://github.com/vuelidate/vuelidate/blob/bb23f01ab4f14a813a25cff8defb7788cd8859ac/src/params.js#L36-L55

* unknown -> any for TS < 3.0

* Fix unrelated noImplictAny for TypeScript@next
2019-10-22 15:25:02 -07:00