forked from ard/ruoyi-api

liusuyi
2024-04-28 d1ebb26ab19f83f32c5314771a5381db6f1b2a6d
1
2
3
4
/**
 * Flatten nested arrays (max depth is 2) into a non-nested array of non-array items.
 */
export declare function flatten<T>(items: T[][]): T[];