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

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

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

[Extended] Extracts the InstanceType from the given Constructor

Type Parameters

T extends TConstructor<any[], any>

Parameters

schema: T
optional
options: SchemaOptions = [UNSUPPORTED]