Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hono/mod.ts>ToSchema

Lightweight, Ultrafast, Web Standards
Extremely Popular
Go to Latest
type alias ToSchema
import { type ToSchema } from "https://deno.land/x/hono@v3.7.1/mod.ts";

Type Parameters

M extends string
P extends string
I extends Input["in"]
O
definition: [K in P]: [K2 in Min keyof AddDollar<K2>]: { input: unknown extends I ? AddParam<{ }, P> : AddParam<I, P>; output: unknown extends O ? { } : O; }