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
Hi, I am planning on converting some stuff to ESM since some other packages are moving to ESM only (no CommonJS imports). I saw that v0.4.0 is now also compiled as ESM.
However, I am getting Could not find a declaration file for module 'h5wasm'. Which is weird, since the package includes Typescript declarations right? Do I need to change something for ESM support?
The text was updated successfully, but these errors were encountered:
Thanks, it's because I had configured "moduleResolution": "Node16" in tsconfig.json. Changing this to "Node" resolves the issue and still seems to work fine for ESM.
Hi, I am planning on converting some stuff to ESM since some other packages are moving to ESM only (no CommonJS imports). I saw that v0.4.0 is now also compiled as ESM.
However, I am getting
Could not find a declaration file for module 'h5wasm'
. Which is weird, since the package includes Typescript declarations right? Do I need to change something for ESM support?The text was updated successfully, but these errors were encountered: