Type alias RequireField<T, K>

RequireField<T, K>: T & Required<Pick<T, K>>

Make some field required

Type Parameters

  • T
  • K extends keyof T

Source