1 | import { MergeAll as OMergeAll } from '../Object/MergeAll';
|
2 | import { List } from '../List/List';
|
3 | import { Depth } from '../Object/_Internal';
|
4 | import { BuiltIn } from '../Misc/BuiltIn';
|
5 | import { Cast } from '../Any/Cast';
|
6 | /**
|
7 | * [[Merge]] a list of [[List]]s into `L`. Merges from left to right, first
|
8 | * items get completed by the next ones (last-in completes).
|
9 | * @param L to start with
|
10 | * @param Ls to merge
|
11 | * @param depth (?=`'flat'`) 'deep' to do it deeply
|
12 | * @param ignore (?=`BuiltIn`) types not to merge
|
13 | * @param fill (?=`undefined`) types of `O` to be replaced with ones of `O1`
|
14 | * @returns [[List]]
|
15 | * @example
|
16 | * ```ts
|
17 | * ```
|
18 | */
|
19 | export declare type MergeAll<L extends List, Ls extends List<List>, depth extends Depth = 'flat', ignore extends object = BuiltIn, fill extends any = undefined> = Cast<OMergeAll<L, Ls, depth, ignore, fill>, List>;
|