UNPKG

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