Commit Graph

11 Commits

Author SHA1 Message Date
Ben Chauvette
55d9114bbd Improve through2 declarations (#11499)
* [through2] Fix typos

* [through2] Change return types to stream.Transform

`through2` creates `stream.Transform`-flavored streams, so switching the return types to `stream.Transform` gives us richer typing information than using `NodeJS.ReadWriteStream`, which is missing methods (e.g. `stream.Transform#push`) and the ability to use object mode.

* [through2] Add through2.ctor method

* [through2] Update header and docs
2016-09-26 07:52:03 -07:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Aya Morisawa
48f20e97bf Remove trailing whitespaces 2016-01-27 20:17:35 +09:00
Georgios Valotasios
350e08e59f Added tests for the old version of the definitions 2015-12-20 19:40:00 +01:00
Georgios Valotasios
fe871b9f7d Added old definition as version specific definition 2015-12-20 19:10:49 +01:00
Georgios Valotasios
cba118b92f Added callback definitions to throught2 2015-12-20 18:52:49 +01:00
Jed Mao
5d4a87811a Add gulp-util definitions, fix related 2014-10-16 11:36:02 -05:00
Jed Mao
122d52957e Fix through2 2014-10-15 17:09:03 -05:00
Bart van der Schoor
cc82b36997 added defs for some (stream) utils 2014-05-26 14:31:30 +02:00