Preparing search index...
The search index is not available
Documentation
Documentation
@mysten/bcs
EnumOutputShape
Type Alias EnumOutputShape<T, Keys, Values>
Enum
Output
Shape
<
T
,
Keys
,
Values
>
:
0
extends
Values
?
EnumOutputShapeWithKeys
<
T
,
never
>
:
0n
extends
Values
?
EnumOutputShapeWithKeys
<
T
,
never
>
:
""
extends
Values
?
EnumOutputShapeWithKeys
<
T
,
never
>
:
false
extends
Values
?
EnumOutputShapeWithKeys
<
T
,
never
>
:
EnumOutputShapeWithKeys
<
T
,
Keys
>
Type Parameters
T
extends
Record
<
string
,
unknown
>
Keys
extends
string
=
Extract
<
keyof
T
,
string
>
Values
=
T
[
keyof
T
]
extends
infer
Type
?
Type
extends
BcsType
<
infer
U
>
?
U
:
never
:
never
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...