aboutsummaryrefslogtreecommitdiff
path: root/node_modules/fast-glob/out/utils/array.d.ts
blob: a77ee21108ed5c38bbd42efb5180805aaa80f2e5 (plain)
1
2
3
4
5
6
7
8
/**
 * Flatten nested arrays (max depth is 2) into a non-nested array of non-array items.
 */
export declare function flatten<T>(items: T[][]): T[];
/**
 * Returns max number from array.
 */
export declare function max(items: Array<{}>): number;