Commit Graph
64935 Commits
Author SHA1 Message Date
Orta a4cd306b07 Remove husky and precise-commits (#39018) 2019-10-10 11:02:26 -07:00
Matt Bierner f58986ca20 VS Code 1.39.0 Extension API (#39015) 2019-10-09 18:00:32 -07:00
Robert Worman cc2b7b63c5 [forge-viewer] Update clientToWorld return type (#38834)
* Update clientToWorld return type

* Use 4 spaces
2019-10-09 17:35:50 -07:00
Marc Missey 5a20473e6f [react-dnd-multi-backend]: Update default export types for react-dnd-multi-backend 4.0 (#38893) 2019-10-09 17:08:40 -07:00
Khoa Nguyen c79ad1cd46 feat(@types/vue-clickaway): create types (#38962)
* feat(@types/vue-clickaway): create types

* fix: rename to vue-clickaway-tests.ts
2019-10-09 17:05:41 -07:00
Tom Yam 7d1ee0c34a Mongoose type fixes: Mongoose.prototype.STATES and Schema.post('insertMany') (#37995)
* [@types/mongoose] fix typing for Mongoose.prototype.STATES and its aliases

4ef82c966a added the STATES object that is shared on:

1. Mongoose.prototype.STATES
https://mongoosejs.com/docs/api.html#mongoose_Mongoose-STATES

2. Connection.prototype.STATES (undocumented)
https://github.com/Automattic/mongoose/blob/5.6.11/lib/connection.js#L1082

3. connection.states (undocumented)
https://github.com/Automattic/mongoose/blob/5.6.11/lib/connection.js#L58

STATES maps connection state names to numbers (also undocumented)
https://github.com/Automattic/mongoose/blob/5.6.11/lib/connectionstate.js#L22

(it also numbers back to strings but I don't think it's critical to support this)

Before the commit - you'd get
TS2339: Property 'connected' does not exist on type 'ConnectionStates' if you try to
do connection.states.connected (or any other state)

This commit allows it

* [@types/mongoose] Add typings for Schema.post('insertMany')

insertMany is different from other middlewares

1. Since it's a "Model middleware":

"Model middleware is supported for the following model functions.
In model middleware functions, this refers to the model."

From https://mongoosejs.com/docs/middleware.html#types-of-middleware

2. It's order of arguments is different:

Undocumented but found in the specs:
https://github.com/Automattic/mongoose/blob/5.6.11/test/model.test.js#L4853
2019-10-09 16:39:02 -07:00
Syncfusion-JavaScript 12f35c7c55 17.3.14 added (#38847)
* 17.2.0.34 added

* Added non-npm package

* Removed space

* added new line
added ew line

* Changed the word

* 17.2.0.46 added

* Removed blank line and added non-npm entry

* changed Encoding format

* 17.3.0.9-beta added

* added npm packages
added npm packages

* added npm packages

* format changes

* format changed
format changed

* Format changed to ANSI

* 17.3.14 added

* Added non npm package

* Removed space

* removed space

* Removed  a space
2019-10-09 16:22:35 -07:00
Khải e0e91fbb39 Add overload that returns promise (#38864)
* Add overload that returns promise

which@2.0.1 supports `Promise`

* Add test for the promise variant

* Add promise overloads with options

* Update which-tests.ts

* Add missing ';'
2019-10-09 16:19:39 -07:00
Scott O'Malley fd3cd621ae ramda#2883: Remove references to R.isNaN (#38740)
* ramda#2883: Remove references to R.isNaN

* ramda#2883: Update test

* Remove addtional semi-colon

* ramda#2883: Resolve merge conflict

* ramda#2883: Remove references to R.isNaN
2019-10-09 16:16:10 -07:00
Benoit Lemaire 97af79ffcc Add missing limit option to ncp definition (#38883) 2019-10-09 16:11:39 -07:00
Jeremy Bensimon ab9a3da03f Add types for autocannon (#38921)
* Add types for autocannon

* [autocannon] fix test file import
2019-10-09 16:04:08 -07:00
Kyle Albert 4f60df3ab3 Relax Notification typing + some fixes and refactoring. (#39014) 2019-10-09 12:29:56 -07:00
Alex Povar b7d7813c5d Require read-only testers for matchers util (#39009) 2019-10-09 12:29:31 -07:00
IGI-111 94751f2fda Add missing commondir accessor (#38998) 2019-10-09 12:18:39 -07:00
Florian Rohrer fb5531f301 add new functions for recaptcha v3 (#38948)
* add new functions for recaptcha v3

* formatting

* test file updated

* Update index.d.ts
2019-10-09 12:17:07 -07:00
Oliver Joseph Ash a9f16891bd Require function to be predicate (#38973) 2019-10-09 12:14:43 -07:00
BehindTheMath 2ce5aacbd0 [lodash] Add stubTrue to lodash (#38920)
* [lodash] Add lodash/stubTrue

* Add stubTrue.d.ts to tsconfig.json

* Add lodash.stubtrue
2019-10-09 12:13:29 -07:00
Roland Warmerdam a83bc68922 [@hapi/joi] fix the joi.assert() and joi.attempt() types (#38993)
* [@hapi/joi] fix the joi.assert() and joi.attempt() types

* Update tests

* Improve types
2019-10-09 12:09:23 -07:00
a learning git 306afbe5c0 Add FrameContext types (#38996)
For people who wants to use `hooks`  like
```javascript
import React, { useContext } from 'react'
const { window: frameWindow } = useContext(FrameContext)
```
2019-10-09 12:08:44 -07:00
Ivan Reyes bb80320c24 Updated types for @types/twit (#38985)
Added parameters to `interface Param` to allow calling more Twitter stream API endpoints
2019-10-09 12:07:58 -07:00
Adam Epling 81f26b497c Update react-virtualized-select index.d.ts for optionHeight prop (#38849)
* Update index.d.ts

`optionRenderer` can take a number or a function that returns a number, so I've updated the type for that prop

* Update index.d.ts

Fix issue with callback

* Update index.d.ts

* Updated react-virtualized-select index.d.ts

* Update index.d.ts
2019-10-09 12:07:40 -07:00
Bill Parrott 595e29da14 [reactstrap] 'toggle()' and 'tag' prop updates (#38575)
* [reactstrap] Update toggle() functions to use EventListeners instead of void functions

* [reactstrap] update all tag props to also allow strings

* [reactstrap] minor updates based on PR suggestions

* [reactstrap] fix formatting from husky; address issues from PR
2019-10-09 12:07:16 -07:00
Ignat Prokopovich 81b79d2950 [@reach/router v1.2.1] Fixed return type of navigate function (#39003)
* Fixed return type of navigate function

https://github.com/reach/router/blob/master/src/lib/history.js#L48-L70

* Updated @reach/router tests

* Added himself as one of the authors

* Revert lib version
2019-10-09 12:05:25 -07:00
Anders Kaseorg fa252d845d webpack: Accept a function for filename (#38989)
https://webpack.js.org/configuration/output/#outputfilename

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-10-09 12:04:29 -07:00
Alejandro Sánchez 208e84991c [leaflet] match event types with appropriate handler function types (#38885) 2019-10-09 12:02:43 -07:00
Andrew MacDonald f05ea21c9d Revert "fix: Use ListIterator for the remove predicate. (#38897)" (#38987)
This reverts commit a55ab31b74.
2019-10-09 11:04:16 -07:00
Max Boguslavsky 3779419226 Added type for html-parser (#38940)
* - added draft type for html-parser

* fixed dom reference in package; corrected options interface; rewrote tests

* reverted prev commit

* corrected options interface; introduced dom lib into global space; corrected tests params

* reverted prev commit

* - added some tests.

* added @type/html-parses

* corrected formatting

* corrected formatting

* corrected errors after namespace correction

* removed namespace declaration

* corrected export declarations

* fixed comments

* corrected formatting

* rewrote args so that they will be self-explanatory

* corrected formatting
2019-10-09 11:02:22 -07:00
Orta 14469cd04e Run prettier on abbrev - #no-publishing-comment (#39013) 2019-10-09 09:54:02 -07:00
Daniel Perez Alvarez 485d5a96db [react-helmet-async] Publish 1.0.x version (#38700) 2019-10-08 21:22:22 -07:00
Junxiao Shi cb63304095 labeled-stream-splicer: initial definition (#38860) 2019-10-08 21:12:58 -07:00
Eric Liu 34468989d6 feat(types): add carbon__icons-react types for @carbon/icons-react (#38879)
* feat(types): add initial @carbon/icons-react types

* chore(types): specify TypeScript version in carbon__icons-react definition

* fix(types): fix lint/testing errors in carbon__icons-react definition

* chore(types): update project url for carbon__icons-react definition

* fix(types): remove namespace export
2019-10-08 18:11:58 -07:00
Junxiao Shi 210acf4c1c nanoassert: initial definition (#38861) 2019-10-08 18:09:27 -07:00
Emiliano Leite 48efbe5458 Create types for react-native-rss-parser (#38960)
* feat(@types/react-native-rss-parser): Create types

* feat(@types/react-native-rss-parser): Add itunes prop
2019-10-08 17:08:51 -07:00
Mohsen Azimi 6b1b1e6d9b [react-with-styles] Make ThemedStyleSheet an importable value (#38842)
* [react-with-styles] Make ThemedStyleSheet an importable value

* Update ThemedStyleSheet.d.ts

* Update ThemedStyleSheet.d.ts

* Fix type for create
2019-10-08 17:05:31 -07:00
Luís Rodrigues ce338b4fd0 [estimate] New types (#38904) 2019-10-08 16:36:02 -07:00
Kyle Lin 098cceb6d0 Add type definitions for array.prototype.flat (#38906) 2019-10-08 16:24:50 -07:00
Gareth Jones 9d8c69e5e0 [globjoin] create types (#38908) 2019-10-08 16:16:00 -07:00
Tomasz Pluskiewicz 7ea9422586 added typings for sparql-http-client (#38915)
* added typings for sparql-http-client

* use readonly array for select result
2019-10-08 16:07:05 -07:00
Kevin Nguyen cd093195bb Added Type Definition for @tryghost/content-api 1.2 (#38926) 2019-10-08 15:48:29 -07:00
Alex af62dd2b9a added types for express-status-monitor (#38977) 2019-10-08 14:34:06 -07:00
Kim 88963b877d Introduced Xrm.Controls.UiCanGetDisabledElement and Xrm.Controls.SetDisabledElement; implemented missing QuickForm members (#38982) 2019-10-08 14:25:24 -07:00
Marty Alcala dc4c32d9e2 add source_type param to stripe.transfers.create (#38896) 2019-10-08 14:24:21 -07:00
Nils Bergmann 0691e96718 @nuxtjs/auth typings add getToken function (#38976)
* @nuxtjs/auth typings add getToken function

This function is missing: https://github.com/nuxt-community/auth-module/blob/dev/lib/core/auth.js#L192

* Remove question mark
2019-10-08 14:22:30 -07:00
Jason Staten 76fd3410f7 Add doc comments to yt-player (#38964)
Copy docs from [README][1] into `yt-player` definitions.

[1]: https://github.com/feross/yt-player/blob/master/README.md
2019-10-08 14:22:10 -07:00
tu4mo f6208270ad [react-datepicker] Add missing props (#38949)
* [react-datepicker] Prettier

* [react-datepicker] Add types for nextYearButtonLabel, previousYearButtonLabel, showPopperArrow and wrapperClassName props
2019-10-08 14:21:07 -07:00
Dylan Hackworth 704d3065e5 Add discord-rpc missing Presence typings (#38965)
* Added missing properties

Some properties remained missing so here are the up-to-date ones. For reference [this](https://github.com/discordapp/discord-api-docs/blob/master/docs/rich_presence/How_To.md#update-presence-payload-fields) is where they're all defined.
Added:
 - instance?: boolean;
 - partySize?: number;
 - partyMax?: number;
 - matchSecret?: string;
 - spectateSecret?: string;
 - joinSecret?: string;
  - instance?: number;

* Converted spaces to tabs (linted)

* Removed duplicate instance
2019-10-08 14:18:20 -07:00
Matthew Bull cea4edd577 Add extra axis props (#38967) 2019-10-08 14:17:52 -07:00
Kyle Albert d56b018b0d [@types/carbon-components-react] Bump to 7.6, type updates & fixes. (#38983)
* Bump to 7.6.

* Fix missing required id prop.

* Update InlineLoading.

* Update ToolbarSearch.

* Update Tooltip.

* Update SideNav props.

* Update Notification.

* Improve DataTable types.

* Lint fix.

* Fix extra new line.

* Reverting children type change on SideNav components due to carbon issue.

* Lint fix.
2019-10-08 14:15:51 -07:00
Oleg Iasinovskyi e082aabf61 [auth0] Add authorizationCodeGrant method for oauth (#38957) 2019-10-08 14:08:56 -07:00
David Recuenco 50f2294810 update @hapi/joi to v16 (#38361) 2019-10-08 14:03:31 -07:00