agsamantha/node_modules/zod/lib/helpers/errorUtil.d.ts

10 lines
288 B
TypeScript
Raw Normal View History

2024-10-02 20:15:21 +00:00
export declare namespace errorUtil {
type ErrMessage = string | {
message?: string;
};
const errToObj: (message?: ErrMessage | undefined) => {
message?: string | undefined;
};
const toString: (message?: ErrMessage | undefined) => string | undefined;
}