UNPKG
@jsonjoy.com/json-type
Version:
latest (18.0.0)
18.0.0
17.67.0
17.65.0
17.64.0
17.63.0
17.62.0
17.61.1
17.61.0
17.60.0
17.59.0
2.6.0
2.5.1
2.5.0
2.4.1
2.4.0
2.3.0
2.2.0
2.1.0
2.0.0
1.8.0
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0
High-performance JSON Pointer implementation
github.com/jsonjoy-com/json-type
@jsonjoy.com/json-type
/
lib
/
type
/
classes
/
StrType.d.ts
8 lines
(7 loc)
•
293 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
type
*
as
schema
from
'../../schema'
;
import
{ AbsType }
from
'./AbsType'
; export declare
class
StrType
extends AbsType<schema.StrSchema> {
format
(
format
: schema.StrSchema[
'format'
]): this;
min
(
min
: schema.StrSchema[
'min'
]): this;
max
(
max
: schema.StrSchema[
'max'
]): this; }