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

x/typebox_deno/src/value/create.ts>Create

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

Creates a value from the given schema and references

Type Parameters

T extends Types.TSchema

Parameters

schema: T
references: Types.TSchema[]

Returns

Types.Static<T>

Creates a value from the given schema

Type Parameters

T extends Types.TSchema

Parameters

schema: T

Returns

Types.Static<T>