Type alias Omit<T, K>

Omit<T, K>: Pick<T, Exclude<keyof T, K>>

Returns a subset of type T which excludes properties K

Type Parameters

  • T
  • K extends keyof T