UNPKG
vnopts
Version:
latest (2.0.5)
2.0.5
2.0.3
2.0.2
2.0.1
2.0.0
1.0.2
1.0.1
1.0.0
validate and normalize options
github.com/ikatyang/vnopts
ikatyang/vnopts
vnopts
/
lib
/
schemas
/
integer.d.ts
7 lines
(6 loc)
•
241 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
Utils
,
ValidateResult
}
from
'../types.js'
;
import
{
NumberSchema
}
from
'./number.js'
;
export
declare
class
IntegerSchema
extends
NumberSchema
{
expected
():
string
;
validate
(
value
:
unknown
,
utils
:
Utils
):
ValidateResult
; }