解决方法:tsconfig.json
中设置这个要为 false
: "declaration": false
vscode识别defineProps报错Default export of the module has or is using private name ‘Props‘
最新推荐文章于 2023-12-15 11:17:08 发布
解决方法:tsconfig.json
中设置这个要为 false
: "declaration": false