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

Type Parameters

  • T
  • K extends keyof T