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
/
Undefined.ts
7 lines
(5 loc)
•
232 B
text/typescript
View Raw
1
2
3
4
5
6
7
import
*
as
G
from
'../guard'
import
{
Decoder
}
from
'./Decoder'
// tslint:disable-next-line:variable-name
export
const
Undefined
=
Decoder
.
fromGuard
(G.
Undefined
,
'undefined'
)
export
const
Void
=
Decoder
.
fromGuard
(G.
Void
,
'void'
)