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

x/valibot/src/methods/forward/forward.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.2-to-json-schema/src/methods/forward/forward.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.