Skip to content

Commit

Permalink
fix(rstream): minor fix StreamSync.addAll()
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Apr 24, 2018
1 parent fa36f98 commit cc286e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rstream/src/stream-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export class StreamSync<A, B> extends Subscription<A, B> {
for (let s of <ISubscribable<A>[]>src) {
this.sourceIDs.add(s.id);
}
for (let s of src) {
for (let s of <ISubscribable<A>[]>src) {
this.add(s);
}
}
Expand Down

0 comments on commit cc286e1

Please sign in to comment.