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.

8 lines (7 loc) 334 B
import * as s from "jsonv-ts"; import { RpcMessage, type TRpcRequest } from "../rpc"; export declare class PingMessage extends RpcMessage { method: string; params: s.RecordSchema<s.Schema<s.IAnyOptions, any, any> & s.IAnyOptions, s.IRecordOptions>; respond(message: TRpcRequest): Promise<import("..").TRpcResponse<{}>>; }