Vítězslav Ackermann Ferko
4b598f5dc9
react-loadable fix webpack/node.js compatibility ( #39033 )
...
* Update index.d.ts
According to webpack types
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/f58986ca20210f8e6612942db077b9228740a315/types/webpack-env/index.d.ts#L44
this returns array of strings in node.js and array of numbers in webpack.
* Update index.d.ts
use Array for non simple types
2019-10-14 12:07:14 -07:00
Retsam
47659c6960
[webpack-env] Add overload for require.ensure that omits the errorCallback ( #39046 )
2019-10-14 12:05:22 -07:00
Nick Bartlett
855c080456
📝 typo fix referening -> referencing ( #39061 )
2019-10-14 12:03:59 -07:00
Ahmad Ilaiwi
155e904680
[@types/rebass] update SxProp definition ( #39054 )
...
* [@types/rebass] update SxProp definition
`SxProp` should accept `SystemStyleObject` or `rebass` definition of `sx`
* [rebass] update rebass tests
2019-10-14 12:03:02 -07:00
Gokul
24e1bf9c9d
Updates payment intent parameters ( #38923 )
...
* [Gokul] updates parameters for payment intents
* [Gokul] fixes lint issues
* [Gokul] refactors to accomodate stripe generated cancellation reasons
2019-10-14 12:01:48 -07:00
Thomas Bruun
b648878245
[stripe] Add missing properties on StripeError ( #39016 )
...
* Remove seemingly unintentional property on StripeError
It looks like this was supposed to contain a property name after the readonly keywork, bu instead StripeError now has a property named readonly.
* Add missing properties to StripeError
All properties except statusCode were added in version 7.10.0: https://github.com/stripe/stripe-node/pull/699
* Update stripe version number
2019-10-14 10:54:12 -07:00
Seve Salazar
e5f27c9255
[@types/ember__routing] Add support for Route.render w/ defaults (no args) ( #38790 )
2019-10-14 10:51:13 -07:00
Cotton Hou
d8e3ffcb09
[ramda] remove R.isArrayLike ( #39084 )
2019-10-14 10:49:23 -07:00
Kyle Kaniecki
90eb4f593a
Fixed Fabric Object animation function to include correct parameters ( #39069 )
...
* fixed object animate function to include correct parameters
* credit
* guess not since you can't use gitlab urls
* updated fabric version number
* only allow major and minor patch
* fixed some inaccurate documentation and added properties interface to parameter
2019-10-14 10:48:10 -07:00
Bryan Huang
c2e9725e3d
Upgrade to Viewer v7.2 ( #39074 )
...
* Upgrade to Viewer v7.2
Release notes: https://forge.autodesk.com/blog/viewer-release-notes-v-72
* Upgrade to Viewer v7.4
Release notes: https://forge.autodesk.com/blog/viewer-release-notes-v-74
2019-10-14 10:46:30 -07:00
Cotton Hou
101423c2a1
[ramda] remove R.wrap ( #39099 )
2019-10-14 10:43:58 -07:00
Thierry Régagnon
335e7a9225
[@types/chrome] Add recent Privacy settings ( #39112 )
...
* Add the Privacy Services added with Chrome 70
* Add name to Contributors list and reformat it
* Add recent Privacy's Network and Websites settings
2019-10-14 10:35:33 -07:00
Liz Chhouk Lorenz
9f0c0c30c8
Update promise.allSettled typing for iterables. ( #39066 )
2019-10-14 10:31:52 -07:00
Ben Salili-James
f216a128a7
[dojo] Use gender-neutral pronouns ( #39107 )
2019-10-14 09:01:54 -07:00
Ben Salili-James
3ddcd3ee3e
Use gender-neutral pronouns ( #39053 )
...
* Use gender-neutral pronouns
* Minor tweaks to comments
* Remove 'their' artifact
* Revert Dojo (failing package)
2019-10-14 08:58:56 -07:00
TypeScript Bot
7edc6cb5f6
Update CODEOWNERS ( #39064 )
2019-10-14 08:56:14 -07:00
Dziedziczak Artur
d5daab9ba8
Add types for accurate-interval package ( #39030 )
...
* Add types for accurate-interval package
* Add accurateInterval function callback argument
2019-10-11 09:07:14 -07:00
Max Boguslavsky
dc348fab28
added type for @sentry/webpack plugin ( #39010 )
...
* added type for @sentry/webpack-plugin
* corrected authors
* corrected version
* corrected lint options; expanded sentry plugin interfaces
* updated typescript version
2019-10-11 09:05:56 -07:00
Ben Salili-James
7f8f785356
Add socket.io-emitter types ( #39038 )
2019-10-10 17:21:59 -07:00
Yuichiro Tsuchiya
dc72e8ed3b
Fix @types/slate Data type definition to extend Immutable.Map, not Immutable.Record ( #38772 )
2019-10-10 17:12:00 -07:00
inogo
24472452e4
Update types for google-apps-script-oauth2 library ( #38794 )
2019-10-10 17:05:54 -07:00
Dolan
d3eb25a6ec
Added examples ( #38792 )
2019-10-10 16:58:29 -07:00
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