Coda by Ian Macalinao
Preparing search index...
@macalinao/coda
enumTypeNode
Function enumTypeNode
enumTypeNode
<
const
TVariants
extends
EnumVariantTypeNode
[]
,
TSize
extends
NestedTypeNode
<
NumberTypeNode
<
NumberFormat
>
>
=
NumberTypeNode
<
"u8"
>
,
>
(
variants
:
TVariants
,
options
?:
{
size
?:
TSize
}
,
)
:
EnumTypeNode
<
TVariants
,
TSize
>
Type Parameters
const
TVariants
extends
EnumVariantTypeNode
[]
TSize
extends
NestedTypeNode
<
NumberTypeNode
<
NumberFormat
>
>
=
NumberTypeNode
<
"u8"
>
Parameters
variants
:
TVariants
Optional
options
:
{
size
?:
TSize
}
Returns
EnumTypeNode
<
TVariants
,
TSize
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...