devsite/node_modules/fast-glob/out/utils/array.d.ts

3 lines
145 B
TypeScript
Raw Normal View History

2024-07-08 01:49:38 +00:00
export declare function flatten<T>(items: T[][]): T[];
export declare function splitWhen<T>(items: T[], predicate: (item: T) => boolean): T[][];