Type alias Required<T, K>

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

Type Parameters

  • T

  • K extends keyof T