UNPKG

@jsonjoy.com/json-type

Version:

High-performance JSON Pointer implementation

8 lines (7 loc) 292 B
import type * as jtd from './types'; import type * as schema from '../schema'; /** * Main router function that converts any Schema to JTD form. * Uses a switch statement to route to the appropriate converter logic. */ export declare function toJtdForm(schema: schema.Schema): jtd.JtdForm;