Skip to content

Type Alias: StringNillable<T>

ts
type StringNillable<T> = T | "nil";

Type-casted option that extends type with "nil" values.

Type Parameters

Type ParameterDefault type
T extends stringstring