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

x/valibot/src/index.ts>ArgsActionAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
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.2-to-json-schema/src/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.