4 lines
153 B
TypeScript
4 lines
153 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[];
|