Skip to content

Commit

Permalink
chore(typings): removed implicit Array<T> signature for combineAll an…
Browse files Browse the repository at this point in the history
…d zipAll

The implicit definition for combineAll / zipAll cannot properly infer the
resulting type.  See #1677 for more information.
  • Loading branch information
david-driscoll authored and kwonoj committed May 7, 2016
1 parent d43c0ce commit 4d773bc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/operator/combineAll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,5 @@ export function combineAll<R>(project?: (...values: Array<any>) => R): Observabl
}

export interface CombineAllSignature<T> {
(): Observable<T[]>;
<R>(project?: (...values: Array<T>) => R): Observable<R>;
}
1 change: 0 additions & 1 deletion src/operator/zipAll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ export function zipAll<T, R>(project?: (...values: Array<any>) => R): Observable
}

export interface ZipAllSignature<T> {
(): Observable<T[]>;
<R>(project?: (...values: Array<T>) => R): Observable<R>;
}

0 comments on commit 4d773bc

Please sign in to comment.