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

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

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

Instance schema type.

Type Parameters

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