create project
This commit is contained in:
7
kitabcitab/node_modules/next/dist/shared/lib/flatten.d.ts
generated
vendored
Normal file
7
kitabcitab/node_modules/next/dist/shared/lib/flatten.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
declare type Flattened<T> = T extends Array<infer U> ? Flattened<U> : T;
|
||||
/**
|
||||
* Returns a new list by pulling every item out of it (and all its sub-arrays)
|
||||
* and putting them in a new array, depth-first. Stolen from Ramda.
|
||||
*/
|
||||
export declare function flatten<T extends readonly any[]>(list: T): Flattened<T>[];
|
||||
export {};
|
||||
Reference in New Issue
Block a user