Commit Graph

66275 Commits

Author SHA1 Message Date
Orta Therox
fb9e2e9f54 Merge branch 'admin_docs' of https://github.com/DefinitelyTyped/DefinitelyTyped into admin_docs 2019-12-18 16:11:44 +00:00
Orta Therox
504a1b7cd2 More docs on admin 2019-12-18 16:10:55 +00:00
Orta
3e999fe549
Update docs/admin.md
Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2019-12-17 12:27:59 +00:00
Orta Therox
57c1638c57 Update admin manual 2019-12-16 17:47:07 +00:00
Orta Therox
85bfc993ac Adds some admin docs 2019-12-16 12:42:41 +00:00
Aditya Thebe
98cbd95421 Added Passport support (#41036) 2019-12-16 11:36:16 +00:00
Takashi Tamura
f069a444f6 [workerpool] Make WorkerPool.prototype.exec and WorkerPool.prototype.proxy typed. (#41035)
Add Proxy type.
2019-12-16 11:33:06 +00:00
Angus Russell
f9ab5155cb unsplash-js update for version 6.0 (#40908)
* Update for unsplash API 6.0

* Update tests for unsplash-js 6.0
2019-12-16 11:32:02 +00:00
ExE Boss
fd17e5dad4 feat(webidl‑conversions): Update to v5.0 (#41006)
* feat(webidl‑conversions): Update to v5.0

* test(webidl‑conversions): Work around TS ≤3.5 bug

* test(webidl‑conversions): Fix tests on TS ≤3.5
2019-12-16 11:31:26 +00:00
Ziyu
9d84944e75 Update selenium-webdriver capabilities (#41043)
* add lib/capabilities.d.ts

* update capabilities to match implementation

* fix test
2019-12-16 11:29:57 +00:00
Wayne Van Son
eee000a782 [sortablejs] adds 5 missing properties in interfaces (#41045)
* [sortablejs] create checkPull and checkPut options

* [sortablejs] create oldDraggableIndex, newDraggableIndex and pullMode options

* [sortablejs] recreate put function again

* remove from in pull function

* [sortablejs] add plugin class to exports.
2019-12-16 11:27:49 +00:00
Linus Unnebäck
31483b781a [parse] Make query modifiers return this (#41022) 2019-12-16 11:07:03 +00:00
Justin Hall
260e3f2f9f feat(testing-library__dom): add screen export (#41052) 2019-12-16 11:05:24 +00:00
evan-hughes
288692b272 Add akamai-edgeworkers (#40716)
* Add akamai-edgeworkers

* PR feedback for Akamai-Edgeworkers
2019-12-13 11:54:59 -08:00
Matthew Hintzke
e70729bb83 Adding TypeScript support for "datadog-winston" (#37983)
* Added typings for datadog-winston

* Updated comments

* Fixing comments which will also kick the Git checks

* Apparently I can't have a PATCH in my version. I thought this was supposed to be the version of the JS package my types target

* Ahh I see now, it is the version of the JS package, just with PATCH omitted

* Updated library to use CommonJS style imports

* Formatting

* Fixing to not use a declare module

* Fixing whitespace

* Fixed typo

* Adding options into a namespace so it can be referenced by consumer
2019-12-13 11:51:27 -08:00
TypeScript Bot
5bd5b2884f Update CODEOWNERS (#41023) 2019-12-13 09:31:08 -08:00
Simon Buchan
03d285dfdc Revert "removes the wrong assumption that headers are alkways set (#40876)" (#40929)
This reverts commit 48addad317.
2019-12-13 10:56:09 +00:00
Justin Hall
2c98773426 fix(theme-ui): simplify SxStyleProp type (#40948)
This allows for spreading an `SxStyleProp` object inside a new object and merging in other
properties before passing to `sx`, like so:

```
sx={{ ...someSxStylePropObj, background: 'red' }}
```

I believe this simplification is now possible due to changes made to the `SystemStyleObject` type
in `@styled-system/css` since these types were initially created.
2019-12-13 10:54:19 +00:00
Bartol Karuza
ac47f5e945 fix(mapbox-gl): add missing accessToken prop on MapboxOptions (#40946) 2019-12-13 10:52:37 +00:00
Aaron Rose
246586e77b @types/braintree webhooks (#40958)
* Webhook Types

* Update index.d.ts

* Update braintree-tests.ts

* Add timestamp to WebhookNotification
2019-12-13 10:51:43 +00:00
dnalborczyk
3b5914b4b9 [@types/aws-lambda] Fix Context.memoryLimitInMB type (#40895)
* Fix memoryLimitInMB type

* Fix aws-serverless-express tests
2019-12-13 10:51:08 +00:00
Kevin Brown
6d36dd2cb1 Added build function to base app type. (#40960) 2019-12-13 10:50:34 +00:00
Victor Hom
4da3f8f64a add support for trackSingle and trackSingleCustom (#40801) 2019-12-13 10:48:46 +00:00
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