UNPKG

jsonv-ts

Version:

JSON Schema builder and validator for TypeScript with static type inference, Hono middleware for OpenAPI generation and validation, and MCP server/client implementation. Lightweight, dependency-free, and built on Web Standards.

5 lines (4 loc) 242 B
import * as lib from ".."; import type { JSONSchema } from "../types"; export type AnySchema<Type = unknown> = lib.Schema<any, Type> & JSONSchema<lib.Schema>; export declare function fromSchema<Type = unknown>(_schema: any): AnySchema<Type>;