4
0
mirror of https://gitee.com/dcloud/uni-preset-vue synced 2025-05-04 18:42:56 +08:00
2018-11-18 15:15:00 +08:00

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