Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>L.Replace

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

Update with A the entries of L that match M

Examples

Example 1

Type Parameters

L extends List
M extends any
A extends any
optional
match extends Match = "default"
definition: Cast<OReplace<L, M, A, match>, List>