5 lines
153 B
TypeScript
Raw Normal View History

2020-05-19 11:43:42 +03:00
/**
* Flatten nested arrays (max depth is 2) into a non-nested array of non-array items.
*/
export declare function flatten<T>(items: T[][]): T[];