UNPKG

@jsonjoy.com/json-type

Version:

High-performance JSON Pointer implementation

8 lines (7 loc) 276 B
import { type Type } from '../type'; import type * as jtd from './types'; /** * 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(type: Type): jtd.JtdForm;