Enforce generic function parameter to accept only types that include undefined and/or null
How to enforce generic function parameter to accept only types that include undefined
and null
:
How to enforce generic function parameter to accept only types that include undefined
and null
: