Exclude
Exclude: T extends U ? never : T
Exclude from T those types that are assignable to U
Type Parameters
TobjectRequiredUobjectRequiredWas this section helpful?
Exclude: T extends U ? never : T
Exclude from T those types that are assignable to U
TobjectRequiredUobjectRequired