Type Alias MakePropertyOptional<T, K>

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

Makes only the specified properties of the given type optional

Type Parameters

  • T
  • K extends keyof T