Nullable value.
Extends a type with the empty values undefined and null, as the converse of the built-in NonNullable: absence is accepted under either marker, so values are taken as they come, whichever convention their source follows.
undefined
null
NonNullable
The type to extend with undefined and null
Nullable value.
Extends a type with the empty values
undefinedandnull, as the converse of the built-inNonNullable: absence is accepted under either marker, so values are taken as they come, whichever convention their source follows.