Skip to content

Commit

Permalink
fix(catch): removed unneeded overload for catch
Browse files Browse the repository at this point in the history
This fixes a problem where operator callbacks that consume `ObservableInput<T>` are not cast to any.
  • Loading branch information
david-driscoll committed Aug 16, 2016
1 parent a2b2f3d commit dd0e586
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/operator/catch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export function _catch<T, R>(selector: (err: any, caught: Observable<T>) => Obse
}

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

Expand Down

0 comments on commit dd0e586

Please sign in to comment.