Commit Graph
51504 Commits
Author SHA1 Message Date
Marc Ghorayeb d2d41a9f46 [async] Default E to Error and add auto polymorphism for optional arg (#29825)
* feat(async): default callback error to Error type

* feat(async): polymorph auto method
2018-10-18 08:46:19 -07:00
Dhaifallah Alwadani b007f98951 Expo - rename Fingerprint to LocalAuthentication (#29823)
* Expo - rename Fingerprint to LocalAuthentication

With Expo V30.0.0, Fingerprint has been renamed to LocalAuthentication.

* move v27 to its own subfolder

* update version in tsconfig path

* [tslint] add new line
2018-10-18 08:43:44 -07:00
Dimitar Danailov cb48a328f9 Chai fs - Github Id has a mistake (#29808)
* Repo has a support for chai-fs. My pull request doesn't covers this
combination:
expect(path).to.be.a.file(msg).with.contents.that.match(/xyz/, msg);

* Remove blank line, downgrade typescript version to 2.0.0 and
strictNullChecks are equal to true.

* Fix build issue with typescript verion.

* Remove "v" from version.

* Typescript version should be: 2.2

* fix lint issues

* Fixed Github URL tag.
2018-10-18 08:41:02 -07:00
Klaus Meinhardt 1eb7d6dbdb add types for storage-helper (#29806)
* add types for storage-helper

* review comments

* simplify return type

* revert change to tslint.json
2018-10-18 08:39:58 -07:00
Angus Comrie b3b680e6c4 chartJS: adds minor and major tick options (#29791)
* adds minor and major tick options

* updated to include additional options for major and minor ticks
2018-10-18 08:39:00 -07:00
Forbes Lindesay f46aa0bfb1 Add types for auth-header (#29779)
* Add types for auth-header

* Address Feedback
2018-10-18 08:37:35 -07:00
Dan Manastireanu da78ffb13c Update express/responseTime function (#29738) 2018-10-18 08:34:38 -07:00
Clark Stevenson ade3a164f3 Pixi.js v4.8.2 Update (#29826) 2018-10-17 14:35:45 -07:00
Roberto Soares 9b6cdf78d9 Add types for test-console (#29802)
* @types/test-console: Add types for test-console

* @types/test-console: callbacks as required

* @types/test-console: exporting all types and interfaces
2018-10-17 14:27:05 -07:00
Arne Schubert b43d91458b Adding new files for npm module leakage (#29821) 2018-10-17 14:25:45 -07:00
Oscar Busk 74fb6c506a Fix mergeAll having wrong returntype (#29820) 2018-10-17 13:07:56 -07:00
Andy d8bab0f3be More fixes from dtslint improvements (2) (#29799) 2018-10-17 12:59:50 -07:00
Leonardo Donelli 53af59d83f Add shuffle-seed typings (#29798)
* Add shuffle-seed typings

* Add strictFunctionTypes tsconfig param, fix linter errors

* Improve shuffle-seed type definition, use generics
2018-10-17 11:57:09 -07:00
Dhaifallah Alwadani 6a8e7c47a1 fix type of Event interface (#29812)
startDate and endDate of an Event interface should accept Date object
2018-10-17 11:51:42 -07:00
Ryan Nickel 0d93cb3f90 [@types/react-native] Add missing scrollEnabled property (#29787)
* Add missing scrollEnabled property

* Fix for tslint
2018-10-17 11:48:06 -07:00
Li Zhen 611f9afd2d Add new @types/kos-core package (#29800)
* Add new @types/kos-core package

* Fit to lint format

* Fix for Travis CI

* Fixed interface prefix rules for Travis CI

* Remove redundency tslint config.

* Remove redundency tslint config.

* Rename 'Kos' to 'KOS'

* Add type control

* Update comment

* Fixed wrong dt-header

* Remove patch version in dt-header
2018-10-17 11:00:23 -07:00
Dan Manastireanu 9cc590e08b [chartist] Add stackMode property (#29817) 2018-10-17 10:41:54 -07:00
Takuma Suzuki 0c9e5f3d40 Make return value of LinkifyIt.match nullable (#29810) 2018-10-17 09:04:04 -07:00
Guillaume RODRIGUEZ 9224cf6311 [intercom-web] Add internal booted attribute (#29805) 2018-10-17 09:02:39 -07:00
denisname ded7656520 d3 v4 and v5: activate strictNullChecks (#29797)
* d3 v4 and v5: activate strictNullChecks

Add jsDoc

* Oops
2018-10-17 09:02:05 -07:00
Juan José González Giraldo 68765b81a8 Add critters webpack plugin (#29796)
* Added critters-webpack-plugin definition

* Modified to allow export default

* Minor fixes

* Added TypeScript version

* Added missing strictFunctionTypes

* Added version

* Removed patch from version and removed unnecesary asterisks in jsdocs

* Added new line at end of @deault statements on jsDocs

* Empty the first line of every jsDoc
2018-10-17 09:01:19 -07:00
Tom Raviv 6a357014b9 [murmurhash] fix optional seed argument (#29788)
* fix murmurhash optional argument

* improved readability of jsdocs
2018-10-17 08:58:26 -07:00
Ste Prescott 83b0f8edf0 Expose properties of HttpProxyAgent (#29745)
* Expose properties of HttpProxyAgent

* Use 4 spaces over tabs

* Remove options & timeout properties
2018-10-17 08:53:06 -07:00
Lenny 8a34268189 [@types/stripe] deleteExternalAccount should return IDeleteConfirmation (#29673) 2018-10-17 08:50:32 -07:00
Dan Manastireanu 5ae6d3dd4f Update amplitude-js to 4.4.0 (#29649) 2018-10-17 08:46:32 -07:00
Dimitry fb1a9771d4 react-native-video: add tolerance to seek method (#29640)
* react-native-video: add tolerance to seek method

* react-native-video: add allowsExternalPlayback prop
2018-10-17 08:44:11 -07:00
Eunchong Yu 2a4a6d66af [koa-websocket] Fix to match with its implementation (#29611)
* Fix koa-websocket to match with its implementation

The major change is about `Middleware`. Koa-websocket doesn't inject
`this` argument to its middlewares. Instead, additional properties are
appended on the Koa context.

https://github.com/kudos/koa-websocket/blob/master/index.js

* Extract Context.websocket

It's necessary to use well with other middlewares,
like koa-router or else.

* Add Context.app to be able to access ctx.app.ws

* Add a test about Context.app

* Remove the target requirement
2018-10-17 08:41:51 -07:00
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