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[];
|