Closed ibockowsky closed 2 months ago
Start a new pull request in StackBlitz Codeflow.
Related: https://github.com/nuxt/nuxt/issues/24885 Possibly related: unjs/mkdist#22
In this issue, we should find the root cause why the generated plugin types are any though 🤔
Moving this to the module builder repo.
But I wonder - apparently this is correct by design? 🤔
https://github.com/nuxt/module-builder/blob/f158ffaf6443909c3882337ebda49de4a8db2d4f/test/build.spec.ts#L87-L94
If it helps, I was able to reproduce this with a custom plugin too https://codesandbox.io/p/devbox/nuxt-plugin-typing-repro-xvtm2t
resolved in https://github.com/nuxt/module-builder/pull/255.
Environment
Build Modules: -
Reproduction
https://stackblitz.com/edit/github-nlraem?file=app.vue
Describe the bug
This type should be known
Additional context
No response
Logs
No response