Millwork
Home
Guide
GitHub
Preparing search index...
@millwork-ts/core
defineCodec
Function defineCodec
defineCodec
<
Raw
,
Value
,
Options
=
undefined
>
(
spec
:
CodecSpec
<
Raw
,
Value
,
Options
>
,
)
:
Codec
<
Raw
,
Value
,
Options
>
Makes a codec from a parse and format pair.
Type Parameters
Raw
Value
Options
=
undefined
Parameters
spec
:
CodecSpec
<
Raw
,
Value
,
Options
>
Returns
Codec
<
Raw
,
Value
,
Options
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Home
Guide
GitHub
Millwork
Loading...
Makes a codec from a parse and format pair.