import { AsyncIterableX } from '../../asynciterable/asynciterablex' ; import { catchError as _catchError } from '../../asynciterable/operators/catcherror' ; ignore export function catchProto < T , R > ( this , handler ) { return _catchError < T , R > ( handler ) ( this ) ; } AsyncIterableX . prototype . catchError = catchProto ; export declare namespace asynciterable { let catchError ; } declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX < T > { catchError : typeof catchProto ; } }