Commit Graph
66275 Commits
Author SHA1 Message Date
JIACHENG9andOrta e0052e8906 [@types/node] Add close event to FSWatcher (#40912) 2019-12-10 14:17:29 -05:00
Joe BowbeerandOrta 6bcbae23e1 chai.d.ts add .include aliases to Deep, Nested, and Own interfaces (#40904)
* Add .include aliases to Deep, Nested, and Own

chai.d.ts missing .include aliases in Deep, Nested, and Own interfaces

* Only Deep changes are tested

* Test .deep.include aliases

* Add .include aliases to Nested and Own
2019-12-10 14:14:44 -05:00
Timon van SpronsenandOrta 55f6ec8097 [@types/stripe] Update payment intent payment methods (#40769)
* Update payment intent payment methods

* Add myself to "Definitions by" list

* Update tests
2019-12-10 14:13:43 -05:00
Dmitry MolotkovandOrta efa018865a fix(stripe): add off_session and default_payment_method to subscripti… (#40893)
* fix(strapi): add off_session and default_payment_method to subscription update

closes #39279

* fix lint
2019-12-10 14:12:34 -05:00
Daniel DuranteandOrta 37a51dc3fa ISubscriptionUpdateOptions looks for a default_source instead of source parameter (#40902) 2019-12-10 14:11:49 -05:00
Brian InglesandOrta 775e39d3dd Added type for optional onContextMenu prop (#40705)
* Added slate-react onContextMenu prop type

* Added onContextMenu to unit test
2019-12-10 14:06:50 -05:00
Dobes VandermeerandOrta 09468f2a9d [parquetjs] Add useDataPageV2 option, deduplicate opts to interface (#40890)
This declares the useDataPageV2 option, which must be set to false for compatibility with the C++ (and possibly other) implementation of parquet.  BigQuery, for example, does not seem to support the V2 data page.

At the same time I factored out the options to an interface, to reduce duplication.
2019-12-10 14:05:00 -05:00
Emily Marigold KlassenandOrta ff3f79c71d Add DamerauLevenshteinDistance to natural (#40837)
https://github.com/NaturalNode/natural/commit/22f2780bccaf92242aa5bd25ab7ce508a748195b
2019-12-10 14:01:40 -05:00
Fabien O'CarrollandOrta d3d089db11 [@types/stripe] Update IEvent previous_attributes type (#40942)
* [@types/stripe] Added breaking test for previous_attributes

* [@types/stripe] Updated previous_attributes type to hash
2019-12-10 14:01:23 -05:00
Bartosz CytrowskiandOrta 3d9ff934a5 Adds missing background property types (#40921) 2019-12-10 13:57:37 -05:00
enkryptorandOrta 413d1595f3 chart.js - stop(), resize(), clear() return 'this', not empty object (#40936)
* chart.js - signature for stop(), resize(), clear()

* chart.js - resize, clear return "this"
2019-12-10 13:56:25 -05:00
Florian BischoffandOrta 848d5fefee Mongoose: add session? to QueryFindOneAndUpdateOptions interface (#40937)
* add session? to QueryFindOneAndUpdateOptions interface

Needed to run findOneAndUpdate inside of a transaction

* add session param to  QueryFindOneAndRemoveOptions
2019-12-10 13:55:27 -05:00
Anton RiederandOrta 1f91bd7140 [dropzone] Update types for success callback (#40718)
`on("success")` callback:
https://www.dropzonejs.com/#event-success
https://gitlab.com/meno/dropzone/blob/abe7a2af6873feaacec407c0c64cc3842211ad8f/src/dropzone.js#L2239

`success` config:
https://gitlab.com/meno/dropzone/blob/abe7a2af6873feaacec407c0c64cc3842211ad8f/src/dropzone.js#L870-876
2019-12-10 13:42:49 -05:00
Alex JerabekandOrta a142b45977 [office-js, office-js-preview] Adding PDF support note for Excel on the web (#40687)
* Adding PDF support note for Excel on the web

* Converting data to table

* Removing duplicated information

* Removing iOS notes
2019-12-10 13:35:51 -05:00
Kiran Mathew MohanandOrta 99ea8626d0 [@types/dc] updated dc type definitions to latest version (#40649)
* updated dc type definitions to latest version

* changed return types of filter
2019-12-10 13:31:16 -05:00
Ole André Vadla RavnåsandOrta de61eb9181 Sync frida-gum typings with Frida 12.7.26 (#40933)
Changelog at:

        https://www.frida.re/news/2019/09/18/frida-12-7-released/
2019-12-10 13:29:36 -05:00
LUCAS SOARES DO REGOandOrta 1393d55ce6 fix: mask must accept Regex[] type - react-input-mask (#40854)
* fix: mask must accept Regex[] type

* fix: mask must accept Regex[] type
2019-12-10 11:18:40 -05:00
Jim FilippouandOrta 3ecd3a6945 Add file type to both add functions (#40852)
This causes errors on typescript inspections, i'm going to open a PR for this
2019-12-10 11:17:06 -05:00
vanny96andOrta 6c0f853713 Add sticky-session to types (#40704)
* Add sticky session typing

* Add sticky-session to types

* Solve package json issue and updated the project to latest commit

* Added readonly to options, optional where required and added env option

* Remove unused import
2019-12-10 11:11:02 -05:00
Xianming ZhongandOrta 446608b6e0 [react-naitve] fix YellowBox type (#40817)
* [react-naitve] fix YellowBox type

* add test
2019-12-10 11:07:27 -05:00
Joey RafidiandOrta cc312e7c0a Fix a couple option types on Cesium classes ImageMaterialProperty and LabelGraphics (#40703)
* Fix a couple option types on Cesium classes

* More fixes
2019-12-10 11:03:14 -05:00
Nicholas BardyandOrta 05c34ba8ff Make map type optional [ffmpeg-fluent] (#40760)
* Make map type optional

Fix complexFilter type to be optional and accept string as well as string arrays.

* Update index.d.ts
2019-12-10 10:54:57 -05:00
Martin ProbstandOrta 3ccf5966d7 Adjust polymer attributeChangedCallback to spec. (#40800)
* Adjust polymer attributeChangedCallback to spec.

According to the specification at:
    https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-reactions

`attributeChangedCallback` is called "given the attribute's local name,
old value, new value, and namespace as arguments". This also matches
browser implementations and understanding of how things work from
discussion with Polymer engineers (CC @rictic).

* Fix a dtslint issue with TypeScript <3.0.

TypeScript 3.0 and before appears to be confused with the `extends`
property declared here.
2019-12-10 10:50:56 -05:00
Carson FarmerandOrta 70d072f390 Adds types for existing npm module datastore-level (#40932)
* feat: adds interface-datastore types

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* feat: adds datastore-level w/ tests

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* update: simplify interface + options

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* update: better generics

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* update: db is optional

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* feat: default generics

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* fix: omit default generic types

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* fix: omit default generic types

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* fix: missed linter/test catches

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* feat: expose ops property of batch

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* fix: linter fixes

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>
2019-12-10 08:00:58 -05:00
Carson FarmerandOrta dba53a04ff Adds interface-datastore types with tests (#40842)
* feat: adds interface-datastore types

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* feat: default generics

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* fix: omit default generic types

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* fix: missed linter/test catches

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>
2019-12-10 07:59:23 -05:00
Robby HelmsandOrta a7b26a5f90 [@types/parse] 2.10: Stricter Parse.Object attributes type, improve linting, and add tests (#40878)
* parse: Fix tslint issues

* parse: Update ts test cases

* parse: Stricter types for Parse.Object attributes

* Better constructor handling for Parse.Object

* Use keyof T for more attribute parameters and add tests

* parse: Improve Parse.Object method types and add more tests

* Remove Parse.VERSION type as it does not exist in documentation

* Add references for other declaration files to index.d.ts

* parse: Fix constructor types for classes that extend Parse.Object

* parse: Fix Parse.Object child classes

* Return Parse functions to old location for more readable diff

* parse: Remove  for import

* parse: Lint fixes

* parse: Revert to old module declarations for easier diff
2019-12-09 21:55:24 -05:00
Sebastian SilbermannandNathan Shively-Sanders 94ed859516 feat(react-swipeable-views-utils): Add types (#40588) 2019-12-09 15:18:40 -08:00
Ian LucaandOrta ec41facc1a Bookshelf: prettier, methods removed and update options (#40914)
* New require: true documentation

* Remove removed methods

* Add myself to definitions by

* Update version header

* Run prettier

* Add visibility param to Model.toJSON
2019-12-09 17:31:09 -05:00
LazyukiandOrta 9604c51986 [styled-components] Allow static properties to be passed through (#40810)
* [styled-components] Allow static properties to be passed through

* lint

* fix tests

* hoist-non-react-statics like original lib

* fix lint

* fix tests

* remove dependency as it is not required if inside @types anyways

* rm comma
2019-12-09 17:29:12 -05:00
rbarbazzandOrta 6d1d0dbcd2 [PapaParse] Add delimitersToGuess to ParseConfig definition (#40803)
* Add delimitersToGuess to ParseConfig definition

* [delimitersToGuess] GuessableDelimiters type and tests added following PR review
2019-12-09 17:24:13 -05:00
Jeremy AlbrightandAndrew Casey 141ff986a4 [node/readline] expose line/cursor properties + tests (#40513)
The current "line" and "cursor" states are often necessary when developing applications that use readline for prompts.

See https://github.com/nodejs/node/issues/30347
2019-12-09 12:42:48 -08:00
sjoseph7andOrta 3eea7ab402 docs: add usage example & fix: correct fn name for express-list-endpoints (#40809)
* docs: add usage example & fix: correct fn name

* fix: remove patch on type definition version
2019-12-09 14:37:21 -05:00
Chak Shun YuandOrta 9e624679c0 [@types/react-loadable] Remove () => null type definition for loading prop option (#40732)
As that is included in the type definition of `React.FunctionComponent`, which is included in `React.ComponentType`.
2019-12-09 14:35:31 -05:00
Thorbjörn 'Puggan' SundragonandOrta 9d4ba0497a @types/stripe-v3: Element addEventListener and on is alias of eachother (#40652)
* @types/stripe-v3 Element addEventListener and on is alias of eachother

`this.on=this.addListener=this.addEventListener=n` from https://js.stripe.com/v3/

And the documentation for the on-method uses the addEventListener in its exemple.
https://stripe.com/docs/stripe-js/reference#the-element

* stripe-v3: add test for addEventListener()

* stripe-v3: re-order due to linting error

* added 2nd test
2019-12-09 07:32:50 -05:00
thincaandOrta a277fa20b5 Use ExecException for child_process.execFile() (#40896) 2019-12-09 07:31:32 -05:00
Michael HebronandOrta e2f32d245c Add crossOrigin to SVGAttributes (#40880) 2019-12-09 07:24:39 -05:00
Jack LeighandOrta 01ed977216 ramda: Remove myself from maintainers (#40906) 2019-12-09 07:20:53 -05:00
falsandtruandRon Buckton 3aa84acdd6 power-assert: follow-up to https://github.com/microsoft/TypeScript/issues/35566 (#40903) 2019-12-07 18:59:45 -08:00
Filip StanisandRon Buckton 106f446de2 Update AMP validator (#40673) 2019-12-07 15:51:57 -08:00
falsandtruandRon Buckton 017bb09970 power-assert: update assert function (#40731)
* power-assert: format

* power-assert: update assert function

* power-assert: update definitions
2019-12-07 14:28:02 -08:00
Elias-GrafandRon Buckton da9b4a8b88 - Added missing property (#40863) 2019-12-07 13:40:07 -08:00
Viktor HedefalkandRon Buckton 48addad317 removes the wrong assumption that headers are alkways set (#40876) 2019-12-07 13:28:38 -08:00
mtgtoandRon Buckton 0495ae4111 plotly.js: Move direction from Layout to PlotData (#40889) 2019-12-07 12:37:06 -08:00
Michał CiechanandRon Buckton 856744a363 [react-syntax-highlighter] Fix lineProps and codeTagProps (#40753)
Previously good code wouldn't compile because both `props` used
definitions without `React.HTMLProps` which is the correct definition for
the `props object` mentioned in https://github.com/conorhastings/react-syntax-highlighter#props.

All `lineProps` and `codeTagProps` tests have now explicitly defined
`prop` type.
2019-12-07 12:31:24 -08:00
翠 / greenandRon Buckton 53730360f7 Update KaTeX to v0.11.1 (#40647) 2019-12-06 20:28:09 -08:00
Caleb ClarkeandRon Buckton 29d3351101 Add "compact" option to Globalize's CommonNumberFormatterOptions. (#40862)
* Added "compact" option to Globalize's CommonNumberFormatterOptions.
This option was introduced with Globalize 1.4.0

* Fixed indentation

Switched from spaces to tabs for consistency with the rest of the file
2019-12-06 18:30:56 -08:00
Victor LinandRon Buckton 2a1f1fc6af [Enzyme] Allow .find() with class component type parameter (#40642)
* Allow .find() with class component type parameter

* add a quick test
2019-12-06 18:29:52 -08:00
TimandRon Buckton 8d4c5a5695 [@types/google.visualization] adding missing tooltip action methods for charts / removing nonexistent methods (#40631) 2019-12-06 18:27:12 -08:00
JP LewandRon Buckton 019d9c6e2d add innerHTML prop and make all props optional (#40501) 2019-12-06 16:48:45 -08:00
Erik KällénandRon Buckton ce68ae1b6d Remove instances of hard-coded strings. At least one of them (for StringNode) was wrong (#40881) 2019-12-06 16:44:50 -08:00