UNPKG

ix

Version:

The Interactive Extensions for JavaScript

18 lines (14 loc) 452 B
import { IterableX } from '../../iterable/iterablex.js'; import { ignoreElements } from '../../iterable/operators/ignoreelements.js'; /** * @ignore */ export function ignoreElementsProto<T>(this: IterableX<T>): IterableX<T> { return ignoreElements<T>()(this); } IterableX.prototype.ignoreElements = ignoreElementsProto; declare module '../../iterable/iterablex' { interface IterableX<T> { ignoreElements: typeof ignoreElementsProto; } }