← Code LabTypeScript0/50 solved · 0%
Utility Types · medium

32. Exclude Utility

Remove types from a union.

Exclude `null` and `undefined` from `string | null | undefined`.
Required in your answer: Exclude<T, null | undefined>