fix(api): document generation not working with nextjs (#3920)

This commit is contained in:
Meier Lukas
2025-08-29 19:14:27 +02:00
committed by GitHub
parent d9f0983f0d
commit 97bc092aea
3 changed files with 20 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
diff --git a/dist/esm/utils/zod.mjs b/dist/esm/utils/zod.mjs
index a3fda1a5b5403a659bfc70653a94102e607f8b80..070d9728f9b41add50e5d30d3aa559be91018ccd 100644
--- a/dist/esm/utils/zod.mjs
+++ b/dist/esm/utils/zod.mjs
@@ -62,7 +62,7 @@ export const instanceofZodTypeLikeString = (_type) => {
}
return instanceofZodTypeKind(type, 'string');
};
-export const zodSupportsCoerce = 'coerce' in z;
+export const zodSupportsCoerce = true //'coerce' in z;
export const instanceofZodTypeCoercible = (_type) => {
const type = unwrapZodType(_type, false);
return (instanceofZodTypeKind(type, 'number') ||