VSCode更新到最新版本和Vetur错误

时间:2020-07-22 18:54:57

标签: visual-studio-code vetur

由于某种原因我的VS代码已更新到最新版本后,我的Vetur显示该代码有问题。 仅在IDE中显示错误。编译正常。

VSCode版本:1.47.2 Vetur版本:0.25.0

Type of property '$v' circularly references itself in mapped type 'ValidationProperties<AprovarModal>'.Vetur(2615)

Image the Vetur bug on IDE

1 个答案:

答案 0 :(得分:0)

好像是问题related to TypeScript 3.9,现在已与Vetur 0.25.0一起使用。

如果您的项目使用的是其他TypeScript版本,则可以tell Vetur to use the workspace dependencies

对我来说,此问题已解决。