uni-helper / uni-app-types

为 uni-app 内置组件提供 TypeScript 类型
https://uni-helper.js.org/uni-app-types
MIT License
82 stars 14 forks source link

volar@2.024(含)之后的版本失效 #66

Closed ci0n closed 1 month ago

ci0n commented 1 month ago

描述问题

volar@2.024于一周前发布,更新后类型提示失效

复现

volar插件更新到最新

系统信息

vscode输出面板中的错误信息:

[Vue] Plugin "@uni-helper/uni-app-types/volar-plugin (2)" API version incompatible, expected "2" but got "1".

使用的包管理器

pnpm

核对

ModyQyW commented 1 month ago

https://github.com/vuejs/language-tools/issues/4501

如果你不是在用 ts 5.5,可以降级 volar 到 2.0.21

ci0n commented 1 month ago

vuejs/language-tools#4501

如果你不是在用 ts 5.5,可以降级 volar 到 2.0.21

我在用5.5..

ModyQyW commented 1 month ago

vuejs/language-tools#4501 如果你不是在用 ts 5.5,可以降级 volar 到 2.0.21

我在用5.5..

我发的链接里就有 5.5 的解决方案

llhxhal commented 1 month ago

vuejs/language-tools#4501

如果你不是在用 ts 5.5,可以降级 volar 到 2.0.21

好好好,原来是版本问题,我还以为是我的问题

ModyQyW commented 1 month ago

https://github.com/uni-helper/uni-app-types/issues/67

ModyQyW commented 1 month ago

我即将归档这个仓库并将工作迁移到 @uni-helper/uni-types 中继续进行