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

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

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

Creates a value from the given type and references

Type Parameters

T extends Types.TSchema

Parameters

schema: T
references: Types.TSchema[]

Returns

Types.Static<T>

Creates a value from the given type

Type Parameters

T extends Types.TSchema

Parameters

schema: T

Returns

Types.Static<T>