errors.d.ts 232 B

12345
  1. import defaultErrorMap from "./locales/en";
  2. import type { ZodErrorMap } from "./ZodError";
  3. export { defaultErrorMap };
  4. export declare function setErrorMap(map: ZodErrorMap): void;
  5. export declare function getErrorMap(): ZodErrorMap;