Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>T.PatchAll

👷 TypeScript's largest type utility library, now on Deno
Latest
type alias T.PatchAll
import { type T } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts";
const { PatchAll } = T;

[[Patch]] a list of [[List]]s into L. Patches from left to right, first items get completed by the next ones (last-in completes).

Examples

Example 1

Type Parameters

O extends List
Ls extends List<List>
optional
depth extends Depth = "flat"
optional
ignore extends object = BuiltIn
optional
fill extends any = never
definition: Cast<OPatchAll<O, Ls, depth, ignore, fill>, List>