@nebius/js-sdk - v0.1.4
Services Index
GitHub
Preparing search index...
runtime/protos/enum
createEnum
Function createEnum
createEnum
<
TDef
extends
Record
<
string
,
number
>
>
(
type
:
string
,
def
:
TDef
,
comments
?:
Record
<
string
,
string
>
,
)
:
EnumClass
<
Extract
<
keyof
TDef
,
string
>
>
Type Parameters
TDef
extends
Record
<
string
,
number
>
Parameters
type
:
string
def
:
TDef
Optional
comments
:
Record
<
string
,
string
>
Returns
EnumClass
<
Extract
<
keyof
TDef
,
string
>
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Services Index
Services Index
GitHub
@nebius/js-sdk - v0.1.4
Loading...