Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>Tuple.Optional

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

Make L optional (deeply or not)

Examples

Example 1

Type Parameters

L extends List
optional
depth extends Depth = "flat"
definition: Cast<OptionalPart<L, depth>, List>