mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
7 lines
255 B
TypeScript
7 lines
255 B
TypeScript
/**
|
|
* Alternative to `Array.flat(1)`
|
|
* @param arr An array like [1,2,3,[1,2]]
|
|
* @link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flat
|
|
*/
|
|
export declare const flatten: (arr: readonly any[]) => never[];
|