UNPKG

ix

Version:

The Interactive Extensions for JavaScript

21 lines (17 loc) 524 B
import { IterableX } from '../../iterable/iterablex.js'; import { onErrorResumeNext } from '../../iterable/onerrorresumenext.js'; /** * @ignore */ export function onErrorResumeNextProto<TSource>( this: IterableX<TSource>, ...args: Iterable<TSource>[] ): IterableX<TSource> { return onErrorResumeNext(this, ...args); } IterableX.prototype.onErrorResumeNext = onErrorResumeNextProto; declare module '../../iterable/iterablex' { interface IterableX<T> { onErrorResumeNext: typeof onErrorResumeNextProto; } }