3 lines
145 B
TypeScript
Raw Permalink Normal View History

2023-01-10 16:49:41 +01:00
export declare function flatten<T>(items: T[][]): T[];
export declare function splitWhen<T>(items: T[], predicate: (item: T) => boolean): T[][];