ts 如何对导入的 .vue 模块支持类型推断 #10821
Unanswered
guaijie
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
tsconfig.json 的配置文件
ts 文件中引入 .vue 模块提示:'找不到模块“./query-form.vue”或其相应的类型声明'。
安装了 vue-official
如果在类型定义文件中声明了 vue 模块,又将导致其他错误
失去对类型的支持
在 vue 文件中引入相应模块,将会表现得很好
Beta Was this translation helpful? Give feedback.
All reactions