Commit Graph

18818 Commits

Author SHA1 Message Date
Howard Yeh
42e2274e9b react-native specialized Component class (#9060)
* react-native specialized Component class

* react-native native component methods

* react-native move global static outwards

* react-native fix typedef bugs
2016-04-25 23:50:02 +09:00
Gergely Sipos
1dc239e241 Highland: fix for HighlandStatic generics (#9091)
_(Promise<SingleValue>) should return Highland.Stream<SingleValue>
and
_(Promise<Array) should return Highland.Stream<Array>
2016-04-25 23:48:47 +09:00
Voislav
66a568104a update declarations to latest 2.3.6 version. keep 2.3.1 versions files (#9039)
* update declarations to latest 2.3.6 version. keep 2.3.1 versions files

* rename 2.3.1 tests file to use propper naming convention
2016-04-25 23:48:14 +09:00
Klaus Reimer
d4c9dc3197 Add type definitions for wrap-ansi (https://www.npmjs.com/package/wrap-ansi) (#9090) 2016-04-25 23:47:15 +09:00
Dave Templin
b97c0d5a22 mongodb.d.ts fixes to enable Promise and async-await (#9064)
* mongodb.d.ts fixes to enable Promise and async-await

* Update mongodb.d.ts
2016-04-25 23:44:19 +09:00
basvis
3e3e5ac859 Added isReady and onReady definitions to ITranslateService (#9037) 2016-04-25 23:44:02 +09:00
Pavel Martynov
f9c4465170 angular-protractor.d.ts - fix for waitForAngular (#9088)
Even citing to heredoc:
* @return {!webdriver.promise.Promise} A promise that will resolve to the
*    scripts return value.
*/

and this is not Promise<void>. This is Promise<any>.
2016-04-25 23:34:59 +09:00
Nicholas Albion
129f08fb20 i18next.t("foo", {returnObjects: true}) returns an Object (#9077)
* `t("foo", {returnObjects: true})` returns an Object

* `t("foo", {returnObjects: true})` returns an Object

* () will return Object you will have to cast it to any to access properties
2016-04-25 23:34:26 +09:00
Marcus David Bronstein
53a84ee857 adding microgears definitions (#9084) 2016-04-25 23:28:27 +09:00
Milan Burda
2989fcf3d3 Update to Electron 0.37.7 (#9086)
* Update to Electron 0.37.7

* Add Electron specific process API
2016-04-25 23:23:46 +09:00
pafflique
ed7feb8223 jest.mock should accept optional factory (#9079)
https://facebook.github.io/jest/docs/api.html#jest-mock-modulename-factory
2016-04-25 23:11:05 +09:00
James Trinklein
58e16ecbc3 Update restify types add route spec (#9082)
* restify: fix compile errors in test file

did not compile without error when compiling with:
`tsc --noImplicitAny restify/restify-tests.ts`

* restify: add RouteSpec interface
2016-04-25 23:10:54 +09:00
Markus Wagner
2d448c0a31 Update log4javascript.d.ts (#9081)
constructor for LoggingEvent added
2016-04-24 00:04:01 +09:00
Brad Zacher
250c3afd48 added material-design-lite definition and tests (#9080) 2016-04-24 00:02:31 +09:00
Florian Hämmerle
7084dd9c28 allow other than string for state (#9067)
also objects are allowed (as in the official Hapi.js Cookie Tutorial: http://hapijs.com/tutorials/cookies)
2016-04-24 00:01:46 +09:00
Gregor
24ea8d373a Update hellojs.d.ts (#8304)
This update will also give you the ability to use import/require imports in your projects like this:

`import * as hello from 'hellojs';`
or
`import hello = require('hellojs');`

Otherwise, TS will always say module 'hellojs' is undefined (if included as `import 'hellojs`)
2016-04-23 23:53:25 +09:00
Stephen Lautier
32f2a3b467 feat(es6): added support for es6 modules (#9071) 2016-04-23 23:52:08 +09:00
hellopao
1fa3e10e01 update cluster module for node.d.ts (#9074) 2016-04-23 23:39:14 +09:00
TANAKA Koichi
3abab28a3e sequelize: fix FindOptions (#9073)
Fix FindOptions.attributes. Now allows a object having include and/or exclude properties.
http://sequelize.readthedocs.org/en/latest/api/model/#findalloptions-promisearrayinstance
2016-04-23 23:36:34 +09:00
Greg O'Connor
ed728ac598 react-select: Allow placeholder to be an Element (#9061) 2016-04-23 23:35:52 +09:00
katashin
458feddf12 Update Vue v1.0.16 -> v1.0.21 (#9069) 2016-04-23 23:32:48 +09:00
Joshua
8ee5d20860 Fix incorrect constraints typings. (#9068) 2016-04-23 23:32:25 +09:00
Luke Venn
51ac3c4520 Added RegExp typing to 'path' argument descriptions (#9065) 2016-04-23 22:55:43 +09:00
Jon Sheppard
e735ebe1d3 react-bootstrap: add missing function props to Modal (#9063)
* react-bootstrap: add missing function props to Modal

* Updated type definition as requested.
2016-04-23 22:55:14 +09:00
Howard Yeh
362675c31d Add Dimensions module to react-native (#9056) 2016-04-23 21:56:20 +09:00
Evgeny
49bc73bf55 added Platform.is method (#9047)
* added

* change definition of "is" method

Platform -> platformName
bool -> boolean

* add test for "is" method

not sure if it works :)
2016-04-23 21:53:58 +09:00
vvakame
a7b9b1adbf fix line ending about normalizr/normalizr-tests.ts 2016-04-23 16:47:04 +09:00
AmirSaber Sharifi
477643b46b add koa-mount (#9055) 2016-04-23 16:43:36 +09:00
Paul Chen
eef739049c Add strongly typed overload to CodeMirror.defineMode (#9025) 2016-04-23 16:43:21 +09:00
Ville Orkas
71b4d6f608 Fix es6-promise all generic type overloads (#9050) 2016-04-23 16:43:04 +09:00
Dmytro Kulyk
5c5c3d26a1 Add jquery-backstretch definitions. (#9046)
* Add jquery-backstretch definitions.

* Fix jquery-backstretch definitions.

* Fix jquery-backstretch definitions header.
2016-04-23 16:37:25 +09:00
Sean Kelley
fc4a666145 Lodash: Remove thisArg from everything except _.bind. (#8781)
* Remove thisArg from everything except _.bind.

* Fix most of the tests: in most cases, deletethe thisArg version, in a few, just delete the thisArg parameter and leave the rest.

* Fix last _.reduce test.

This one was probably actually wrong: `{}` was failing to match `TResult` so it
was instead matching the `any` from the `thisArgs` signature and compiling, even
though that was not the intent of the test. Casting the accumulator to `ABC` selects
the correct overload.
2016-04-23 16:17:43 +09:00
Sean Kelley
7c32a54894 Lodash: update mapvalues, frompairs, pickby (#8783)
* Make the predicate parameter to _.pickBy optional.

* Add explicit typings for _.mapValues.

* Repair dummy typings for _.fromPairs to be more correct and add implicit/explicit versions.

* Remove non-existent 2-iteratee versions of _.mapValues.

* Preemtively remove thisArg from ONLY the added _.mapValues so the merge with #8781 goes well.
2016-04-23 16:09:20 +09:00
John Reilly
c43012fb5d Merge pull request #9028 from jasekiw/addjQueryAjaxSettingsToPostAndGet
add post and get overloads for JQueryAjaxSettings. add tests for each…
2016-04-23 08:07:17 +01:00
Ivan Vasilov
2a83c342f7 Add all keyword to chai-as-promised (#9041)
* Add all to promised assertions.

* Changed the definitions to match chai.d.ts.
2016-04-23 16:03:04 +09:00
J08nY
44d3872606 fix: Physijs.d.ts Scene.setGravity() accepts Vector3 (#9042) 2016-04-23 15:59:44 +09:00
Long Lazuli
3a44f976ba Update React - Adds SVG <use> & <symbol> to the JSX IntrinsicElements (#9012)
* Adds SVG USE & SYMBOL to the JSX IntrinsicElements

* Reverse ReactDom changes
2016-04-23 15:59:14 +09:00
ToastHawaii
35cd1dc5e7 Add typedefinition for normalizr. (#9040)
* Create normalizr.d.ts

* Added files via upload
2016-04-23 15:48:23 +09:00
Isman Usoh
7492a4ca9f declare ReactHelmet namespace and fix error (#8929)
* declare ReactHelmet namespace and fix error

* Update react-helmet-tests.tsx
2016-04-23 15:38:49 +09:00
Riccardo Volonterio
c8714d2d2b Update turf.d.ts (#9035)
Exported as module, so can be used like a module.
2016-04-23 15:24:30 +09:00
Péter Babcsány
47363c7222 Update restangular.IProvider.setErrorInterceptor method signature to be compatible with Restangular 1.5 (#9032) 2016-04-23 15:22:08 +09:00
Prasanna V. Loganathar
b56b92096d MatchArgs can also take a string (#8221)
MatchArgs `location` is either a HistoryModule.Location, or a url string, which is converted to location automatically.
2016-04-23 15:21:33 +09:00
yortus
0754cc639a Initial typings for babel v6 (#9031)
* add babel v6 definitions (6 modules)

- babel-core
- babel-generator
- babel-template
- babel-traverse
- babel-types
- babylon

* fix failing tests

- remove nullable annotations (not supported in tsc1.8.7)
- explicit 'any'
- remove property type guard (not supported in tsc1.8.7)
2016-04-23 15:21:08 +09:00
Thomas Hourlier
fa4c230580 Add createMemoryHistory to react-router. (#8728)
Since the version 2.0.0, react-router exports createMemoryHistory.
2016-04-23 15:19:41 +09:00
Abhishek Garg
cc42f09bd1 Add missing option for expandable (#8989)
* Add missing option for expandable

Add missing grid option `expandableRowScope` for expandable grid

* Added ng.IScope type for expandableRowScope
2016-04-23 15:13:50 +09:00
Evan Hahn
db57ec3afd Improve Helmet publicKeyPins definitions (#9017)
`helmet.publicKeyPins` takes an object of a certain shape instead of any
Object.
2016-04-23 15:12:45 +09:00
Evan Hahn
b20485f598 Add dnsPrefetchControl definition to Helmet (#9018) 2016-04-23 15:12:35 +09:00
Cody Lundquist
e2de8d512a Allow Url type to be passed into setUrl() (#9008) 2016-04-23 15:04:11 +09:00
Jason Gallavin
4cdfbe96b6 add post and get overloads for JQueryAjaxSettings. add tests for each of the items 2016-04-17 17:32:36 -04:00
vvakame
544a35a108 update CONTRIBUTORS.md 2016-04-18 01:09:47 +09:00