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

x/valibot/src/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.5.0/src/index.ts";

Instance schema type.

Type Parameters

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