Closed
Description
Environment
- Operating System:
Darwin
- Node Version:
v18.14.2
- Nuxt Version:
3.0.0
- Nitro Version:
1.0.0
- Package Manager:
[email protected]
- Builder:
vite
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
Reproduction
Clone https://github.com/vuejs/pinia
- Go to
packages/nuxt
- Install dependencies, run build command
- go to
dist/runtime/plugin.vue3.d.ts
See the output of the plugin:
declare const _default: any;
export default _default;
Describe the bug
When authoring a nuxt module, the Typescript output of defineNuxtPlugin()
outputs any as the default export of the file.
Additional context
Issue was first mentioned in the Pinia repository: vuejs/pinia#2071
Logs
No response
Metadata
Metadata
Assignees
Labels
No labels