Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>Union.Nullable

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

Add undefined | null to U

Examples

Example 1

Type Parameters

U extends any
definition: U | undefined | null