defineComponent 对自定义属性会类型报错

This issue has been tracked since 2022-08-15.

Version

2.7.8

Reproduction link

codesandbox.io

Steps to reproduce

如图所示
image

What is expected?

预期跟 vue3 一样,如果存在自定义的属性,展示 any

What is actually happening?

ts 报错

More Details About Repo
Owner Name vuejs
Repo Name vue
Full Name vuejs/vue
Language TypeScript
Created Date 2013-07-29
Updated Date 2022-10-06
Star Count 199800
Watcher Count 6093
Fork Count 32882
Issue Count 590

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date