Library API
⬅ Back to Guides
Preparing search index...
common.index
OneKey
Type Alias OneKey<K, V, KK>
OneKey
:
{
[
P
in
K
]
:
(
{
[
Q
in
P
]
:
V
}
&
{
[
Q
in
Exclude
<
KK
,
P
>
]
?:
undefined
}
)
extends
infer
O
?
{
[
Q
in
keyof
O
]
:
O
[
Q
]
}
:
never
}
[
K
]
Record with only one-key
Type Parameters
K
extends
keyof
any
V
KK
extends
keyof
any
=
K
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
⬅ Back to Guides
Library API
Loading...
Record with only one-key