import { IterableX } from '../../iterable/iterablex.js'; import { endWith } from '../../iterable/operators/endwith.js'; /** * @ignore */ export function endWithProto(this: IterableX, ...args: T[]) { return endWith(...args)(this); } IterableX.prototype.endWith = endWithProto; declare module '../../iterable/iterablex' { interface IterableX { endWith: typeof endWithProto; } }