Commit Graph
66214 Commits
Author SHA1 Message Date
Florian Bischoff 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 Rieder 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 Jerabek 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 Mohan 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ås 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 REGO 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 Filippou 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
vanny96 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 Zhong 446608b6e0 [react-naitve] fix YellowBox type (#40817)
* [react-naitve] fix YellowBox type

* add test
2019-12-10 11:07:27 -05:00
Joey Rafidi 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 Bardy 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 Probst 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 Farmer 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 Farmer 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 Helms 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 Silbermann 94ed859516 feat(react-swipeable-views-utils): Add types (#40588) 2019-12-09 15:18:40 -08:00
Ian Luca 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
Lazyuki 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
rbarbazz 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 Albright 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
sjoseph7 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 Yu 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' Sundragon 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
thinca a277fa20b5 Use ExecException for child_process.execFile() (#40896) 2019-12-09 07:31:32 -05:00
Michael Hebron e2f32d245c Add crossOrigin to SVGAttributes (#40880) 2019-12-09 07:24:39 -05:00
Jack Leigh 01ed977216 ramda: Remove myself from maintainers (#40906) 2019-12-09 07:20:53 -05:00
falsandtru 3aa84acdd6 power-assert: follow-up to https://github.com/microsoft/TypeScript/issues/35566 (#40903) 2019-12-07 18:59:45 -08:00
Filip Stanis 106f446de2 Update AMP validator (#40673) 2019-12-07 15:51:57 -08:00
falsandtru 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-Graf da9b4a8b88 - Added missing property (#40863) 2019-12-07 13:40:07 -08:00
Viktor Hedefalk 48addad317 removes the wrong assumption that headers are alkways set (#40876) 2019-12-07 13:28:38 -08:00
mtgto 0495ae4111 plotly.js: Move direction from Layout to PlotData (#40889) 2019-12-07 12:37:06 -08:00
Michał Ciechan 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
翠 / green 53730360f7 Update KaTeX to v0.11.1 (#40647) 2019-12-06 20:28:09 -08:00
Caleb Clarke 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 Lin 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
Tim 8d4c5a5695 [@types/google.visualization] adding missing tooltip action methods for charts / removing nonexistent methods (#40631) 2019-12-06 18:27:12 -08:00
JP Lew 019d9c6e2d add innerHTML prop and make all props optional (#40501) 2019-12-06 16:48:45 -08:00
Erik Källén 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
Andrew Goodale 7e83843cd1 [react-native] Fix SectionList component type and add missing methods (#40835)
* Fix SectionList component type and add missing methods

* Replace the "any" with the correct type

* Add `getScrollResponder()` and `getScrollableNode()` methods
2019-12-06 16:42:32 -08:00
Thijs Alofs 827ac349bc [chart.js] Added missing property z (z-index of gridline layer) to GridLineOptions. (#40872) 2019-12-06 16:39:49 -08:00
Tom Bertrand b98550aab3 Add missing typings for react-mentions v3.3.0 (#40829)
* Add missing typings for react-mentions v3.3.0

* Update react-mentions version in header to 3.3
2019-12-06 16:38:03 -08:00
Raschid J.F. RafeallyandYago Tomé bdaccfdf4b Feature/parse/various (#38878)
* feat(parse): add Cloud job functions; SaveOptions.cascadSave; Object.revert(keys)

* Apply suggestions from code review

Co-Authored-By: Yago Tomé <yagotome@gmail.com>

* refactor(SaveOptions): move cascadeSave opt to its own interface

...in order to keep consistency with the rest of the options.

* refactor: upgrade version to 2.2.9

* fix(Parse.Config): update params for functions `get` and `save`

* feat(LiveQuerySubscription): add default events

* fix(Query): function subscribe() should return a Promise

* improve(File): add missing constructor variations

* bump version to 2.3.0

* feat(Object): add function

* fix(ParseObject): remove  as return type of fetchFromLocalDatastore()

* refactor(parse/File): use union type instead of several constructors

* feat(parse/File): add function getData()

* chore(parse): bump version
2019-12-06 16:37:22 -08:00
Ole André Vadla Ravnås 3b047be851 Sync frida-gum typings with Frida 12.7.25 (#40868)
Changelog at:

        https://www.frida.re/news/2019/09/18/frida-12-7-released/
2019-12-06 16:32:18 -08:00
StraightOuttaCrompton 6f49a850bf Added missing VictoryPortal type definitions with tests (#40748) 2019-12-06 16:31:31 -08:00
Alex Jerabek c19078e5c2 [office-js, office-js-preview] Specifying table name restrictions (#40867)
* Specifying table name restrictions

* Typo
2019-12-06 16:30:52 -08:00
Aruneko 3c833a19a1 Fix missing argument defintion in nuxtjs__auth (#40840)
* fix missing argument defintiion

* fix type definition
2019-12-06 16:28:28 -08:00
Alex Jerabek 512557d9bb [office-js, office-js-preview] Excel updates from CDN (ExcelApiOnline 1.1) (#40830)
* Excel updates

* Adressing text issues

* Adressing text issues
2019-12-06 15:50:44 -08:00
Pierre-Antoine Mills e8add0e478 [ramda] cleanup (#40738)
* chore: replace `Ensure` with `Clean` alias

* chore: update ts-toolbelt

* fix: return type of match

* chore: moved type utilities to tools.d.ts

* chore: move merge type utilities to tools

* chore: move merge utilities + info header

* chore: update ts-toolbelt

* fix: lint, tool imports

* fix: import

* fix: comment lint

* fix: lint

* chore: move MergeAll

* fix: export utility types

* fix: lint

* chore: flatten declaration

* fix: typo

* chore: remove references

* chore: remove old project

* chore: move references to OTHER_FILES.txt

* chore: readme

* fix: export global nsp
2019-12-06 15:47:41 -08:00
TypeScript Bot 7ebf9c4e34 Update CODEOWNERS (#40879) 2019-12-06 13:42:31 -08:00