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

x/valibot/mod.ts>forward

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
function forward
import { forward } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/mod.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.

Returns

The modified action.