interface ReturnsActionAsync
implements BaseTransformation<TInput, (...args: Parameters<TInput>) => Promise<Awaited<InferOutput<TSchema>>>, never>
import { type ReturnsActionAsync } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/actions/index.ts";
Returns action async type.
Type Parameters
TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>
Properties
readonly
schema: TSchemaThe arguments schema.