mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-06 14:20:42 +02:00
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[];
|