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

x/valibot/src/error/index.ts>FlatErrors

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

Flat errors type.

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