UNPKG

ix

Version:

The Interactive Extensions for JavaScript

18 lines (14 loc) 419 B
import { IterableX } from '../../iterable/iterablex.js'; import { startWith } from '../../iterable/operators/startwith.js'; /** * @ignore */ export function startWithProto<T>(this: IterableX<T>, ...args: T[]) { return startWith<T>(...args)(this); } IterableX.prototype.startWith = startWithProto; declare module '../../iterable/iterablex' { interface IterableX<T> { startWith: typeof startWithProto; } }