Defined value.
Strips undefined from a type, leaving every other constituent in place: null is retained, as definedness is about assignment rather than emptiness.
undefined
null
Defined<any> resolves to any and admits undefined again.
Defined<any>
any
The type to strip undefined from, defaults to any value other than undefined
Defined value.
Strips
undefinedfrom a type, leaving every other constituent in place:nullis retained, as definedness is about assignment rather than emptiness.Defined<any>resolves toanyand admitsundefinedagain.