Skip to main content
Skip to main content

Exclude

Exclude<TypeParameter T, TypeParameter U>: T extends U ? never : T

Exclude from T those types that are assignable to U

Type parameters

TobjectRequired
UobjectRequired
Was this section helpful?