Noah Santschi-Cooney
3ef1069095
Made id and other fields on graphnode and graphlink optional. removed LinkCurvatureType which doesnt exist and caused exception when used ( #38818 )
2019-10-10 16:33:48 -07:00
Christoph Flick
4c52cecef4
Add types for redux-cablecar ( #38944 )
...
* Add types for redux-cablecar
* Make payload for the perform function optional
2019-10-10 16:26:17 -07:00
Anda Plotuna
84d4755cb5
[@types/mermaid] Fix typo. Closes #37829 ( #38902 )
2019-10-10 15:56:19 -07:00
Ben
b17c913b06
[react-sortable-hoc] Enable strict null checks and use React.ComponentType ( #38726 )
...
* Enable strict null checks and use React.ComponentType
* Fix linting
* Fix linting
* Improve test
2019-10-10 15:54:02 -07:00
Nick Clifford
c4f2bf2aab
add types for object-assign-deep ( #38863 )
2019-10-10 15:12:43 -07:00
Max Boguslavsky
6ce6f59e47
Added type for @svgr/rollup ( #39007 )
...
* added types for @types/svgr/rollup
* fixed formatting
* added typescript version
* fixed typo
* added reference type
* updated typescript version
* added package json
2019-10-10 14:53:50 -07:00
John Meyer
a88a306eff
Add events.once type definitions ( #39023 )
...
* Add 'events.once' definition
* Update wording
* Reproduce events.once license (since code is copied verbatim)
* Update project URL
2019-10-10 14:01:52 -07:00
Ronald Rey
14296ef5c5
fix(testing-library__dom): Rename logDom to logDOM ( #39035 )
...
* fix(testing-library__dom): Rename `logDom` to `logDOM`
The correct name of this function is `logDOM` as you can see here:
https://github.com/testing-library/dom-testing-library/blob/13543a9762dff7e8f0cad8d57c1c02dc66052df6/src/pretty-dom.js#L62
With the current definitions released it's not possible to import it
without ignoring the TS error. I also updated the typings around the
arguments to match `prettyDOM` and moved it to the `./pretty-dom.d.ts`
file.
* Do not use `Parameters` type
2019-10-10 13:05:36 -07:00
Jeff Gu Kang
a55beed407
[parse] Add Schema class ( #39024 )
2019-10-10 13:04:46 -07:00
anadutova
1033c4efd3
Update useMediaQuery parameter list ( #39034 )
...
According to the documentation (https://www.npmjs.com/package/react-responsive#forcing-a-device-with-the-device-prop ), the 'device ' object can have the following keys:
orientation, scan, aspectRatio, deviceAspectRatio, height, deviceHeight, width, deviceWidth, color, colorIndex, monochrome, resolution and type
This list is matched by the 'MediaQueryMatchers' interface.
2019-10-10 13:04:29 -07:00
angrykoala
83d8ffc9c6
fixes Puppeteer evaluateHandle parameters ( #39020 )
2019-10-10 13:04:05 -07:00
Ethan Resnick
0a3c43f606
fix(pino): fix redact options type ( #39021 )
2019-10-10 13:02:26 -07:00
Jose Granja Martinez
716985520a
Using HandleCardPaymentWithoutElementsOptions type to be able to use { payment_method: '{PAYMENT_METHOD_ID}' } option as well ( #39027 )
2019-10-10 13:01:38 -07:00
Jasmin Bom
549983f526
Remove wrong |undefined from promises and remove remaining callbacks. ( #39031 )
2019-10-10 13:00:49 -07:00
Alex Povar
aed6042848
Allow to use argument matchers in withArgs() ( #38738 )
2019-10-10 12:59:32 -07:00
Christoph Tavan
3190056069
Bump @types/getenv to 1.0.0 ( #38995 )
...
getenv 1.0.0 has been released (with no API changes compared to 0.7).
2019-10-10 12:58:10 -07:00
Erick Delfin
7a26429cbf
[twilio-video] Add Network Quality stats for Participant ( #38930 )
...
* Add NetworkQualityStats for Participant
* chore: use consistent spacing in tests
* Set correct nullable properties for NetworkQuality stats
2019-10-10 12:53:29 -07:00
Yuri Sulyma
aa35480024
[mathjax] add menuSettings.renderer ( #39005 )
...
* Narrower typing for getOption and setOption
* Add "div" to CoordsMode (not documented in manual, but present in source code)
* Move catchall on/off below ones with explicit names so that handler arguments get correct typing
* Narrow type of event parameter for DOMEvent handler
* Fix string type accidentally left unnarrowed
* Added menuSettings.renderer
2019-10-10 12:52:56 -07:00
SangYeob Bono Yu
1c71024f16
[kdbush] update for v3.0.0 ( #38913 )
...
[kdbush] update for v3.0.0
update dependent package
2019-10-10 12:48:17 -07:00
Dmitri Dimitrioglo
ddb204ce3a
[Square-connect] Use const enums ( #38917 )
...
* Updated types for square-connect
Added optional constructor information, and ApiClient definition.
* Switch from enums to types (by code-review request)
* [Square-connect] Add tests
2019-10-10 12:36:19 -07:00
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