fix: Add nixpacks configuration for Astro deployment
This commit is contained in:
8
dealplustech-astro/node_modules/zod/src/v3/helpers/errorUtil.ts
generated
vendored
Normal file
8
dealplustech-astro/node_modules/zod/src/v3/helpers/errorUtil.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
export namespace errorUtil {
|
||||
export type ErrMessage = string | { message?: string | undefined };
|
||||
export const errToObj = (message?: ErrMessage): { message?: string | undefined } =>
|
||||
typeof message === "string" ? { message } : message || {};
|
||||
// biome-ignore lint:
|
||||
export const toString = (message?: ErrMessage): string | undefined =>
|
||||
typeof message === "string" ? message : message?.message;
|
||||
}
|
||||
Reference in New Issue
Block a user