Type Alias PartialOmit<T, U>

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

Apply Partial<> on all not selected properties.

Type Parameters