2025-04-02 06:50:39 -04:00

6 lines
151 B
TypeScript

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