UNPKG

zod-error

Version:

Utilities to format and customize Zod error messages

9 lines (8 loc) 233 B
import { z } from 'zod'; /** * Gets a string representation of a Zod Issue path. * @export * @param {z.ZodIssue['path']} path * @return {*} {string} */ export declare function getZodPathArray(path: z.ZodIssue['path']): string;