import { AsyncIterableX } from '../../asynciterable/asynciterablex.js'; import { RepeatAsyncIterable } from '../../asynciterable/operators/repeat.js'; /** * @ignore */ export function repeatProto(this: AsyncIterableX, count = -1): AsyncIterableX { return new RepeatAsyncIterable(this, count); } AsyncIterableX.prototype.repeat = repeatProto; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX { repeat: typeof repeatProto; } }