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

x/valibot/mod.ts>SetSchemaAsync

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

Set schema async type.

Type Parameters

TValue extends BaseSchema | BaseSchemaAsync
optional
TOutput = SetOutput<TValue>
definition: BaseSchemaAsync<SetInput<TValue>, TOutput> & { type: "set"; value: TValue; message: ErrorMessage | undefined; pipe: PipeAsync<SetOutput<TValue>> | undefined; }