reference
Module: utils/types
Table of contents
Type Aliases
Type Aliases
RequireAtLeastOne
Ƭ RequireAtLeastOne<T
, Keys
>: Pick
<T
, Exclude
<keyof T
, Keys
>> & { [K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>> }[Keys
]
Type parameters
Name | Type |
---|---|
T | T |
Keys | extends keyof T = keyof T |