DefinitelyTyped/through2
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
..
through2-0.4.2-test.ts
through2-0.4.2.d.ts
through2-tests.ts Improve through2 declarations (#11499) 2016-09-26 07:52:03 -07:00
through2.d.ts Improve through2 declarations (#11499) 2016-09-26 07:52:03 -07:00