1 | /**
|
2 | * Flattens `array` a single level deep.
|
3 | *
|
4 | * @param {Array} arr The array to flatten.
|
5 | * @param {Array} result The array to return.
|
6 | * @return {Array} Returns the new flattened array.
|
7 | * @example
|
8 | *
|
9 | * flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]
|
10 | */
|
11 | declare const flattenDeep: (arr: any[], result?: any[]) => any[];
|
12 | export default flattenDeep;
|