import { IterableX } from '../../iterable/iterablex.js'; import { find } from '../../iterable/find.js'; import { FindOptions } from '../../iterable/findoptions.js'; /** * @ignore */ export function findProto(this: IterableX, options: FindOptions): T | undefined { return find(this, options as any); } IterableX.prototype.find = findProto; declare module '../../iterable/iterablex' { interface IterableX { find: typeof findProto; } }