A type that excludes undefined from type T.
undefined
T
Type Str = ExcludeNullable<string | undefined> // Result: string Copy
Type Str = ExcludeNullable<string | undefined> // Result: string
A type that excludes
undefinedfrom typeT.