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

x/typebox/src/typebox.ts>TypeBuilder#Required

JSON Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
method TypeBuilder.prototype.Required
import { TypeBuilder } from "https://deno.land/x/typebox@0.25.20/src/typebox.ts";

Standard Creates an object type whose properties are all required

Parameters

schema: T
optional
options: SchemaOptions = [UNSUPPORTED]