UNPKG
typeas
Version:
latest (0.0.1)
0.0.1
Library for checking data values and type safety
github.com/openorson/typeas
typeas
/
src
/
expressions
/
date.ts
4 lines
(2 loc)
•
184 B
text/typescript
View Raw
1
2
3
4
import
type
{
CreateExpression
}
from
"../factories/expression"
;
export
type
DateExpression
=
CreateExpression
<
"date"
, [
`
${
string
}
~`
|
`~
${
string
}
`
|
`
${
string
}
~
${
string
}
`
|
""
]>;