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

x/valibot/src/actions/index.ts>ArgsActionAsync

The modular and type safe schema library for validating structural data 🤖
Go to Latest
interface ArgsActionAsync
implements BaseTransformation<TInput, (...args: InferInput<TSchema>) => Promise<Awaited<ReturnType<TInput>>>, never>
import { type ArgsActionAsync } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/actions/index.ts";

Args action async type.

Type Parameters

TInput extends (...args: any[]) => unknown
TSchema extends Schema

Properties

readonly
type: "args"

The action type.

readonly
reference: argsAsync

The action reference.

readonly
schema: TSchema

The arguments schema.