Skip to content

Exclude

type Exclude<T, U> = T extends U ? never : T;

Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1620

Exclude from T those types that are assignable to U

Type Parameter
T
U