mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 01:31:45 +00:00
Fix Highland.Stream.through definition
This commit is contained in:
@@ -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);
|
||||
|
||||
Vendored
+1
-1
@@ -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>;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user