Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>T.Nullable

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

Make some entries of L nullable (deeply or not)

Examples

Example 1

Type Parameters

L extends List
optional
K extends Key = Key
definition: Cast<Update<L, `${K & number}` | K, x | null | undefined>, List>