5 lines
232 B
TypeScript
5 lines
232 B
TypeScript
import defaultErrorMap from "./locales/en";
|
|
import type { ZodErrorMap } from "./ZodError";
|
|
export { defaultErrorMap };
|
|
export declare function setErrorMap(map: ZodErrorMap): void;
|
|
export declare function getErrorMap(): ZodErrorMap;
|