import { IterableX } from '../../iterable/iterablex.js'; import { retry } from '../../iterable/operators/retry.js'; /** * @ignore */ export function retryProto(this: IterableX, count = -1): IterableX { return retry(count)(this); } IterableX.prototype.retry = retryProto; declare module '../../iterable/iterablex' { interface IterableX { retry: typeof retryProto; } }