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

x/valibot/src/actions/returns/index.ts>ReturnsAction

The modular and type safe schema library for validating structural data 🤖
Latest
interface ReturnsAction
implements BaseTransformation<TInput, (...args: Parameters<TInput>) => InferOutput<TSchema>, never>
import { type ReturnsAction } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/actions/returns/index.ts";

Returns action type.

Type Parameters

TInput extends (...args: any[]) => unknown
TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>

Properties

readonly
type: "returns"

The action type.

readonly
reference: returns

The action reference.

readonly
schema: TSchema

The arguments schema.