Hex Core JS
Preparing search index...
Core
RequiredAtLeastOne
Type Alias RequiredAtLeastOne<T, Key>
RequiredAtLeastOne
:
Omit
<
T
,
Key
>
&
{
[
K
in
Key
]
-?:
RequiredOnlyKeys
<
Pick
<
T
,
Key
>
,
K
>
}
[
Key
]
Constructs a new type from
T
where at least one of the specified keys (
Key
) is required.
Type Parameters
T
Key
extends
keyof
T
=
keyof
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Hex Core JS
Loading...
Constructs a new type from
Twhere at least one of the specified keys (Key) is required.