Type Alias PartialOmit<T, U>

PartialOmit<T, U>: T extends T
    ? Pick<T, U> & Partial<Omit<T, U>>
    : never

Apply Partial<> on all not selected properties.

Type Parameters