site/node_modules/fast-glob/out/utils/array.d.ts
2024-10-14 08:09:33 +02:00

3 lines
145 B
TypeScript

export declare function flatten<T>(items: T[][]): T[];
export declare function splitWhen<T>(items: T[], predicate: (item: T) => boolean): T[][];