Commit Graph
51477 Commits
Author SHA1 Message Date
Leonard Thieu bbf1adeeac [jquery] Add preDispatch and postDispatch methods. Fix weak type issues. (#29750)
* [jquery] Add `preDispatch` and `postDispatch` methods.

See https://github.com/jquery/api.jquery.com/issues/752.

* [jquery] Fix weak type issue for `SpecialEventHook`.

* [jquery] Fix weak type issue for `FixHook`.

* [jquery] Add interface for `jQuery.valHooks`.

* [jquery] Fix weak type issue for `ValHook`.

* [jquery] Add interface for `jQuery.cssHooks`.

* [jquery] Properties on `CSSHook` are optional.

* [jquery] Use polymorphic `this` for `settings` parameter.

* [jquery] Wrap `StatusCodeCallbacks` in a region.

* [jquery] Split `@since` tag for consistency.
2018-10-16 14:42:42 -07:00
Lak Moore 5037781c9a ElasticSearch - add "slices" option to UpdateDocumentByQueryParams and update Response too (#29717)
* Add slices option to UpdateDocumentByQueryParams and update Response for slices

* 'npm run lint elasticsearch' would not pass without adding this extra export

* Proposed changes for adding slices to request and response for Update and Delete ByQuery and ReIndex

* ReIndexOrByQueryResponseBase => ReindexResponseBase

* Simple type test for client.reindex()
2018-10-16 14:41:21 -07:00
Robert Baruck 2ebc83a318 [react] add typings for react-close-on-escape (#29789)
* [react] add typings for react-close-on-escape

* TASK: make component default export
2018-10-16 12:56:31 -07:00
Tomek Łaziuk 09a6331c19 [jasmine-data-provider] adding a new definition (#29772)
* init

* strict fix

* fix strict-export-declare-modifiers

* change required ts version

* Revert "change required ts version"

This reverts commit 6ec355299606fb5b19b45126d8d4c0090f139ab0.

* apply requested changes
2018-10-16 11:01:36 -07:00
Quinn Langille 422eb6b392 [opossum]: add more robust types for CircuitBreaker class (#29770) 2018-10-16 10:26:21 -07:00
Leonard Thieu c3cbb348e2 [jquery] Add includeMargin parameter to .outerHeight() and .outerWidth() setters. (#29756)
* [jquery] Add `includeMargin` parameter to `.outerHeight()` and `.outerWidth()` setters.

See https://github.com/jquery/jquery/blob/354f6036f251a3ce9b24cd7b228b4c7a79001520/test/unit/dimensions.js#L477-L484.

* [jquery-awesome-cursor] Add missing `dom` lib target.

* [jquery-toast-plugin] Add missing `dom` lib target.

* [jquery.growl] Add missing `dom` lib target.

* [materialize-css] Disable `unified-signatures` rule for plugin overloads.

These overloads follow the jQuery plugin pattern and are effectively separate methods.

* [ng-cordova] Update promise types to be compatible with changes from `ng.IPromise`.

Ref: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/23115

* [ng-tags-input] Add missing `dom` lib target.

* [p-loading] Add missing `dom` lib target.

* [summernote] Add missing `dom` lib target.

* [swig-email-templates] Add missing `dom` lib target.

* [materialize-css] Unify signatures according to feedback.

See https://github.com/DefinitelyTyped/DefinitelyTyped/pull/29756#pullrequestreview-165249412.
2018-10-16 10:15:06 -07:00
AJ Livingston 67d82a3999 Add @types/next-server / port @types/next lib (#29724)
* ported next lib to next-server

* lint fixes

* updated exports from next-server

* added maintainers from next to next-server

* removed deprecations from next-server

* added return value `false` to ServerRoute.match

* fixed formatting
2018-10-16 10:13:11 -07:00
Andy b7551a869d Remove "dom" lib from packages using react-native (#29766) 2018-10-16 10:06:18 -07:00
scott willeke 5042e40f78 react-mentions types (#29773)
* react-mentions types

* fixed typescript version error.
2018-10-16 09:47:05 -07:00
Laurens Rietveld 6b25326d51 N3: Added missing option for writer (#29786) 2018-10-16 09:30:07 -07:00
Georg 8d90941b74 update react-widgets DateTimePicker (#29776)
* update react-widgets DateTimePicker

* push version
2018-10-16 09:28:37 -07:00
DomParfitt af02400a93 Fixed incorrect method name for d3-graphviz (#29775)
* Initial commit

* Began defining functions

* Added top level exported function, options interface and Graphviz object interface

* Added more definitions

* Added dom lib

* Added more definitions

* Updated config

* Added required TS version

* Updated some parameters to be optional

* Updated definitions per API

* Fixed selection extension methods

* Added module declaration

* Formatting

* Updated names

* Re-ordered to match the API with sections

* Added Engine type

* Added TypeNames type

* Added KeyMode type

* Added more definitions and comments

* Updated to use generics matching other d3 libraries

* Updated arrays to be fixed size

* Added documentation

* Updated return type

* Added some tests

* Made parameter optional

* Updated DOT attributes

* Updated callbacks

* Linting fixes

* Removed unnecessary generics

* Updated callbacks

* Fixed incorrect method name
2018-10-16 09:27:44 -07:00
Malash 48c35f45d5 [weixin-app] Support HMAC-SHA256 (#29769) 2018-10-16 09:25:39 -07:00
Josh Goldberg 66c9ea288f Allowed import { debounce } from "debounce"; (#29768)
* Add test for debounce.debounce

Corresponds to update in library.

* Updated debounce/index.d.ts for debounce.debounce

* Update index.d.ts

* Update index.d.ts
2018-10-16 09:25:14 -07:00
Brooks Patton 05acb13921 NewRelic functions addCustomAttribute and addCustomAttributes takes strings and numbers (#29767)
* AddCustomAttribute takes a string or a number

* Added Brooks Patton to contributors for New Relic

* Bumped minor version
2018-10-16 09:23:01 -07:00
Surya Law 07562f364d add destination amount and account for Stripe connect. (#29764) 2018-10-16 09:22:03 -07:00
Florian Keller e773ece94a Add types for image-type (#29740) 2018-10-16 09:02:56 -07:00
gautejohan 1969b1a47c Add type definition for tcp-port-used (#29732)
* Add type definition for tcp-port-used

* Remove rules from tslint.json
2018-10-16 09:02:50 -07:00
Sophie Kirschner 68506559f1 Fix incorrect upng-js definitions (#29739)
* Fix incorrect upng-js definitions

* Rename ImageTab => ImageTabs in upng-js defs
2018-10-16 09:02:02 -07:00
Daniel 9a785a5926 Add types for react-countup (#29730)
* Add types for react-countup

* Update ts config

* Update types

* Add additional props
2018-10-16 08:58:04 -07:00
Richard Lea 03dadc776c fix(less): type definitions on options and rootFileInfo (#29631)
* fix(less): type definitions on options and rootFileInfo

Signed-off-by: Richard Lea <chigix@zoho.com>

* fix(less): addition to tests including newly defined options

Signed-off-by: Richard Lea <chigix@zoho.com>

* fix(less): support number for math option

Signed-off-by: Richard Lea <chigix@zoho.com>
2018-10-16 08:56:12 -07:00
Kamil Wojcik 8328afe0bb bugfix (redux-form) Add missing parameter to onChange method (#29636)
* - [redux-form] add missing parameter to onChange function

* - test added

* - fix tests
2018-10-16 08:47:41 -07:00
Hajo Aho-Mantila 48ef7e30ae Change return type of expects to Promise<any> (#29622) 2018-10-16 08:45:38 -07:00
imechZhangLY 5af0c27b9f Added type definitions for react-draft-wysiwyg (#29614)
* Added type definitions for react-draft-wysiwyg

* fixed test bug

* Add typescript version

* Enable strictFunctionTypes

* Fix test errors

* Add type void for expression

* Fix error

* Add declare

* Add tslint rules

* Delete namespace

* Add constructor

* Set strictFunctionTypes
2018-10-16 08:44:41 -07:00
Andy Hanson 7d616512eb ember-resolver: restore old path mappings, disable '--strictFunctionTypes' because ember/v2 has errors 2018-10-15 18:08:52 -07:00
Andy Hanson 8ba8445cae ember-resolver/v4: Fix dependencies / TS version 2018-10-15 17:51:37 -07:00
Leonard Thieu 1cfcb1ad3b [jquery] Add Animation API. Fix weak type issue for jQuery.speed. (#29712)
* [jquery] Add Animation API.

See https://blog.jquery.com/2012/08/09/jquery-1-8-released/.

* [jquery] Organize Effects section.

* [jquery] Fix weak type issue for `jQuery.speed`.

* [jquery] Fix minor documentation issues.

* [jquery] `stop` and `timer` don't need to be properties.
2018-10-15 17:47:42 -07:00
Andy 7c6c96516e More fixes from dtslint improvements (#29765) 2018-10-15 17:35:36 -07:00
Andy 537a12f8aa Assorted tsconfig fixes (#29760)
* Assorted tsconfig fixes

* Undo ember__object changes
2018-10-15 16:17:32 -07:00
Simon Schick df80e09009 feat(node): 10.12 (#29689) 2018-10-15 16:05:08 -07:00
Mike North 8dc6dff0dc [@ember/object] remove all 'import ember' from tests (#29761) 2018-10-15 15:43:57 -07:00
Avi Vahl 661c43dbea [webpack] avoid recursive import (#29698)
- fix recursive import between `webpack` and `webpack-dev-server`
- `webpack-dev-server` already augments the `webpack.Configuration` interface, so if a user needs that field, he should install @types/webpack-dev-server.
2018-10-15 15:20:36 -07:00
Nikolaj Kappler 314d070458 added typings for the panel plugin. (#29660)
* added typings for the panel plugin.

* newline at eof

* added linebreaks in JSDoc comments

* improved readability
2018-10-15 15:19:38 -07:00
Michael Read 9ff41e1480 Need to define what file we're importing. Getting an error when trying to compile: "error TS2307: Cannot find module '../..'." (#29754) 2018-10-15 13:26:08 -07:00
Cody Sand 3e8e17c51b add types for react-star-rating-component (#29713)
* add types for react-star-rating-component

* react-star-rating-component: set TS version to 2.8 to match react.

* use ES-style export and update tsconfig to allow `esModuleInterop`
2018-10-15 13:25:39 -07:00
Olly Levett 575e59f2fe Add tabs overloads (#29618)
fixes #24990
2018-10-15 12:55:35 -07:00
DomParfitt 78715c422a Adding d3-graphviz definition (#29741)
* Initial commit

* Began defining functions

* Added top level exported function, options interface and Graphviz object interface

* Added more definitions

* Added dom lib

* Added more definitions

* Updated config

* Added required TS version

* Updated some parameters to be optional

* Updated definitions per API

* Fixed selection extension methods

* Added module declaration

* Formatting

* Updated names

* Re-ordered to match the API with sections

* Added Engine type

* Added TypeNames type

* Added KeyMode type

* Added more definitions and comments

* Updated to use generics matching other d3 libraries

* Updated arrays to be fixed size

* Added documentation

* Updated return type

* Added some tests

* Made parameter optional

* Updated DOT attributes

* Updated callbacks

* Linting fixes

* Removed unnecessary generics

* Updated callbacks
2018-10-15 12:51:57 -07:00
Greg Jednaszewski ed9ad1949f node-crate: Add createIfNotExists; fix cut & paste error in project URL (#29747)
* Add createIfNotExists; fix cut & paste error in project URL

* Add test
2018-10-15 12:23:19 -07:00
Bartosz ad59680eed Added typings for node-cron v2.0 (#29743)
* Added typings for node-cron v2.0

* Removed typings v1

* Fix TravisCI build

* Fix TravisCI build
2018-10-15 12:21:56 -07:00
Mauri Edo 2772ce84af fix #29696 (#29719) 2018-10-15 11:56:29 -07:00
Daniel Perez Alvarez 299020b815 Create types for trianglify 1.2 (#29714) 2018-10-15 11:54:45 -07:00
Andy 4d41305074 zui: Remove unnecessary "moment" dependency (#29691) 2018-10-15 11:26:40 -07:00
Yash Kulshrestha a88a8724a6 added is-docker@1.1.0 types (#29656)
* added types for yup@0.26

* added types for is-docker

* Revert "added types for yup@0.26"

This reverts commit 025d62ac6109b35361f6e3636fea966d887dde74.

* added esModuleInterop to the tsconfig

* changed the export and forced the typescript version to 2.7"
2018-10-15 11:24:36 -07:00
denisname 09c62bd089 Add deprecated ThresholdArrayGenerator (#29616)
Also improve permute typing and doing some spell checking.
2018-10-15 11:20:09 -07:00
Jasmin Bom 7d4b0655a1 browser.(contextMenus|menus).onShown::info.mediaType is optional (#29628) 2018-10-15 11:16:24 -07:00
Kalle 490b33956e [@types/onoff] Added more types and version number (#29596)
* [@types/onoff] Added more types and version number

* Incorrect header

Added a ">"
2018-10-15 11:07:24 -07:00
Andy 3ff683d1d3 react-native-video: Improve tests (#29583) 2018-10-15 11:02:48 -07:00
Andy f6f6a7c0e2 electron-window-state: Depend on "electron": "*" (#29581) 2018-10-15 11:01:49 -07:00
Pocho 38b41fd0a5 [serialize-javascript] add SerializeJSOptions.unsafe (#29571) 2018-10-15 10:57:49 -07:00
Steve Chun 001d590c7f [@types/detox] Fix for the extra matchers with version bump to 9.0 (#29561)
* Fixed matcher that was not working correctly. Addes extra options for Detox 9

* Comment update

* Reverting unnecessary changes and adding small fix

* Code clean up

* A small description update for the matchers
2018-10-15 10:50:38 -07:00