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

NameType
TT
Keysextends keyof T = keyof T

Defined in

src/utils/types.ts:12