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

x/valibot/src/actions/args/argsAsync.ts>ArgsActionAsync

The modular and type safe schema library for validating structural data 🤖
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.1-i18n/src/actions/args/argsAsync.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.