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

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

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

Standard Creates a tuple type

Parameters

items: [...T]
optional
options: SchemaOptions = [UNSUPPORTED]