Type Alias AtLeastOne<T, U>

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

Type Parameters

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