Type alias MakeOptional<T, K>

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

A utility type for modifying certain keys of an object type to be optional.

Type Parameters

  • T
  • K extends keyof T

Generated using TypeDoc