Exclude
type Exclude<T, U> = T extends U ? never : T;Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1620
Exclude from T those types that are assignable to U
Type Parameters
Section titled “Type Parameters”| Type Parameter | 
|---|
T | 
U |