1 | import { PatchAll as OPatchAll } from '../Object/PatchAll';
|
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 | * [[Patch]] a list of [[List]]s into `L`. Patches from left to right, first
|
8 | * items get completed by the next ones (last-in completes).
|
9 | * @param O to start with
|
10 | * @param Os to patch
|
11 | * @param depth (?=`'flat'`) 'deep' to do it deeply
|
12 | * @param ignore (?=`BuiltIn`) types not to merge
|
13 | * @param fill (?=`never`) types of `O` to be replaced with ones of `O1`
|
14 | * @returns [[List]]
|
15 | * @example
|
16 | * ```ts
|
17 | * ```
|
18 | */
|
19 | export declare type PatchAll<O extends List, Ls extends List<List>, depth extends Depth = 'flat', ignore extends object = BuiltIn, fill extends any = never> = Cast<OPatchAll<O, Ls, depth, ignore, fill>, List>;
|