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

x/valibot/mod.ts>InstanceSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias InstanceSchemaAsync
import { type InstanceSchemaAsync } from "https://deno.land/x/valibot@v0.28.1/mod.ts";

Instance schema type.

Type Parameters

TClass extends Class
optional
TOutput = InstanceType<TClass>
definition: BaseSchemaAsync<InstanceType<TClass>, TOutput> & { type: "instance"; class: TClass; message: ErrorMessage | undefined; pipe: PipeAsync<InstanceType<TClass>> | undefined; }