Skip to content

Commit

Permalink
fix(combine): add type signature for homogenous input streams
Browse files Browse the repository at this point in the history
Add combine typed signature (#270)
  • Loading branch information
wclr authored and staltz committed Feb 15, 2019
1 parent 5985f95 commit 5ee4037
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ export interface CombineSignature {
s8: Stream<T8>,
s9: Stream<T9>,
s10: Stream<T10>): Stream<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;
<T>(...stream: Array<Stream<T>>): Stream<Array<T>>;
(...stream: Array<Stream<any>>): Stream<Array<any>>;
}

Expand Down

0 comments on commit 5ee4037

Please sign in to comment.