Closed markbrockhoff closed 4 days ago
By the way: You can even see this issue within the action run of dependabot trying to upgrade typescript to 5.5 as well: https://github.com/nuxt/module-builder/actions/runs/9626387745/job/26552301785?pr=296
This is now resolved in mkdist
and should be fixed with a lockfile refresh.
Wow, that was fast. Issue is fixed thanks a lot @danielroe 👍🏻
Hi, I encountered the following error after updating from Typescript 5.4.5 to 5.5.2.
Whenever I run the build command I get this strange error message:
It looks like something might be wrong with the way the declarations are generated. I created a minimal reproduction using the nuxt module template as baseline: https://github.com/markbrockhoff/nuxt-module-template-bug-repro/tree/reproduce-ts-5.5-bug (Use branch
reproduce-ts-5.5-bug
)To reproduce the issue you only need to install the dependencies and run
pnpm prepack
.Any help narrowing this issue down would be appreciated, thanks.