@jsonjoy.com/json-type
Version:
High-performance JSON Pointer implementation
8 lines (7 loc) • 345 B
TypeScript
import type { Schema, SchemaBase } from './schema';
export declare const validateTType: (tType: SchemaBase, kind: string) => void;
/**
* Main router function that validates a schema based on its kind.
* This replaces the individual validateSchema() methods from type classes.
*/
export declare const validateSchema: (schema: Schema) => void;