Commit 78acf73
committed
Export only z from zod external wrapper
Changed from exporting all of zod to only exporting the z object we actually use.
Before:
module.exports = require('zod')
After:
const { z } = require('zod')
module.exports = { z }
This is more explicit and follows the principle of only exporting what's needed.
Status: 5/6 test suites passing (ipc.test.ts still has vitest resolution issue)1 parent 8f7ff5e commit 78acf73
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
0 commit comments