Closed lvzhenbo closed 1 year ago
same issue
Same here, changing Typescript to 4.8.3 solved for me.
Im facing the same issue here, but if I do what the image shows above it works again in typescript 5.1.3.
you can change the vscode typescript 5.0.4
It looks Vue Language Features (Volar)
extension's problem, see https://github.com/vuejs/language-tools/pull/3277 .
(and extention has been updated today)
It looks
Vue Language Features (Volar)
extension's problem, see vuejs/language-tools#3277 . (and extention has been updated today)
After testing, it is indeed volar's ts compatibility problem, but the version has not been officially released, need to switch to the pre-release version
If this problem has been resolved, please close this issue 😄
Describe the bug
Today, I updated VSC to 1.79. As I am using the built-in version of TS for VSC, version 5.1.3, I found that the TS type inference of the plugin is invalid. Then when I switched to TS with built-in version 5.0.4 of the project, everything returned to normal v5.1.3 v5.0.4
Reproduction
https://github.com/lvzhenbo/legado-web
System Info
Used Package Manager
pnpm
Validations