@telostat/prelude - v0.7.0
Preparing search index...
enumeration
Variable enumeration
Const
enumeration
:
<
T
extends
Record
<
string
,
string
|
number
>
>
(
e
:
T
,
)
=>
Codec
<
T
[
keyof
T
]
>
A codec for a TypeScript enum
Type Declaration
<
T
extends
Record
<
string
,
string
|
number
>
>
(
e
:
T
)
:
Codec
<
T
[
keyof
T
]
>
Type Parameters
T
extends
Record
<
string
,
string
|
number
>
Parameters
e
:
T
Returns
Codec
<
T
[
keyof
T
]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@telostat/prelude - v0.7.0
Loading...
A codec for a TypeScript enum