UNPKG

@abyrd9/zod-form-data

Version:

Type-safe Zod v4 utilities to flatten and unflatten data, parse FormData, and collect schema-aligned errors.

5 lines 340 B
import type * as z4 from "zod/v4/core"; import type { DeepPartial } from "./deep-partial"; import type { FlattenedFormData } from "./schema-paths"; export declare function unflattenZodFormData<T extends z4.$ZodType>(data: FlattenedFormData<T>, root?: string): DeepPartial<z4.output<T>>; //# sourceMappingURL=unflatten-zod-form-data.d.ts.map