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

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

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

Extended Creates a tuple type from this constructors parameters

Type Parameters

T extends TConstructor<any[], any>

Parameters

schema: T
optional
options: SchemaOptions = [UNSUPPORTED]