rxjs-es
Version:
Reactive Extensions for modern JavaScript
13 lines (10 loc) • 318 B
text/typescript
import { Observable } from '../../Observable';
import { _catch, CatchSignature } from '../../operator/catch';
Observable.prototype.catch = _catch;
Observable.prototype._catch = _catch;
declare module '../../Observable' {
interface Observable<T> {
catch: CatchSignature<T>;
_catch: CatchSignature<T>;
}
}