Skip to content
scroll to zoom · drag to pan

Omit

type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;

Defined in: node_modules/@typescript/old/lib/lib.es5.d.ts:1628

Construct a type with the properties of T except for those in type K.

Type Parameter
T
K extends keyof any