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

x/typebox/src/typebox.ts>ExtendedTypeBuilder#Parameters

JSON Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
method ExtendedTypeBuilder.prototype.Parameters
import { ExtendedTypeBuilder } from "https://deno.land/x/typebox@0.26.0-dev.1/src/typebox.ts";

[Extended] Extracts the Parameters from the given Function type

Type Parameters

T extends TFunction<any[], any>

Parameters

schema: T
optional
options: SchemaOptions = [UNSUPPORTED]