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

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题