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

vue-tsc regression since version 1.0.4 #1994

Closed
ghiscoding opened this issue Oct 11, 2022 · 1 comment
Closed

vue-tsc regression since version 1.0.4 #1994

ghiscoding opened this issue Oct 11, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ghiscoding
Copy link
Contributor

ghiscoding commented Oct 11, 2022

Seem to have regression with new version 1.0.4 of vue-tsc (v1.0.3 seems fine), running a Vue Build throws a lot of Types error even though the Type is local into the same file as seen in print screen below. I tried downgrading @types/node to 18.8.0 as mentioned in this other issue comment but that is a different regression and has no effect to the error shown below.

vue@3.2.40
vite@3.1.7
vitejs/plugin-vue@3.1.2
vue-tsc@1.0.4

Temp Fix

My current temp fix is to downgrade to the fixed version 1.0.3 ("vue-tsc": "1.0.3") which doesn't throw any errors.

image

@johnsoncodehk johnsoncodehk added the bug Something isn't working label Oct 11, 2022
@ghiscoding
Copy link
Contributor Author

awesome, thanks for the quick fix, I can confirm that it works as expected with latest version 1.0.6 👍🏻

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

2 participants