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

x/typebox/src/typebox.ts>TypeRegistry.Set

JSON Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
function TypeRegistry.Set
import { TypeRegistry } from "https://deno.land/x/typebox@0.26.0-dev.1/src/typebox.ts";
const { Set } = TypeRegistry;

Sets a validation function for a user defined type

Type Parameters

optional
TSchema = unknown