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
/
schema
/
Walker.d.ts
11 lines
(10 loc)
•
294 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
type
{
Schema
}
from
'./schema'
;
export
interface
WalkerOpts
{
onType
?:
(
type
:
Schema
) =>
void
; }
export
declare
class
Walker
{
private
opts;
static
readonly
walk
:
(
type
:
Schema
,
opts
?:
WalkerOpts
) =>
void
;
constructor
(
opts
?:
WalkerOpts
);
walk
(
type
:
Schema
):
void
; }