Vue - Official extension or vue-tsc version
v2.0.26
VSCode version
1.91.0
Vue version
latest
TypeScript version
5.5.2
System Info
No response
Steps to reproduce
In reproduction repo:
- Open
exampleLangJs.vue
- Trigger import suggestions on
MyType JSDoc comment

- Accept first entry
What is expected?
Imports from JSDoc in <script lang="js">/ <script> work like in regular js file:
You can check this in reproduction repo:
-
Without @import comment


-
With @import comment


What is actually happening?
Whole d.ts/ts file is imported

Link to minimal reproduction
https://github.com/ilanaya/volar-starter
Any additional comments?
No response
Vue - Official extension or vue-tsc version
v2.0.26
VSCode version
1.91.0
Vue version
latest
TypeScript version
5.5.2
System Info
No response
Steps to reproduce
In reproduction repo:
exampleLangJs.vueMyTypeJSDoc commentWhat is expected?
Imports from JSDoc in
<script lang="js">/<script>work like in regular js file:You can check this in reproduction repo:
Without


@importcommentWith


@importcommentWhat is actually happening?
Whole
d.ts/tsfile is importedLink to minimal reproduction
https://github.com/ilanaya/volar-starter
Any additional comments?
No response