Replies: 1 comment 1 reply
-
There is no ESM support yet, but you can use CJS modules using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Folks
I am trying to load zod using goja so i can define my types using zod from go.
would you kindly help me figure how i can import the released zod modules and use them from typescript ?
here is what i did so far
i created a new npm package and added zod as a dependency i then copied what i had in my node_modules/zod folder to zod-3.23.8/ there is a bunch of files[2] not sure which ones i need to import and which ones i can discard.
here is how i want to import zod in my ts file .
[1]
[2]
Regards
Beta Was this translation helpful? Give feedback.
All reactions