Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>Tuple.Modify

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

Modify L with LMod & the [[x]] placeholder

Examples

Example 1

Type Parameters

L extends List
LMod extends List
definition: Cast<[K in keyof LMod]: Replace<LMod[K], x, Exclude<At<L, K>, undefined>>, List>