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

x/valibot/src/schemas/instance/instanceAsync.ts>InstanceSchemaAsync

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

Instance schema type.

Type Parameters

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