Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: the file path suffix is js when ts auto-import in <script setup lang="ts"> #1667

Closed
Cenavy1019 opened this issue Aug 3, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Cenavy1019
Copy link

Cenavy1019 commented Aug 3, 2022

2022-08-05.17.26.59.mov

Volar 0.39.4
TypeScript Vue Plugin 0.39.4

I'm downgrade the version to 0.39.2 and it's ok

@calebwaldner
Copy link

I had the same problem with version 0.39.4, all my .ts files were auto-importing as .js. Downgrading to 0.39.2 fixed this.

@yao8384
Copy link

yao8384 commented Aug 5, 2022

same as me😞

@Cenavy1019 Cenavy1019 changed the title BUG: When TS is used for automatic import, the file path has its own suffix .JS bug: The tswill be auto-import with the js suffix in vue type file Aug 5, 2022
@Cenavy1019 Cenavy1019 changed the title bug: The tswill be auto-import with the js suffix in vue type file bug: The ts file will be auto-import with the js suffix in the vue type file Aug 5, 2022
@Cenavy1019 Cenavy1019 changed the title bug: The ts file will be auto-import with the js suffix in the vue type file bug: the file path suffix is js when ts auto-import in <script setup lang="ts"> Aug 5, 2022
@johnsoncodehk johnsoncodehk added the bug Something isn't working label Aug 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants