exercism/codemirror-lang-wren

Cannot find type declarations when imported using `"bundler"` as module resolution

ErikSchierboom opened this issue · 4 comments

Hey! I am trying to install the latest version (1.0.0) but it looks like it doesn't work when setting moduleResulution to bundler when using TypeScript:

src/components/Editor/languageCompartment.ts:47:37 - error TS2307: Cannot find module '@exercism/codemirror-lang-wren' or its corresponding type declarations.

47       const { wren } = await import("@exercism/codemirror-lang-wren");
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Any idea how to fix this?

Could it maybe be I just need to publish the new version? It's been so long since I've touched this.

Could be, but I did try to point to the github repo URL from the package.json file and that also didn't seem to work. @dem4ron you've also looked at this. Did you have any more insights?

I think publishing this would solve this issue.

@joshgoebel Do you want to publish the new version?