Documentation
Preparing search index...
@mysten/bcs
EnumOutputShapeWithKeys
Type Alias EnumOutputShapeWithKeys<T, Keys>
EnumOutputShapeWithKeys
:
{
[
K
in
keyof
T
]
:
Exclude
<
Keys
,
K
>
extends
infer
Empty
extends
string
?
Simplify
<
{
[
K2
in
K
]
:
T
[
K
]
}
&
{
[
K
in
Empty
]
?:
never
}
&
{
$kind
:
K
}
,
>
:
never
}
[
keyof
T
]
Type Parameters
T
extends
Record
<
string
,
unknown
>
Keys
extends
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...