Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>O.PatchAll

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

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

Examples

Example 1

Type Parameters

O extends object
Os extends List<object>
optional
depth extends Depth = "flat"
optional
ignore extends object = BuiltIn
optional
fill extends any = never
definition: O extends unknown ? Os extends unknown ? _PatchAll<O, Os, depth, ignore, fill> : never : never