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

x/typebox_deno/src/typebox.ts>Static

JSON Schema Type Builder with Static Type Resolution for TypeScript
Latest
type alias Static
import { type Static } from "https://deno.land/x/typebox_deno@0.31.22/src/typebox.ts";

Creates the static type for a TypeBox type

Type Parameters

T extends TSchema
optional
P extends unknown[] = []
definition: (T & { params: P; })["static"]