[Bug Report]typescript项目CollapsePanel组件引入后无法使用,ts类型定义错误
jwyGithub opened this issue · comments
JiangWeiye commented
Environment
macos/Edge-108.0.1462.76/vue@2.7.14
Reproduction link
https://codesandbox.io/s/strange-pare-m7oymb?file=/src/App.vue
Steps to reproduce
- ts项目中引入组件Collapse,CollapsePanel
- 打印Collapse,CollapsePanel
- Collapse显示为组件对象,CollapsePanel显示为undefined
What is expected?
CollapsePanel显示为正确的Panel组件
What is actually happening?
undefined