import { AsyncIterableX } from '../../asynciterable/asynciterablex.js'; import { some } from '../../asynciterable/some.js'; import { FindOptions } from '../../asynciterable/findoptions.js'; /** * @ignore */ export function someProto(this: AsyncIterable, options: FindOptions): Promise { return some(this, options as any); } AsyncIterableX.prototype.some = someProto; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX { some: typeof someProto; } }