Commit Graph
57967 Commits
Author SHA1 Message Date
Tom Wanzek 1e40a4e83c [types-2.0] d3-brush and d3-drag JSDoc comments and fixes (#11503)
* d3-brush
* **[chore](d3-brush)**: Add JSDoc comments.
* **[Enhancement](d3-brush)**: Added some `| null` to union types/return types in preparation of `strictNullChecks`
* **[Fix](d3-brush)**: Added signatures for removing a brush selection using `null`

* d3-brush and d3-drag
* [chore](d3-brush): Minor addition to JSDoc comment
* [chore](d3-drag): Added JSDoc comments.
2016-10-03 07:48:46 -07:00
Tom Wanzek a97708ea92 [types-2.0] d3-zoom and d3-force JSDoc comments (#11542)
* d3-zoom:
* [chore](d3-zoom): Add JSDoc comments.

* d3-force and d3-zoom
* [chore](d3-force): Added JSDoc comments
* [chore](d3-force): Some additions of `| null` or `|  undefined` in preparation of strictNullChecks.
* [chore](d3-zoom): Renamed function argument from callback to listener for consistency.

* d3-force
* [chore](d3-force): clarifying edits to JSDoc comments.
2016-10-03 07:48:17 -07:00
Tom Wanzek ccf82851b7 [types-2.0] d3-format d3-timer d3-random JSDoc comments and Enhancement (#11573)
* d3-format
* [chore](d3-format): Finalized JSDoc comments
* [Enhancement](d3-format): Use string literals to refine interface FormatSpecifier for properties with specified encoding of choices. (In accordance with D3 API docs)

* d3-timer
* [Fix](d3-timer): Removed brackets from @param statements for optional parameters. Otherwise they did not appear in IDE (VSCode)

* d3-random
* [chore](d3-random): Complete JSDoc comments.
2016-10-03 07:47:27 -07:00
peterpeterparker dbe6a6f233 Fix instance of cropperjs for library version > 0.8 (#11490) 2016-10-03 22:43:58 +09:00
Micha Reiser 50e013312b Add toJSON method to signature (#11682) 2016-10-03 22:43:42 +09:00
Subhash Sharma 2a447aaeb0 added seed, randomTests and randomizeTests property (#11678) 2016-10-03 22:39:49 +09:00
Denis 3a49556c30 Fix redeclare block-scoped Base64 (#11677)
Issue found by https://github.com/dankogai/js-base64/issues/38#issuecomment-250999729
2016-10-03 22:38:56 +09:00
Colin Kahn 68351be490 add transducers-js types w/ tests (#11676) 2016-10-03 22:38:33 +09:00
Sean Kelley f54f4edaea Add array methods to LoDashExplicitArrayWrapper to match LoDashImplicitArrayWrapper. (#11518) 2016-10-03 22:34:08 +09:00
Remo H. Jansen 32dbb649db Allow interface to be named (#11673)
> error TS4023: Exported variable 'DevTools' has or is using name 'IDevTools' from external module "/Users/remojansen/CODE/forks/redux-bootstrap/node_modules/@types/redux-devtools/index" but cannot be named.
2016-10-03 22:31:20 +09:00
Tony Trinh 16828379f8 Add definitions for spdy (#11672)
https://github.com/indutny/node-spdy
2016-10-03 22:30:37 +09:00
Eric Wieser 1965fee8a7 Add missing each, and correct type of Date.now() (#11670) 2016-10-03 22:27:29 +09:00
Ken Howard 56946455a5 Added hapi-decorators.d.ts (#11668) 2016-10-03 22:18:44 +09:00
Tony Trinh f6ec36ad2b Add definitions for pem (#11666)
https://github.com/andris9/pem
2016-10-03 22:16:30 +09:00
Boriss Nazarovs 261a54b353 Added type definition for riot library (#11664)
* Added type definition for riot

* Added type information for compile function, version, settings and template error handler

* Updated namespace name Riot -> riot

* Renamed riot-test.ts -> riot-tests.ts
2016-10-03 22:15:29 +09:00
Micha Reiser e41b464073 Fix babel-traverse buildCodeFrameError signature (#11654)
The Error argument is not an error instance, instead it is a constructor function that returns an error instance. 
Additionally, the constructor function is optional, by default SyntaxError is used
2016-10-03 22:14:07 +09:00
Boris Cherny f3bafd505e update parsimmon typings for parsimmon 0.9.2 (#11648)
* update parsimmon typings for parsimmon 0.9.2

* add overloads for parsimmon#seq

* code review
2016-10-03 22:13:03 +09:00
spacejack 78cbe0e713 Added hyperscript module (#11661) 2016-10-03 22:12:44 +09:00
Ciro 0961889be5 Update ejs.d.ts (#11467)
This typings give an error when templating HTML 

Error: Cannot invoke an expression whose type lacks a call signature.

my code 
```javascript
var templateFunction = EJS.compile(SOMESTRTEMPLATE);
myDomElement.innerHTML = templateFunction(someDataObject) // <= ERROR
```
2016-10-03 22:05:26 +09:00
Cyril Schumacher e35513ae8f Fix export for "bunyan-config" and improve definitions (#11653)
* Fix export for "bunyan-config".

* Update definitions.
Replace "Object" to "{}" type.
Add "express" property in "VitalSigns" class.
2016-10-03 22:05:12 +09:00
Thodoris Greasidis ebfa2f08ed feat: add localforage-cordovasqlitedriver definition (#11650) 2016-10-03 21:57:09 +09:00
AJ Ortega ddd4bae5ee Parse5 comment data (#11649)
* Add test for data

* Update parse5.d.ts
2016-10-03 21:43:39 +09:00
Julien Chaumond 7b1e780045 NotificationAlertOptions can have a subtitle (#11638) 2016-10-03 21:41:58 +09:00
Anders Riutta 0767903e92 TransfofmCallback -> TransformCallback (#11645) 2016-10-03 21:41:21 +09:00
Garth Kidd 8a47541d7e Fix leaflet L.GeoJSON.addData et al (#11590) (#11591) 2016-10-03 21:28:13 +09:00
Stefan Dobrev a4a4b87bc9 [nprogress] Update configuration properties (#11627)
Update a couple of nprogress configuration properties:
* `ease` is renamed to `easing`.
* `trickleRate` is removed.
* `parent` is added.

More info [here](https://github.com/rstacruz/nprogress/blob/master/nprogress.js#L19-L31)
2016-10-03 21:27:59 +09:00
zjiekai 9f1c7c6a92 setEncoding(encoding: string | null) (#11635)
Encoding can be disabled by calling readable.setEncoding(null).
https://nodejs.org/api/stream.html#stream_readable_setencoding_encoding

Typescript v2.* has strictNullChecks which prevents passing null to setEncoding

https://www.typescriptlang.org/docs/release-notes/typescript-2.0.html
2016-10-03 21:25:42 +09:00
Erkie 76eedd816a Create typings for ngeohash (#11634) 2016-10-03 21:24:53 +09:00
Sam Verschueren 4aa07d54c7 add definitions for tz-format (#11565)
* add definitions for tz-format

* fix return type
2016-10-03 21:24:21 +09:00
Peter Burns 779e53eb3b Add typings for cssbeautify library (#11460)
* Add typings for cssbeautify library

* Don't paper over the fact that cssbeautify isn't ES module compatible.
2016-10-02 17:06:55 -07:00
Alex Gorbatchev 69edec5c4d [rethinkdb] Fixes boolean operators 2016-10-02 16:59:52 -07:00
Alex Gorbatchev 4601d7808d [rethinkdb] Adds hasFields() 2016-10-02 13:52:38 -07:00
Alex Gorbatchev dd6c2c88d7 [rethinkdb] Fixes dt testing 2016-10-02 11:15:48 -07:00
John Reilly 53c4432ca0 Merge pull request #11667 from eric-wieser/q-fixes
Add argumentless Q()
2016-10-02 18:56:41 +01:00
Eric Wieser 55c35bf01e Add argumentless Q() 2016-10-02 17:41:03 +01:00
Alex Gorbatchev 625b39c951 [rethinkdb] Updates sub() 2016-10-02 09:15:23 -07:00
Alex Gorbatchev b416006b7f [rethinkdb] Fixes header 2016-10-02 09:06:16 -07:00
Alex Gorbatchev e1820ba703 [rethinkdb] Fixes r.now() return results 2016-10-02 09:00:01 -07:00
Horiuchi_H 79e0ea4b43 Merge pull request #11663 from unhealthy/upstream
better definition of the shape of this module
2016-10-02 23:04:23 +09:00
Horiuchi_H 6f223182aa Merge pull request #11656 from jakubskopal/mongoose-versionkey
changed versionKey in Schema spec to string
2016-10-02 23:02:08 +09:00
unHealthy ee1fbc5e9c better structure 2016-10-02 16:37:45 +08:00
Jakub Skopal 3bd078da53 changed versionKey in Schema spec to string 2016-10-01 18:41:37 +02:00
dennispg 8a019fe8a2 Update handsontable.d.ts 2016-10-01 10:49:19 -05:00
dennispg ac05be6eed Update handsontable.d.ts 2016-10-01 10:47:22 -05:00
dennispg 45d59849e7 export Handsontable as a module 2016-10-01 10:41:44 -05:00
Ian Ker-Seymer 724ceafbde react-ga: add set method definition 2016-09-30 15:47:58 -04:00
Alex Gorbatchev 655bd4c93b [rethinkdb] Removes Bluebird dependency, adds many missing methods and overloads 2016-09-30 10:32:33 -07:00
Alex Gorbatchev 29bf3b2414 [rethinkdb] Clean up the listing issues in the test 2016-09-30 10:31:54 -07:00
Christopher Cortes 01566c4b78 Fix wrong type
Add missing namespace
2016-09-30 17:54:32 +02:00
Christopher Cortes b522e15352 Remove undefined
In TS by default null and undefined are subtypes of all other types
2016-09-30 17:49:28 +02:00