Commit Graph
65421 Commits
Author SHA1 Message Date
Alexander T 160bc540b5 oembed-parser: Provides its own types (#39486) 2019-11-01 08:08:45 -07:00
Dmytro Gokun f49f88dec0 [mapbox-gl] update definitions to align with mapbox-gl-js 1.5.0 (#39961)
* [mapbox-gl] update definitions to align with mapbox-gl-js 1.5.0 (https://github.com/mapbox/mapbox-gl-js/releases/tag/v1.5.0)

* [mapbox-gl]: Fix type definitions header + update lint rules to validate it.
2019-11-01 08:06:43 -07:00
Luiz Machado 5e44c2e345 Revert "rename folder to make it work for Swiper 5.x (#39968)" (#40022)
This reverts commit 20d3870dc8.
2019-11-01 08:06:34 -07:00
Joel Denning 1387ad621b Add types for systemjs@6 (#39372)
* Add types for SystemJS@6

* Self review

* Fixing build

* Fixing things

* Self review

* Switching from namespace to const.

* Fixing tests

* Review feedback

* Merging namespace into const

* Removing unneeded suppression
2019-11-01 08:06:23 -07:00
Alexander T f2b8b3b4e0 notyf: Provides its own types (#39484) 2019-11-01 08:06:00 -07:00
Alexander T 1481ed3807 navigation-react: Provides its own types (#39475) 2019-11-01 08:05:53 -07:00
Alexander T e2ae23ff33 koa-requestid: Provides its own types (#39453) 2019-11-01 08:05:41 -07:00
Alexander T 446cb62274 material-components-web: Provides its own types (#39460) 2019-11-01 08:05:18 -07:00
Alexander T 0767699127 zipkin-instrumentation-express: Provides its own types (#39445) 2019-11-01 08:04:57 -07:00
Abhinav Srivastava c3770b5a23 adding models for ignite (#39417) 2019-11-01 07:52:09 -07:00
Sergio Nizama 5e724a89a8 [@types/react-material-ui-form-validator 2.0.9] Added missing SelectValidator export. (#39396)
* Added missing export for SelectValidator

* fixed linting errors

* added ValidatorComponent definition

* changed indentention of props to make it more readable
2019-11-01 07:51:44 -07:00
ocavue db42458e8a [@types/prosemirror-transform] Fix canSplit type (#39380)
* fix canSplit

* update version

* revert version update
2019-11-01 07:51:17 -07:00
Arne Deruwe aa561f1dfa [DropZone] Prettier formatting + updated some fields in DropZoneOptions (#39345)
* applied prettier ruleset

* Fixed some linting rules, a lot of work still remains
edited dropzone version and added my name to maintainers

* Updated DropZoneOptions interface to reflect the current docs:
- added function type to url property
- added function type to method property
- replaced thumbnailMethod and resizeMethod to a union type as they can only contain 2 specific strings as options
2019-11-01 07:50:44 -07:00
Jonathan Flower 2561381939 added getState prop for react-redux-toastr 7.6 (#39305)
* added getState prop for react-redux-toastr 7.6

* improved whitespace

* fix missing simicolon
2019-11-01 07:48:19 -07:00
Elizabeth Samuel d58af468c0 [office-js] [office-js-preview] (Outlook) Mailbox 1.8 (#39984)
* [office-js] [office-js-preview] (Outlook) Mailbox 1.8

* Link to Item subclasses

* Update event.completed

* Update link

* Updates based on feedback

* Update handler comments
2019-11-01 07:45:51 -07:00
Matt Krick 23ebe0869c relay-runtime: Add overloads to proxies (#40049)
* add generics to storeTypes
add getRelayHandleKey

* lint

* link up to updater

* simplify with [never]

* use overloads

* lint

* add tests

* add extra test to ensure objects with extra props can be passed through
2019-10-31 23:28:54 +01:00
Anders Hejlsberg 853958ca36 Fix mergerino types and tests in preparation for TS #34742 (#39924)
* Fix mergerino types and tests in preparation for TS #34742

* Preserve type annotation for TS versions before 3.5

* Revert change to FunctionPatch<T> and fix test accordingly
2019-10-31 06:14:06 -07:00
Agilit-e 1bf8b34a9d Initial upload of V7.0 of 'agilite' node module @types definition (#39146)
* Initial upload of V7.0 of 'agilite' node module @types definition

* Initial upload of V7.0 of 'agilite' node module @types definition

* Applied fixes as per travis test result

* Refactored agilite types according to reviewer feedback

* Formatting fixes to agilite
2019-10-30 17:49:39 -07:00
Justin Hall 4b67565486 [react-helmet] relax htmlAttributes and bodyAttributes types (#39983)
* style(react-helmet): format with prettier

* fix(react-helmet): relax htmlAttributes and bodyAttributes types

This preserves type-checking of known attributes but also allows for arbitrary attributes like
`data-*`.
2019-10-30 11:25:56 -07:00
Asitha de Silva a04f0db950 Stripe - CreateLoginLink Redirect Option (#39979)
* CreateLoginLink - Redirect Option

* CreateLoginLink - Redirect Option
2019-10-30 11:22:01 -07:00
Alex Jerabek 9617fb31f2 [office-js-preview] Fixing AttachmentsChangedEventArgs object links (#39977)
* Fixing object links

* PR Feedback
2019-10-30 11:20:27 -07:00
axelfran 9226bb28bb Add transfer_group to type definitions for Stripe update charge. Documentation: https://stripe.com/docs/api/charges/update (#39976) 2019-10-30 11:16:41 -07:00
Tom Yam cd1e6eb888 [@types/jquery.fancytree] various fixes (#39974)
Add missing expandAll() method
https://wwwendt.de/tech/fancytree/doc/jsdoc/Fancytree.html#expandAll

All options to filter are optional
https://github.com/mar10/fancytree/blob/v2.33.0/src/jquery.fancytree.filter.js#L353

Fix typing for filter.mode option: can be either "dimm" or "hide"
"string" seems like just a mistake, the code doesn't use it

All translation strings are optional
This is because options are deep merged
https://github.com/jquery/jquery-ui/blob/1.12.1/ui/widget.js#L324
https://github.com/jquery/jquery-ui/blob/1.12.1/ui/widget.js#L180

toggleEffect can be false
From the docs: Animation options, false:off
2019-10-30 11:16:02 -07:00
Konstantin Azizov b6ca97ece0 [recharts] mark most of array props as readonly (#39970)
Recharts does not modify them internally and having 'readonly' modifier allows both readonly and non-readonly arrays to be passed through
2019-10-30 10:28:34 -07:00
Hao Chen 446815c8ae fix: axisPointer.label.margin should be number (#39969)
* fix: axisPointer.label.margin should be number

(xAxis | yAxis).axisPointer.label.margin should be number instead of boolean.

* fix: color type

color type is not limited to string. It can be `string`, `Linear gradient`, `Radial gradient` or `Fill with texture`.
2019-10-30 10:25:16 -07:00
Asher Nguyen 20d3870dc8 rename folder to make it work for Swiper 5.x (#39968) 2019-10-30 10:24:18 -07:00
Max Komarychev bb846d4225 detox: fix typo in device.takeScreenshot (#39963)
relevant docs: https://github.com/wix/Detox/blob/master/docs/APIRef.DeviceObjectAPI.md#devicetakescreenshotname
2019-10-30 10:23:28 -07:00
Tom Jenkinson 70d9e5e15f add isOurError() to Opossum (#39950)
* add isOurError() to Opossum

* add to 'definitions by'

* prettier

* update version

* remove patch version
2019-10-30 10:14:31 -07:00
Pierre Lebrun 78c8295f88 Update onFilterChange function signature (#39958)
Add type argument to onFilterChange function signature, which now accepts 3 arguments instead of 2.
https://github.com/gregnb/mui-datatables
2019-10-30 10:13:47 -07:00
Rauno Viskus e7d0af6a9d [uuid] Allow native Buffer in place of number[] (#39956) 2019-10-30 10:12:17 -07:00
Sam Hinshaw 500811ec0e Update types for chardet v0.8 (#39953)
* Update types for chardet v0.8

* Fix extraneous spaces
2019-10-30 10:05:39 -07:00
Calvin Chhour d3e0b091b0 Updated some gestalt components (#39952)
* Updated types for some gestalt components

* Removed change to toast prop
2019-10-30 10:02:37 -07:00
Rodolfo Aguirre 30dbac58e4 webpack: add Stats.presetToOptions method (#39947)
* Add `Stats.presetToOptions` method

* Fix typo

* Improve jsdocs

* Fix spacing
2019-10-30 09:38:08 -07:00
Johnson Lee abf21ab54d fix: update type of eureka-js-client config object (#39945) 2019-10-30 09:37:39 -07:00
John Grisham abfe27a31d Added property disable boundary checks to react-avatar-editor. (#39943)
* Added disableBoundaryChecks optional prop to react-avatar-editor and updated test.

* Added name to definitions by list
2019-10-30 09:36:41 -07:00
Emmanuel Gautier 734108d3a0 mongoose: connection config (#39678) 2019-10-30 09:32:02 -07:00
Søren Høyer 88485344d6 [relay-runtime] Export ConnectionInterface (#40011)
* export ConnectionInterface

* Formatting
2019-10-30 17:08:22 +01:00
Daniel Cassidy 5fad4d66bc node: Fix missing CustomPromisify for fs.link. (#39675)
* node: Fix missing CustomPromisify for fs.link.

* node: Fix missing CustomPromisify for fs.link.

Backporting fix to node v8 - v11.
2019-10-30 08:42:29 -07:00
wolfy1339 f74064b512 [node] Add stream.Writable#writableEnded property (#39440)
* [node] Add stream.Writable#writableEnded property

It was added in NodeJS v12.9, and isn't included in these types
https://nodejs.org/api/stream.html#stream_writable_writableended

* Add stream.Duplex#writableEnded from stream.Writable
2019-10-30 08:41:18 -07:00
Nikita Galkin f8f8f81464 node: Improve signals declaration (#39912)
* Add deprecation signals constants at constants module

* Add missed SIGBREAK, SIGLOST and SIGINFO os.constants signals

* Add galkin as mainteiner
2019-10-30 08:34:38 -07:00
Rubens Pinheiro ef07008344 [@types/webpack] Configuration as a function (#39390)
* [@types/webpack] Configuration as a function

Webpack option is supported as a function which can return:
- Configuration (for Compiler)
- Configuration[] (for MultiCompiler)
- Promise<Configuration> (for Compiler)
- Promise<Configuration[]> (for MultiCompiler)

Resources for types of options here:
https://webpack.js.org/configuration/configuration-types/#exporting-a-function

Resource for arguments of the configuration function here:
https://webpack.js.org/api/cli/#environment-options

* Unification of types
2019-10-30 08:32:53 -07:00
Michael Adams 22d8ac0200 [plotly.js] - add types for treemap (#39937) 2019-10-30 08:11:53 -07:00
Chiciuc Nicușor cd09bfd5ce [meteor]: Added OptionalId<T> to insert() method. Inspired by @types/mongo (#39933)
* Added OptionalId<T> to insert method. Inspired by @types/mongo

* Fix the tests.

* Defined 'UnionOmit' in such a way that applying it to a union type would work.

* Fix spelling error.
2019-10-30 08:07:39 -07:00
hasezoey e01bb1556b Allow "RegExp" in pre(method) (#39925) 2019-10-30 08:06:08 -07:00
Joe Flateau bb58538ffb [video.js] change plugin test so that it does not include the test plugin in the types (#39915)
* all plugins are optional, so plugins option should be a Partial<>

* fix whitespace

* fix plugin test so that the test plugin isn't packaged w/ types
2019-10-30 08:05:37 -07:00
Taylor Yelverton 92e12e8810 ActionCable: CreateMixin excess properties can be any type. (#39418)
ActionCable.CreateMixin acts as, literally, a class mixin, thus, its properties can be anything.

See: https://github.com/rails/rails/blob/master/actioncable/app/assets/javascripts/action_cable.js#L328-L336
2019-10-30 07:39:28 -07:00
PopGoesTheWza d77ee72756 stampit 4.3 - better typing through generics (#39188)
* stampit 4.3

* fix `Error: stampit: Older version 3 must have a path mapping for itself.`

* fix`baseUrl` & `typeRoots`

* Some dtslint compliance

* header fix

* enhance

* tests

* tslint:disable

* naming

* fix refs/props changes + ExtendedDescriptor

* more $ExpectType tests

* Tentative `MethodMap` fix

* Updated  `MethodMap`tests

* additional testing (failing)

* fix `Composable` signature
2019-10-30 07:35:36 -07:00
Gerhard Stöbich 5bf2bc31a5 [node] re-add export to http2 (#39992)
Add export for http2 types again which were removed in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/39914

I don't know why test haven't discovered this nor why export is needed there.

Refs: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/39914
Fixes: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/39986
2019-10-30 07:17:01 -07:00
Søren Høyer 2056d9c793 [relay-compiler] Add missing types for upcoming relay-compiler-language-typescript (#39995)
* Add assertEnumType to Schema

* Add assertInputObjectType to Schema

* Add Connection interface

* Add RelayCompilerError.d.ts and export createUserError for use in relay-compiler-language-typescript

* Fix linting errors

* Set TypeScript Version: 3.4 for relay-compiler and relay-config that depends on relay-compiler

* Revert to TypeScript Version: 3.0 for relay-compiler and relay-config and use ReadonlyArray<> syntax

* Add back strong typing ot Connection value prop replacing any with TypeReferenceNode
2019-10-30 14:32:20 +01:00
Tony Ward 5c197f5c39 react-router-dom: add "ariaCurrent" prop (#39987)
Options matching https://github.com/ReactTraining/react-router/blob/master/packages/react-router-dom/modules/NavLink.js#L99
2019-10-30 05:16:06 +00:00