Commit Graph

21656 Commits

Author SHA1 Message Date
paulmorphy
1a97636e03 Added definition for the missing dns.setServers(servers) method (#11183)
* Added definition for the missing dns.setServers(servers) method

Method is documented here:
https://nodejs.org/docs/latest/api/dns.html#dns_dns_setservers_servers

* Updated definition for dns.resolveMx

The addresses argument passed to the callback function will contain an array of objects
containing both a priority and exchange property:
https://nodejs.org/docs/latest/api/dns.html#dns_dns_resolvemx_hostname_callback
2016-09-15 22:20:21 +09:00
Jonny Stoten
a715a56884 Add some typings for multipart upload (#11223) 2016-09-15 22:19:23 +09:00
Craig
36d40a63a0 types(selenium-webdriver): revert 2.44 as default (#11226)
- previous change would break installing angular-protractor ambient types
- adding myself as author
2016-09-15 08:56:35 +09:00
Igor Oleinikov
ead52a8184 Merge pull request #11228 from Igorbek/fix11203-knockout-array
Knockout: Add specialized signatures for subscribe
2016-09-14 11:51:38 -07:00
Igor Oleinikov
47588ba8f9 [knockout] Introduce specialized signatures for subscribe method, specifically common "change" and "beforeChange"
Add subscribe for "arrayChange" event for observable array (fixes #11203)
Improve KnockoutArrayChange status typing.
2016-09-14 11:27:33 -07:00
Craig
f46e806408 types(selenium-webdriver): version 2.53.1 (#10852)
- moving selenium-webdriver.d.ts to selenium-webdriver-2.44.0.d.ts
- adding in selenium-webdriver.d.ts for version 2.53.1
2016-09-14 22:21:51 +09:00
Leo Rudberg
b73aaa36d3 Fixes #10684 (#10751)
I kept the deprecated `pick` declarations, but added the proposed (JSDoc-influenced) [deprecation annotation](https://github.com/Microsoft/TypeScript/issues/390) to them. The added `pickone` and `pickset` declarations have identical types to their respective `pick` flavors.
2016-09-14 22:20:28 +09:00
Nick Graef
ff71c3d812 enforce action hash type in $resource() (#11212) 2016-09-14 22:20:03 +09:00
TonyYang
3423aa94ff connection are socket are same in IncomingMessage (#11219) 2016-09-14 22:17:36 +09:00
rgozim
81197a3926 Change #Extend PolyMouseEvent interface from MouseEvent interface (#11218)
PolyMouseEvent should inherit from MouseEvent according to google documentation https://developers.google.com/maps/documentation/javascript/3.exp/reference#PolyMouseEvent
2016-09-14 22:16:59 +09:00
TonyYang
8193bc8f6e [node.d.ts] Add definite events for Readable and Writable (#11217)
* Add definite events for Readable and Writable

* Delete comments in cluster

* Recovery cluster

* Remove interface extends events.EventEmitter
2016-09-14 22:13:43 +09:00
Meno Abels
ef6b6ef139 Added https type to Websocket.Server (#11213)
* Added https type to Websocket.Server

Hi,

the current typing misses to pass to the Websocket.Server server option a https Server.

Cheers

meno

* * added a test
* fix the missing typo of http(s)

* improve the test
2016-09-14 22:11:22 +09:00
Jonathon T
489541498b [angular-ui-scroll] Include startIndex parameter on adapter reload() method (#11216)
As per docs here: https://github.com/angular-ui/ui-scroll
`reload()` includes a `startIndex` parameterl;
2016-09-14 22:11:04 +09:00
Ayman Nedjmeddine
2b69abecc8 Updated Validator API to v5.7.0 (#11209) 2016-09-14 22:03:11 +09:00
Cyril Schumacher
e9bd268321 Add definition for "bunnymq" and "strftime". (#11188)
* Add definition for "bunnymq".

* Add definition for "strftime".
2016-09-14 21:58:56 +09:00
Ian Ker-Seymer
3cbdc08f81 Add typings for react-virtualized (#11148) 2016-09-14 21:57:21 +09:00
sguest
5f23898c6f videojs corrections (#11193)
ready() is chainable, on() will provide event object to callback, off() can be called without callback and without event name
2016-09-14 21:56:56 +09:00
Stefan Dobrev
5262c27b6e Fix redux-promise export (#11200)
`redux-promise` is using an old version of Babel which transpiles
`default` export to:
```js
exports['default'] = promiseMiddleware;
module.exports = promiseMiddleware;
```

Fix the declaration file to respect this.
2016-09-14 21:51:20 +09:00
Thomas Champagne
3a0684743e Must be "tooltips" (plurar) instead of "tooltip" (#11180)
...must be "tooltips" (plurar) instead of "tooltip" in ChartOptions

My custom callback given in "ChartTooltipOptions.custom" was never called... :/ "tooltips" (plurar) is OK

Take a look @ http://www.chartjs.org/docs/#advanced-usage-external-tooltips
2016-09-14 21:49:27 +09:00
linusbrolin
73e5a50266 Added an overload for the default mongoose plugin function (#11202)
This fixes typing errors when other plugins (with different types of
options) are used on the same model as this one.
2016-09-14 21:47:12 +09:00
linusbrolin
c404aa6f7b Added typings for the mongoose-sequence plugin (#11201) 2016-09-14 21:46:59 +09:00
Graham Mendick
4280cc2e71 Updated typings and tests for Navigation 3.0.0 (#11196) 2016-09-14 21:45:59 +09:00
Marcy Sutton
ef12b98126 add axe-core definition (#11195) 2016-09-14 21:45:38 +09:00
ShMcK
007f8af1dc Add Atom Grammars (#11194)
See [Atom Grammar Registry Docs](https://atom.io/docs/api/v1.10.2/GrammarRegistry).

Atom grammars can be found by typings `atom.grammars` into the console.
2016-09-14 21:45:16 +09:00
Riad Loukili
c418617826 AppBar type fix (#11192)
Styles should be CSS properties not string. ;)
2016-09-14 21:44:48 +09:00
Milan Burda
2e7debf76d Update to Electron 1.3.5 (#11096) 2016-09-14 21:41:56 +09:00
hriss95
5ee054ac95 [Node.d.ts]: Update definitions for module "crypto" (#11186) 2016-09-14 21:26:40 +09:00
Joshua Efiong
1b2c971798 Added GeoShape classes to typedefs (#11178)
* Added GeoShape classes to typedefs

* Circle style can be SpatialStyle.Options
2016-09-14 21:23:06 +09:00
TonyYang
684fa0d894 [node.d.ts] Correct NodeBuffer.toJSON type (#11177)
* Correct NodeBuffer.toJSON type

* Correct NodeBuffer.toJSON type in Node v4.x
2016-09-14 21:21:03 +09:00
TonyYang
d1171f6895 [node.d.ts] Implement function tests for assert (#11175)
* Implement function tests for assert

* Implement function tests for assert - Node v4.x
2016-09-14 21:20:31 +09:00
TonyYang
f7b0b1c8a0 Correct assert.fail parameters (#11176) 2016-09-14 21:20:09 +09:00
TonyYang
d9ed548add Delete deprecated functions (#11173) 2016-09-14 21:15:15 +09:00
Jeongho Nam
2affe4c63b TypeScript-STL v1.0.8 & Samchon-Framework v2.0 beta-8 (#11172) 2016-09-14 21:14:17 +09:00
ShMcK
0a51f69a36 Add toThrowError test matcher (#11171)
Add `toThrowError` test docs.

See Jest Docs [toThrowError](https://facebook.github.io/jest/docs/api.html#tothrowerror-error).
2016-09-14 21:13:51 +09:00
Humberto Machado
6f4b149a52 Add _router definition in Application. Using to get all registred routes (#11006) 2016-09-14 21:04:16 +09:00
shinichi.kogai
66d2cc80d8 add point-in-polygon/point-in-polygon.d.ts (#11169) 2016-09-14 20:47:43 +09:00
Stefan Thomas
be0ba281b6 Fix typo for core-js/.../min-safe-integer (#11166)
Fix a typo in the `core-js/(library/)fn/number/min-safe-integer` module name.
2016-09-14 20:45:59 +09:00
David Pires
20e557ecad Added type definitions for scrollreveal (#10855)
* Added type definitions for scrollreveal

* fixed implicit any

* remove IScrollReveal
2016-09-14 20:44:54 +09:00
Matt Lewis
f237a9af8e Add types for the date-fns library (#11163) 2016-09-14 20:42:34 +09:00
Dominik Palo
202e18fedd Add typings for node-rio (#11162) 2016-09-14 20:41:52 +09:00
ersimont
c393c1f1f7 support $injector.get('$resource') (#11161) 2016-09-14 20:41:24 +09:00
Bastien Caudan
b154604078 Add colors strip and stripColors methods (#11160) 2016-09-14 20:40:39 +09:00
Marcin Kral
874a60bc68 Add Pure and Stateless components to withRouter definition (#10959)
* Add Pure and Stateless components to withRouter definition

* Add missing type parameter
2016-09-14 20:39:53 +09:00
Zhengbo Li
2fc5063371 Merge pull request #11082 from elektromodulator/master
[tether-drop] Remove 'element' property
2016-09-13 16:35:28 -07:00
Péter Kovács
605baa5cb4 [tether-drop] Fix test containing 'drop' property 2016-09-13 10:51:45 +02:00
Péter Kovács
a99a95390e [tether-drop] Remove 'drop' property since it is undocumented 2016-09-13 10:50:15 +02:00
Zhengbo Li
6547d81245 Merge pull request #11055 from answerrocket/superagent-blob
superagent: req.responseType, res.xhr
2016-09-12 17:47:31 -07:00
Ben Mosher
f105740dce superagent: updates for feedback on #11055 2016-09-12 08:45:01 -04:00
Sheetal Nandi
0c5c7a2d2b Merge pull request #11093 from TonyPythoneer/patch-9
[node] Clean up testcase of assert
2016-09-09 16:00:37 -07:00
Sheetal Nandi
7eca47ee94 Merge pull request #11153 from sumitkm/master
Updated pasteHTML(...) interface definitions and bumped version to v1.0.3
2016-09-09 15:54:46 -07:00