Fix Highland.Stream.through definition

This commit is contained in:
K.J. Valencik
2019-01-16 17:40:00 -05:00
parent 23756c9abc
commit 0748e26de9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ barStream = barStreamStream.sequence();
barStream = fooStream.series<Bar>();
barStream = fooStream.through(x => bar);
bar = fooStream.through(x => bar);
barStream = fooStream.through(readwritable);
fooStream = fooStream.zip(fooStream);
+1 -1
View File
@@ -1172,7 +1172,7 @@ declare namespace Highland {
* console.log(err); // => SyntaxError: Unexpected token z
* });
*/
through<R, U>(f: (x: R) => U): Stream<U>;
through<R, U>(f: (x: R) => U): U;
through(thru: NodeJS.ReadWriteStream): Stream<any>;