You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The framework distribution is now ESM-only (finally);
87
87
- All the Node.js versions listed above support `require(ESM)` syntax;
88
-
- If facing TypeScript error `TS1479`:
89
-
- switch your project to ESM by setting `"type": "module"` in `package.json`;
90
-
- or change file extension to `.mts`;
91
-
- or run your code using `tsx` or `vite-node` or similar tool;
88
+
- If facing TypeScript error `TS1479`, ensure either:
89
+
- using the [recommended tsconfig base for Node 20+](https://github.com/tsconfig/bases/blob/main/bases/node20.json);
90
+
- or switching your project to ESM by setting `"type": "module"` in `package.json`;
92
91
- Supported `zod` version: `^4.0.0`;
93
92
- Compatibility with `zod@^3` is dropped;
94
93
- You SHOULD now `import { z } from "zod"` without the `/v4` suffix;
0 commit comments