Type Alias OmitMultiple<T, K>

OmitMultiple: Pick<T, Exclude<keyof T, K[number]>>

A type that constructs a new type by omitting multiple keys from an object type.

Type Parameters

  • T

    The type of the object from which keys are omitted.

  • K extends (keyof T)[]

    A tuple of keys to omit from the object type.