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

x/valibot/src/error/flatten/index.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.5.0/src/error/flatten/index.ts";

Flat errors type.

definition: { root?: [string, ...string[]]; nested: Partial<Record<string, [string, ...string[]]>>; }