Type Alias WithPartial<T, K>

WithPartial<T, K>: Omit<T, K> & Partial<Pick<T, K>>

Constructs a type consisting of some properties of T set to partial.

Type Parameters

  • T
  • K extends keyof T