unplugin-vue-components icon indicating copy to clipboard operation
unplugin-vue-components copied to clipboard

vue3+ts。中的 config配置后 提示 没有调用签名 爆红 功能正常使用

Open HeatL opened this issue 3 years ago • 3 comments

Describe the bug

此表达式不可调用。 类型 "typeof import("/Users/reai/project/exploration/node_modules/unplugin-vue-components/dist/webpack")" 没有调用签名。

Reproduction

虽然不影响功能 但是爆红看着难受

System Info

救命

Used Package Manager

npm

Validations

  • [X] Follow our Code of Conduct
  • [X] Read the Contributing Guide.
  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • [X] The provided reproduction is a minimal reproducible of the bug.

HeatL avatar Jan 13 '23 06:01 HeatL

你咋配的?

yuzheng14 avatar Jan 18 '23 15:01 yuzheng14

Try adding skipLibCheck filed in TSConfig?

hershelh avatar Jan 29 '23 14:01 hershelh

你咋配的?

就是看着unplugin-vue-components 官网文档里面配置的

HeatL avatar Apr 11 '23 02:04 HeatL