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

x/valibot/src/schemas/instance/index.ts>InstanceSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias InstanceSchema
import { type InstanceSchema } from "https://deno.land/x/valibot@v0.13.0/src/schemas/instance/index.ts";

Instance schema type.

Type Parameters

TClass extends Class
optional
TOutput = InstanceType<TClass>
definition: BaseSchema<InstanceType<TClass>, TOutput> & { schema: "instance"; class: TClass; }