UNPKG

@jsonjoy.com/json-type

Version:

High-performance JSON Pointer implementation

11 lines (10 loc) 294 B
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; }