Type Alias WithRequired<T, K>

WithRequired<T, K>: T & {
    [P in K]-?: T[P]
}

Type Parameters

  • T
  • K extends keyof T