mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 02:31:05 +03:30
5 lines
149 B
TypeScript
5 lines
149 B
TypeScript
/**
|
|
* Flatten nested arrays (max depth is 2) into a non-nested array of non-array items.
|
|
*/
|
|
export declare function flatten<T>(items: T[][]): T[];
|