UNPKG
@typed/io
Version:
latest (1.2.0)
1.2.0
1.1.2
1.1.1
1.1.0
1.0.0
Runtime IO type system
@typed/io
/
source
/
decoder
/
Uuid.ts
6 lines
(4 loc)
•
179 B
text/typescript
View Raw
1
2
3
4
5
6
import
{
Uuid
as
UUID
}
from
'@typed/uuid'
import
*
as
G
from
'../guard'
import
{
Decoder
}
from
'./Decoder'
export
const
Uuid
:
Decoder
<
UUID
> =
Decoder
.
fromGuard
(G.
Uuid
,
`Uuid`
)