Type Alias Optionalize<T, K>

Optionalize<T, K>: Omit<T, K> & {
    [P in K]?: T[P]
}

Type Parameters

  • T
  • K extends keyof T