[PrimeVue V4.0.0-beta.1] Cannot find declaration file for module for Aura theme and Primeone base #5615
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Typescript can't find declaration modules for "primevue/themes/primeone/aura", "primevue/themes/primeone" and definePreset() fails to import, because it says primevue/themes/index.d.ts is not a module.
Reproducer
https://stackblitz.com/edit/primevue-create-vue-issue-template-ydyslb?file=tsconfig.node.json,tsconfig.json,tsconfig.app.json,package.json,src%2FApp.vue,src%2Fmain.ts
PrimeVue version
4.0.0-beta.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
npm run build
Expected behavior
The app should not fail to build when building.
The text was updated successfully, but these errors were encountered: