-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Labels
kind: discussionDiscussion on changes to makeDiscussion on changes to makekind: supportAsking for support with something or a specific use caseAsking for support with something or a specific use caseproblem: removed issue templateOP removed the issue template without good causeOP removed the issue template without good causescope: integrationRelated to an integration, not necessarily to core (but could influence core)Related to an integration, not necessarily to core (but could influence core)scope: vueRelated to integration with Vue (rollup-plugin-vue is long archived), not coreRelated to integration with Vue (rollup-plugin-vue is long archived), not coresolution: Vue behaviorThis is Vue's behavior as well, so this is not a bug with this pluginThis is Vue's behavior as well, so this is not a bug with this pluginsolution: invalidThis doesn't seem rightThis doesn't seem rightsolution: revertedThis change was reverted after being determined to contain a regressionThis change was reverted after being determined to contain a regression
Description
What happens and why it is wrong
Building works fine but the generated declaration file from a SFC for example MyComponent.vue is named as MyComponent.vue.d.ts which breaks my imports (also generates like that without importing another SFC).
Renaming the file to MyComponent.d.ts works and the errors are gone.
Environment
I'm using this plugin together with rollup-plugin-vue and rollup-plugin-babel. I also have @rollup/plugin-commonjs & @rollup/plugin-node-resolve if that does matter.
Could that be a configuration problem with my tsconfig.json? I will try to add the configs if needed.
Versions
- typescript: 3.8.3
- rollup: 2.3.2
- rollup-plugin-typescript2: 0.27.0
Metadata
Metadata
Assignees
Labels
kind: discussionDiscussion on changes to makeDiscussion on changes to makekind: supportAsking for support with something or a specific use caseAsking for support with something or a specific use caseproblem: removed issue templateOP removed the issue template without good causeOP removed the issue template without good causescope: integrationRelated to an integration, not necessarily to core (but could influence core)Related to an integration, not necessarily to core (but could influence core)scope: vueRelated to integration with Vue (rollup-plugin-vue is long archived), not coreRelated to integration with Vue (rollup-plugin-vue is long archived), not coresolution: Vue behaviorThis is Vue's behavior as well, so this is not a bug with this pluginThis is Vue's behavior as well, so this is not a bug with this pluginsolution: invalidThis doesn't seem rightThis doesn't seem rightsolution: revertedThis change was reverted after being determined to contain a regressionThis change was reverted after being determined to contain a regression