Commit Graph

48170 Commits

Author SHA1 Message Date
Wojtek Czekalski
da8f444b22 Fix InferableComponentEnhancerWithProps type inference for StatelessComponent (#27781)
* Fix InferableComponentEnhancerWithProps type inference for StatelessComponent

The inferred component should require the difference of props supplied by connect
and props needed by the component to be passed during render.

* Remove ambigous bidirectional type inference
2018-08-02 09:49:21 -07:00
Kartik Malik
6f8d56fbbf Adding definitions for fastGet, fastPut in ssh2-sftp-client (#27638)
* Adding definations for fastGet, fastPut in ssh2-sftp-client

* Adding proper ssh2-streams typing for ssh2-sftp-client functions fastGet and fastPut

* Adding type for return value of fastGet and fastPut
2018-08-02 09:49:02 -07:00
Oliver Joseph Ash
c0912e8b26 Lodash: fp.pickBy: incorrect inference when predicate has type guard (#27370)
* Lodash: `fp.pickBy`: add failing type guard test

* Lodash: `fp.pickBy`: use generic for property value instead of generic to fix FP test

* Lodash: update generated typings

* Lodash: `fp.pickBy`: add overload for user-defined type guard with `NumericDictionary`

* Lodash: update generated typings

* Correct `predicate` type of `pickBy`

* Lodash: update generated typings

* Rename `ObjectIteratorTypeGuardWithoutCollection` to `ValueKeyIterateeTypeGuard`

* Lodash: update generated typings

* Constant `userDefinedTypeGuard`
2018-08-02 09:47:53 -07:00
Andy
8b639c78c6 snapsvg: Fix setTimeout call (#27793) 2018-08-02 08:07:27 -07:00
Andy
ee47e12f13 angular-desktop-notification: Change USVString to string (#27798) 2018-08-02 08:07:04 -07:00
Andy
57ed6e767c angular: Fix test (#27778) 2018-08-02 08:06:17 -07:00
Andy
12e25558ec blazy: Support HTMLCollection in 'load' (#27787) 2018-08-02 08:05:27 -07:00
Andy
9c040fa5f1 phonegap-nfc: Fix test (#27789) 2018-08-01 18:38:46 -07:00
Andy
ad43909272 react-event-listener: Change MouseWheelEvent to WheelEvent (#27791) 2018-08-01 17:09:19 -07:00
Andy
4598f49db1 Fix new --strictNullChecks errors from updated lib.dom (#27786) 2018-08-01 16:50:36 -07:00
Emilio Martinez
827402a303 feat(webpack): add compilation dependency sets (#27747) 2018-08-01 15:45:23 -07:00
denisname
41eca014e1 document.body is possibly 'null' in TypeScript@next (#27782) 2018-08-01 13:53:31 -07:00
Garrett Smith
a5544dce7b single-spa-react: typings (#27777)
* single-spa-react: typings

* fix ts version
2018-08-01 13:10:15 -07:00
Andy
992112dedc ns-api: Remove redundant jsdoc (#27775) 2018-08-01 12:13:35 -07:00
Akim Bassa
37acee0d1c @types/react-select: Add missing property 'showNewOptionAtTop' to ReactCreatableSelectProps (#27629)
* @types/react-select: Add missing property 'showNewOptionAtTop' to ReactCreatableSelectProps

* Remove trailing whitespace.

* Remove trailing whitespace
2018-08-01 12:11:06 -07:00
ondratra
404e051500 hapi - request's pre & preResponses type fix (#27631) 2018-08-01 12:07:58 -07:00
Brian Crowell
3f5b9e5f0e [couchbase]: Ensure OpCallback is composable with normal callbacks (#27639)
The documentation gets weird about the API promising to return *some* kind
of value that evaluates to false, even if that might be the number zero.
The original types author expressed that as CouchbaseError | number, but
that makes it seem like the result could be some non-zero number.

I don't know whether the library actually issues callback(0) calls, but to
make it play better with normal callbacks (err?: Error), we will act as if
it uses null instead of zero.
2018-08-01 12:05:04 -07:00
Junyoung Clare Jang
f8379fa8b0 Add gradient-string typings (#27736) 2018-08-01 12:00:28 -07:00
JounQin
a4193f5adb [hoist-non-react-statics] fix: support custom Props, exclude known react statics, improve test cases (#27745)
* fix: support custom Props, exclude known react statics, improve test cases

* feat: prototype is included in KNOWN_STATICS
2018-08-01 11:49:29 -07:00
Peter Safranek
71017d2b65 Add typings for gulp-template (#27748) 2018-08-01 11:48:10 -07:00
Andy
c908458222 bricks.js: Fix test (#27764) 2018-08-01 11:46:59 -07:00
Andy
89b7422ba5 clipboard-js: Fix test (#27765) 2018-08-01 11:46:35 -07:00
Andy
6e84013ebc cqrs-domain: Fix lint (#27766) 2018-08-01 11:46:11 -07:00
Andy
fbdb59354a gl-texture2d: "type GLenum" no longer available in typescript@next (#27772) 2018-08-01 11:45:13 -07:00
Andy
4a683428f4 lunr: Remove redundant jsdoc (#27773) 2018-08-01 11:44:20 -07:00
Harry Cruse
e24f2b1508 [recharts] Allow DataKey function to return null, and add missing attributes to LineProps & XAxisProps (#27751) 2018-08-01 11:39:29 -07:00
Daniel Papukchiev
13f8c453e1 [@types/aws-lambda] Add Firehose lambda event and transformation helpers (#27731)
* Add Firehose to aws-lambda

* Add one more link for reference

* Change some interface names, remove irrelevant S3 interface, add special callback

* Fix tests
2018-08-01 11:39:21 -07:00
Gady
0d4583d282 Remove Gady from contributors (#27763) 2018-08-01 11:38:40 -07:00
Hao
4c71c23098 modify getPlayers in video.js (#27757) 2018-08-01 11:38:26 -07:00
Jimmy Shimizu
253339569f fix: Correct KeepAlive settings for 2.2 and 3.x versions (#27753) 2018-08-01 11:38:08 -07:00
Victor Widell
3d473f170a Fixed domain tuples. (#27754)
The length of all domain tuples should be 2, not an arbitrary length.
2018-08-01 11:37:49 -07:00
Nokito
ca12f22b4d [@types/playcanvas] Fix AnimationComponent.getAnimation return type (#27718) 2018-08-01 11:37:35 -07:00
flushentitypacket
45312d9c1b Add typing for Transition children as function. (#27693) 2018-08-01 11:35:53 -07:00
ncochard
67403cebf2 The function withInfo in @storybook/addon-info should accept 0 or 1 argument (#27733)
* The function withInfo in @storybook/addon-info should be able to accept no arguments.

* The function withInfo in @storybook/addon-info should be able to accept no arguments.

* The function withInfo in @storybook/addon-info should be able to accept no arguments.

* Corrected the version number of @storybook/addon-info. This type definition was only tested with version 3.4.8 of @storybook/addon-info

* Corrected the version number of @storybook/addon-info. This type definition was only tested with version 3.4.8 of @storybook/addon-info
2018-08-01 11:35:36 -07:00
Juanjo Diaz
459a7bd262 Update flatten method signature (#27752) 2018-08-01 11:34:44 -07:00
Alan Plum
48a6bcba6f Add proper ArangoSearchView API (#27756) 2018-08-01 11:34:35 -07:00
Simon Schick
29d45249cd fix(yar): add missing session id property (#27761) 2018-08-01 11:33:59 -07:00
Knuddels
794cbd6ada new version of Knuddels-App API (#27760)
* fixed missing static modifier

* Set correct version

* Padded version number to be internally safe.

* Updated version to match desired MAJOR.MINOR format from DefinitelyTyped

* fixed test to match types

* replaced inline-docs with references to documentation-website and fixed formatting to prevent linting issues

* upgradedto new version of api + replaced docs with links to docs
2018-08-01 11:33:40 -07:00
Takuya Fujiwara
bb7fd65716 [@types/gl-matrix] add static method vec2#angle() (#27740)
* [@types/gl-matrix] add static method vec2#angle()

* [@types/gl-matrix] add test for vec2.angle()
2018-08-01 11:32:34 -07:00
Shinigami
b44a62d479 Add types for agent-base (#27730) 2018-08-01 11:24:28 -07:00
Forbes Lindesay
cdcc5dd4ff Add types for sane-email-validation (#27739) 2018-07-31 15:46:09 -07:00
Rafał Filipek
b6f7118f87 react-no-ssr typings (#27738)
* react-no-ssr typings

* fix tests
2018-07-31 15:45:03 -07:00
Louis-Dominique Dubeau
e425a450ce node: add the 3rd parameter to URLSearchParams.forEach (#27732)
The documentation for [URLSearchParams.forEach][1] shows that the
callback function will be called with 3 parameters. This has been true
since Node 6. This commit adds a definition for the 3rd parameter to
the definition files for Node 6, 7, 8, 9 and 10.

[1]: https://nodejs.org/api/url.html#url_urlsearchparams_foreach_fn_thisarg
2018-07-31 15:43:02 -07:00
Scott Trinh
9a41d9b636 [knex] Multi-column whereIn clauses with subqueries and QueryCallbacks (#27727)
* Allow specifying multi-column whereIn clauses

* Allow subqueries and callbacks in WhereIn interface

* Use Value instead of string for values

* Use union type to make WhereIn more concise

Also remove duplicated WhereIn interface
2018-07-31 15:41:53 -07:00
Junyoung Clare Jang
d42bb4a536 Add type definition for figlet (#27705)
* Add type definition for figlet

* Remove method interfaces
2018-07-31 15:41:07 -07:00
Horus Lugo
ca3b5ac683 Update definitions of @types/react-portal 4.0 (#27702)
* Adds typings for react-portal 4.0

* Extend interfaces with React.Props<any>

* Updates required TypeScript version for react-portal@3.0.
2018-07-31 15:34:23 -07:00
Banst
13fed7d346 [lazy.js] Add missing methods and fix args on TestCallback (#27604)
* 🐛 add missing attribute to Pipeline interfacce

* Revert "🐛 add missing attribute to Pipeline interfacce"

This reverts commit d45b38583de61af98cd4f749ff8b27b6d8801c37.

* 🐛 add missing attributes to Pipeline interface (without auto format)

* 🐛 add second arg to TestCallback and complete sequence definitions
2018-07-31 15:09:24 -07:00
Emmanuel Gautier
e20d154eb6 umzug mongodb storage (#27547)
* umzug mongodb storage

* make mongodb storage connection optional
2018-07-31 15:01:44 -07:00
denisname
c252eedb85 d3-hierarchy: JsDoc (#27619)
* Use `this` to simplify HierarchyXxx Interfaces

* Add JsDoc

* Add test and remove `size(null)`
2018-07-31 12:33:50 -07:00
Christoph Koseler (Akelius)
c47fec2e66 Add declarations to create Transaction from ConnectionPool and Request from Transaction (#27728) 2018-07-31 12:26:56 -07:00