-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
2.0.21之后的版本,所有组件的props, event等组件信息均没有智能提示信息 #4846
Comments
你可以使用最新的 vue(3.5.4) 和 typescript(5.6.2) 再试试吗?如果不行的话尝试制作一个最小复现。 |
你的从2.0.21开始,我的从2.0.17开始,有的甚至连所有的组件都没有提示,vue版本3.4.38,typescript版本5.5.4 |
唯独2.0.16这个版本才让我的项目全部类型提示正常 |
Please check the tsserver(typescript plugin)'s typescript version, it might use the workspace version which is outdated. |
你好,我本地全局安装的typescript版本是5.6.2,项目中的typescript版本是5.5.4,项目中的vue-tsc版本是2.0.29,项目中也没有配置工作区的配置文件(vscode.config.js) |
Still worth to check the version that used by typescript server tho, e.g. maybe both npm and pnpm have installed typescript globally but npm one is outdated and used by the server. If still having issue, create a minimal reproduction is recommended. |
npm one是什么? |
使用2.0.16版本一切正常 |
Vue - Official extension or vue-tsc version
2.1.6
VSCode version
1.93.0
Vue version
3.4.21
TypeScript version
5.2.2
System Info
No response
package.json dependencies
No response
Steps to reproduce
What is expected?
能正常对自定义组件进行智能提示
What is actually happening?
自定义了一个组件,在使用组件的属性或者自定义事件时,没有任何智能提示,引用的第三方库的组件也丢失了组件类型提示
Link to minimal reproduction
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: