Commit Graph
54179 Commits
Author SHA1 Message Date
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
Oscar Busk 33f3666a20 Fix issue with properties clashing with jqueryui 2018-10-17 17:45:47 +02: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
Gordon df6abc2a2c Fix line-length issues 2018-10-17 10:05:25 -05:00
Gordon 5ff96dabac Handle stateless components with partial props types 2018-10-17 10:03:44 -05:00
Gordon f9ecbddf58 Define the connectorDescription 2018-10-17 09:37:55 -05:00
Thomas Rayden 335ce7d2d6 path in depopulate is not required
You can call depopulate with no parameters and it will depopulate all populated fields on the document.
https://github.com/Automattic/mongoose/issues/6075
2018-10-17 19:00:29 +08:00
Dom Parfitt ae71fc4b89 Added global tests 2018-10-17 09:28:35 +01:00
Dom Parfitt a1299a5f76 Fixed formatting 2018-10-17 09:10:14 +01:00
Dom Parfitt 54bc5d182c Added global declarations 2018-10-17 08:51:12 +01:00
Gordon b9d5fc0871 Export types from react-instantsearch-core 2018-10-16 21:55:41 -05:00
Gordon e23d84ead0 Add a couple tests to react-instantsearch-core 2018-10-16 21:41:34 -05:00
Gordon 39aa9a3257 Extract many of the definitions into core
This reflects react-instantsearch's actual layout
2018-10-16 21:27:25 -05:00
Gordon 6b3162bec9 Turn on strictNullChecks 2018-10-16 20:43:52 -05:00
Anton Halim 967c1a969c Merge branch 'master' into fix-typo-paramter 2018-10-16 15:31:52 -07:00
Anton Halim 808d887de5 Only fix typo for dojo.dijit.d.ts file 2018-10-16 15:29:47 -07:00
Anton Halim 2fb70c4240 Revert dojo/dijit.d.ts 2018-10-16 15:20:21 -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
Waseem Dahman 5c103e4bd5 [jest-axe] update tsconfig 2018-10-16 15:55:00 -04:00
Gordon 96eb641927 Fix test errors & comment out incomplete tests 2018-10-16 14:42:13 -05:00
Gordon ee4495fefd Ensure 'react' imported in DOM 2018-10-16 14:23:04 -05:00
Gordon e73485bde6 Add files to tsconfig.json 2018-10-16 14:20:14 -05:00
Gordon 2957b69cee Add tests based on examples from doc 2018-10-16 14:12:10 -05: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
Gordon 2ec8d563d7 Fix dtslint errors 2018-10-16 12:32:46 -05: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
Gordon fcb0cd4753 Initial copy over from watermarkresources.com 2018-10-16 12:11:14 -05: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