Commit Graph

67002 Commits

Author SHA1 Message Date
Peter Boromissza
7559248b2f Add missing types and fix existing types for cbor 5.0 (#40972) 2019-12-13 10:47:14 +00:00
hirochachacha
9e885fc76c types/stripe-v3: add elements.Elements.getElement (#40970) 2019-12-13 10:45:33 +00:00
Ryan McKeel
06d991ed60 react-widgets: fix busySpinner missing from DropdownList typing (#40883)
* react-widgets: fix busySpinner missing from typing

Per https://jquense.github.io/react-widgets/api/DropdownList/, busySpinner is a valid type

* Update definitions by comment

* Bumping version to sync with a specific react-widgets function
2019-12-13 10:40:24 +00:00
Tomasz Pluskiewicz
f7f904f320 fix(rdf-js): match should allow null on optional parameters (#41012) 2019-12-13 10:39:05 +00:00
hirochachacha
02549c083e types/react-stripe-elements: add InjectedStripeProps.elements (#40971) 2019-12-13 09:35:33 +00:00
Shayan Javani
e6f3bd1b96 [@types/ioredis] hgetall returns object (#40966)
* [@types/ioredis] hgetall returns object

changed type of hgetall result from string[] to object

* hgetall returns { [key: string]: string | number }

changed hgetall result type from object to { [key: string]: string | number }
2019-12-13 09:27:55 +00:00
Ovilia
3681030fea [echarts] update links in doc (#40984)
* add option for media query apache/incubator-echarts#9612

* update links in doc
2019-12-13 09:27:07 +00:00
Garfield Lee
8dd8ee6aa4 [@types/carbon-components-react] add missing ReactAnchorAttr types to SwitcherItem (#40991) 2019-12-13 09:23:48 +00:00
Roop Pal
1637adbb91 Add typings to GeometryFactory in jsts. (#40997)
Add createLinearRing and createPolygon. These classes are already defined in typings.
2019-12-13 09:22:57 +00:00
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 Gurovich
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)
22f2780bcc
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
abe7a2af68/src/dropzone.js (L2239)

`success` config:
abe7a2af68/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