import { type FlatErrors } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/index.ts";
Flat errors type.
Type Parameters
TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>> | undefined
definition: Prettify<{ readonly root?: [string, ...string[]]; readonly nested?: Prettify<Readonly<Partial<Record<TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>> ? IssueDotPath<TSchema> : string, [string, ...string[]]>>>>; readonly other?: [string, ...string[]]; }>