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
To be valid (Node-flavored) ESM, this import needs a file extension. In modern moduleResolution settings, TS will fail, and give an error about how Module '"zod"' has no exported member 'z'..
And yes, I'm using skipLibCheck: true, but that suppresses errors; thus, the only error I see is my own code, but the issue is really in Zod.
(This is very important for CLIs, but I switched back to Bundler as I'm developing a web app. I'd just wanted to see what broke, so this isn't breaking me.)
The text was updated successfully, but these errors were encountered:
zod/index.d.ts
Line 1 in f7ad261
To be valid (Node-flavored) ESM, this import needs a file extension. In modern
moduleResolution
settings, TS will fail, and give an error about howModule '"zod"' has no exported member 'z'.
.And yes, I'm using
skipLibCheck: true
, but that suppresses errors; thus, the only error I see is my own code, but the issue is really in Zod.(This is very important for CLIs, but I switched back to
Bundler
as I'm developing a web app. I'd just wanted to see what broke, so this isn't breaking me.)The text was updated successfully, but these errors were encountered: