Type Alias AtLeastOne<T, U>

AtLeastOne: Partial<T> & U[keyof U]

Type Parameters

  • T
  • U = { [K in keyof T]: Pick<T, K> }