# Omit

```ts
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 Parameters

| Type Parameter |
| ------ |
| `T` |
| `K` *extends* keyof `any` |