agsamantha/node_modules/zod/lib/helpers/errorUtil.d.ts
2024-10-02 15:15:21 -05:00

9 lines
288 B
TypeScript

export declare namespace errorUtil {
type ErrMessage = string | {
message?: string;
};
const errToObj: (message?: ErrMessage | undefined) => {
message?: string | undefined;
};
const toString: (message?: ErrMessage | undefined) => string | undefined;
}