[Bug Report] [TypeScript] [time-select] Use the "vue-tsc" command to check ts and report an error: "Cannot find name 'ComponentSize'. type: import("vue").PropType<ComponentSize>;", without "{skipLibCheck: true}" in "tsconfig.ts" #7265
Labels
Bug Type:
TypeScript
Environment
3.2.25
2.1.8
Microsoft Edge 100.0.1185.44/ Window 10 19044.1586
Vite
Reproduction
Related Component
el-time-select
Reproduction Link
Element Plus Playground
Steps to reproduce
First of all, the link of reproduction is meaningless. Please ignore it
What is Expected?
Run successfully without error
What is actually happening?
Additional comments
I found that the reason is that the
node_modules\element-plus\lib\components\time-select\index.d.ts
file uses anComponentSize
that was not imported:I found that none of the other components are using it anymore.
At present, I can only temporarily solve this problem by configure
{skiplibcheck: true}
intsconfig.ts
.I hope the authorities will find and solve it, or tell me a scientific way
The text was updated successfully, but these errors were encountered: