Skip to content

Commit

Permalink
chore(typings): updated catch signature to allow T to flow through
Browse files Browse the repository at this point in the history
  • Loading branch information
david-driscoll committed Apr 30, 2016
1 parent 3ace1af commit 56a12ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/operator/catch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export function _catch<T, R>(selector: (err: any, caught: Observable<T>) => Obse
}

export interface CatchSignature<T> {
(selector: (err: any, caught: Observable<T>) => Observable<T>): Observable<T>;
<R>(selector: (err: any, caught: Observable<T>) => Observable<R>): Observable<R>;
}

Expand Down

0 comments on commit 56a12ba

Please sign in to comment.