@jsonjoy.com/json-type
Version:
High-performance JSON Pointer implementation
8 lines (7 loc) • 516 B
TypeScript
import type { Display } from './common';
import type { TExample, TType, WithValidator } from './schema';
export declare const validateDisplay: ({ title, description, intro }: Display) => void;
export declare const validateTExample: (example: TExample) => void;
export declare const validateTType: (tType: TType, kind: string) => void;
export declare const validateWithValidator: ({ validator }: WithValidator) => void;
export declare const validateMinMax: (min: number | undefined, max: number | undefined) => void;