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

x/valibot/src/methods/index.ts>forwardAsync

The modular and type safe schema library for validating structural data 🤖
Latest
function forwardAsync
import { forwardAsync } from "https://deno.land/x/valibot@v1.0.0-beta.5/src/methods/index.ts";

Forwards the issues of the passed validation action.

Type Parameters

TInput extends Record<string, unknown> | ArrayLike<unknown>
TIssue extends BaseIssue<unknown>

Parameters

The validation action.

pathKeys: PathKeys<TInput>

The path keys.