Exclude
Exclude<TypeParameter T, TypeParameter U>
: T
extends U
? never
: T
Exclude from T those types that are assignable to U
Type parameters
T
objectRequiredU
objectRequiredWas this section helpful?
Exclude<TypeParameter T, TypeParameter U>
: T
extends U
? never
: T
Exclude from T those types that are assignable to U
T
objectRequiredU
objectRequired