fediversity.eu/node_modules/fast-glob/out/utils/array.d.ts

3 lines
145 B
TypeScript
Raw Normal View History

2024-03-26 16:28:28 +01:00
export declare function flatten<T>(items: T[][]): T[];
export declare function splitWhen<T>(items: T[], predicate: (item: T) => boolean): T[][];