zyb 0c0b5d869c 加入了node_modules
添加了新的功能项
2025-05-13 21:23:41 +08:00

5 lines
368 B
TypeScript

export declare function find<T>(record: Record<string, T>, predicate: (v: T) => boolean): T | undefined;
export declare function forEach<T>(record: Record<string, T>, run: (v: T, key: string) => void): void;
export declare function includes<T>(arr: T[], value: T): boolean;
export declare function findArr<T>(record: T[], predicate: (v: T) => boolean): T | undefined;