Skip to content

Commit

Permalink
fix(merge): correct typo in MergeSignature
Browse files Browse the repository at this point in the history
MergeSignature variadic types declare types unique to each
argument.

This fixes a bug introduced in 6.3.1.
  • Loading branch information
Christian Johns committed Sep 23, 2016
1 parent d3aceed commit 7a7cd64
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export interface MergeSignature {
s5: Stream<T5>,
s6: Stream<T6>,
s7: Stream<T7>,
s8: Stream<T7>): Stream<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8>;
s8: Stream<T8>): Stream<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8>;
<T1, T2, T3, T4, T5, T6, T7, T8, T9>(
s1: Stream<T1>,
s2: Stream<T2>,
Expand All @@ -236,8 +236,8 @@ export interface MergeSignature {
s5: Stream<T5>,
s6: Stream<T6>,
s7: Stream<T7>,
s8: Stream<T7>,
s9: Stream<T7>): Stream<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9>;
s8: Stream<T8>,
s9: Stream<T9>): Stream<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9>;
<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
s1: Stream<T1>,
s2: Stream<T2>,
Expand All @@ -246,9 +246,9 @@ export interface MergeSignature {
s5: Stream<T5>,
s6: Stream<T6>,
s7: Stream<T7>,
s8: Stream<T7>,
s9: Stream<T7>,
s10: Stream<T7>): Stream<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10>;
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<T>;
}

Expand Down

0 comments on commit 7a7cd64

Please sign in to comment.