Skip to main content
Module

x/valibot/mod.ts>FlatErrors

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias FlatErrors
import { type FlatErrors } from "https://deno.land/x/valibot@v0.18.0/mod.ts";

Flat errors type.

Type Parameters

optional
TSchema extends BaseSchema | BaseSchemaAsync = any
definition: { root?: [string, ...string[]]; nested: Partial<Record<NestedPath<TSchema>, [string, ...string[]]>>; }