DefineProps<Props, BooleanKey<Props>>: 记录一个vue3+ts报错?

DefineProps<Props, BooleanKey<Props>>

解决方案
This is the IDE bug, tracked at WEB-61241; please follow it for updates

as a workaround, you can try downloading the WebStorm 2023.2 EAP and enabling Volar support in Preferences | Languages & Frameworks | TypeScript | Vue

阅读 2.8k
2 个回答

更新 WebStorm 版本至 2023.2 及以上,并启用 Volar 支持。


This is the IDE bug, tracked at WEB-61241; please follow it for updates

as a workaround, you can try downloading the WebStorm 2023.2 EAP and enabling Volar support in Preferences | Languages & Frameworks | TypeScript | Vue

推荐问题