Commit Graph
66243 Commits
Author SHA1 Message Date
Vilius Pranckaitis 8a20cf059d swagger-ui-dist: Change layout field to accept any string (#41005) 2019-12-13 09:21:44 +00:00
Leonidas Arvanitis 7f6e442b7e [fancytree] Add ext-persist's getPersistData() return type (#41001) 2019-12-13 09:21:00 +00:00
Alexey Fyodorov a971af3010 Update types declaration for version 0.17 (#40976) 2019-12-13 09:20:29 +00:00
SteVen Batten ce01910897 VS Code 1.41.0 Extension API (#40998) 2019-12-12 11:51:27 -08:00
Nathan Shively-Sanders dd4016e519 Update status badges (#40978)
Point to dev.azure.com/DefinitelyTyped instead of /Microsoft.
2019-12-11 13:30:12 -08:00
Илья b325764a0b Update option to current version (#37711)
* Update option to current version

Based on this docs: https://github.com/webpack-contrib/webpack-hot-middleware#client

* Update index.d.ts

* Update index.d.ts

* refactor: spacing

* Update index.d.ts
2019-12-10 15:35:11 -05:00
Juliette Regimbal b7a07d95dd [diva.js] Add types for diva.js (#37803)
* Initial commit autogenerated with dts-gen

* Add public functions to Diva class

* Add Settings definition.

* First attempt at adding Events

* Apply linting, fix default export to include class and Events

* Simple tests

Ensure the Diva class constructor exists along with the Events class.
Check that Diva class functions work.

* Move interfaces to separate file.

* Set members of Diva class.

* Add Region and Dimensions interfaces.

* Add definition for Viewport class

* Add Offset interface

* Add DocumentLayout class

* Move interfaces to interfaces.d.ts

* Add types for Renderer class

* Add ViewerCore class types, use in index.d.ts

* Move Settings type declaration to interfaces.d.ts

* Add settings member to Diva

* Change ViewerState.renderer type from object to Renderer

* Type of ViewerState.viewport from object to Viewport

* Use global import in tests.

* Add ImageManifest class.

* Replace XMLHttpRequest with Promise<Response>

Diva.js uses fetch(), which returns a Promise<Response>.

* Add types for the ViewHandler

* Properly type members of Viewport
2019-12-10 15:32:58 -05:00
Oliver Joseph Ash 2813a35bf6 react-modal: add portal instance property (#40714)
* `react-modal`: add `portal` instance property

* Improve example
2019-12-10 15:17:54 -05:00
Dongjun Lee 6635206ca2 mongoose-paginate-v2: support read opts, mongoose: tiny typo fix (#40763)
* mongoose-paginate-v2: support read opts for determines the MongoDB nodes from which to read.

* mongoose-paginate-v2: sync package version

* mongoose-paginate-v2: fix version

* mongoose: fix docstring typo
2019-12-10 15:16:39 -05:00
Dmitry GurovichandGabriel c81db2f7a1 Added negotiateLocale(key) to angular-translate (#40757)
* Added negotiateLocale(key)

* Added original jsdoc from source lib

* Removed excessive types from jsdoc

* Removed excessive param annotation from jsdoc

Co-Authored-By: Gabriel <gabriel@gabrielgil.es>
2019-12-10 15:15:43 -05:00
Dan 99e4510d84 plotly.js: Icon's ascent/descent are optional (and deprecated) (#40721) 2019-12-10 15:01:26 -05:00
Nikolai Lopin affd3f2db8 [@types/react-cookies] Add definitions (#40802) 2019-12-10 14:42:28 -05:00
Andrei Kazakou cb8149a21d Added 'node-loggly-bulk' package support (#40798)
* Added 'node-loggly-bulk' package support

* Fix LogglyBulkConstructor interface constructor
2019-12-10 14:41:39 -05:00
taoqf 7256a9b80d add types jsreport-chrome-pdf (#40790)
* add types jsreport-chrome-pdf

* jsreport-chrome-pdf: add options

* [jsreport-chrome-pdf]: add missing prop
2019-12-10 14:36:40 -05:00
Jon Bevan 6fe250fdc7 Add types for timeout option in Analytics constructor (#40706)
This is passed to axios to control HTTP request timeouts
2019-12-10 14:30:09 -05:00
Guillaume Fraux 2d0fd6b8b5 Plotly.js tweaks (#40702)
* More support for partial update with Plotly.restyle

* marker symbols can be string or numbers

Plotly documentation do not match their behavior here

* Allow to change axis title in plotly.relayout
2019-12-10 14:28:51 -05:00
Lyanbin e5dde9ff8b update: update the jsescOption options for babel_generator (#40696) 2019-12-10 14:26:02 -05:00
Sebastian Gug c5fb79f535 Update index.d.ts (#40672)
Azure Cosmos DB with Gremlin API does not support fluent API yet, it was further postponed to first half of 2020.

As a workaround, we are using the translator to submit fluent api queries as 'script'.

However, we cannot initialize a translator that works with Azure's CosmosDB based based on an AnonymousTraversalSource or GraphTraversalSource, this type must allow for the 'string' possibility.

The correct usage with Azure's cosmos db is: 

```
const translator = new gremlin.process.Translator('g' as any);
``` 
Currently this works.

Related stackoverflow thread: 

https://stackoverflow.com/questions/58815569/azure-cosmos-gremlin-nodejs-how-to-submit-fluent-query-as-script-not-bytecod/59056304#59056304
2019-12-10 14:24:12 -05:00
JIACHENG9 e0052e8906 [@types/node] Add close event to FSWatcher (#40912) 2019-12-10 14:17:29 -05:00
Joe Bowbeer 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 Spronsen 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 Molotkov 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 Durante 37a51dc3fa ISubscriptionUpdateOptions looks for a default_source instead of source parameter (#40902) 2019-12-10 14:11:49 -05:00
Brian Ingles 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 Vandermeer 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 Klassen ff3f79c71d Add DamerauLevenshteinDistance to natural (#40837)
https://github.com/NaturalNode/natural/commit/22f2780bccaf92242aa5bd25ab7ce508a748195b
2019-12-10 14:01:40 -05:00
Fabien O'Carroll 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 Cytrowski 3d9ff934a5 Adds missing background property types (#40921) 2019-12-10 13:57:37 -05:00
enkryptor 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 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