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

This issue has been created 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-09-27
Star Count 199644
Watcher Count 6098
Fork Count 32848
Issue Count 587

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Monitor mode prevent wifi direct 3 2022-04-01 2022-08-11
Root authority certificate renewal 3 2018-06-08 2022-08-29
toots that are only an image do not crosspost to twitter 0 2022-03-16 2022-07-17
Change the figure 19 to match the clearer version on the website 7 2021-05-31 2022-07-25
New User-ID with default homeserver 3 2021-06-25 2022-09-03
Add support for staking rewards 0 2022-09-01 2022-09-21
How can I use the Tinker plugin with Devilbox 4 2021-06-18 2022-08-09
proposal: other growth factor for vector 2 2020-11-26 2022-09-08
Missing error and warning colors on airline/lightline 3 2021-04-07 2022-09-27
Dicom exporter generating bad data 1 2019-05-25 2022-08-26
select points points numbering, feature request 0 2016-06-30 2022-08-26
W18: Invalid character in group name 12 2022-08-13 2022-09-02
Find solution to index multi valued attributes in Spanner 4 2021-04-09 2021-12-23
Is there any utility class to create an immediate Future for tests? 0 2021-04-29 2022-09-13
clone the repo $ git clone https://github.com/sherlock-project/sherlock.git # change the working directory to sherlock $ cd sherlock # install the requirements $ python3 -m pip install -r requirements 1 2022-05-18 2022-09-26
Esquemas XML NF-e/NFC-e - Pacote de Liberação nº 9i (Novo leiaute da NF-e, NT 2021.004 v.1.00). Publicado em 06/01/22 13 2022-01-06 2022-09-01
Better error messages when data upload fails 0 2022-03-16 2022-07-16
Increase the sleep time after restarting services 0 2021-08-26 2022-09-23
OSX packaging: libusb patch doesnt match current libusb @1.0.25_0 1 2022-02-10 2022-09-26
Cannort import benedict 10 2020-12-07 2022-05-27
data "terraform_remote_state" can't get credential 2 2022-05-07 2022-09-24
dvc-get-started: Rename `main` branch to `pipeline` 8 2021-05-14 2022-09-14
cordova-android 7.0.0 doesn't support API level 27, but the documentation suggests it does 6 2018-08-22 2022-09-16
Event is not accepted, the error is Event attribute key length should be less than 50. 3 2022-03-02 2022-09-14
Explain in JWT and OIDC docs why RequestScoped may be required 0 2021-11-11 2022-09-01
The Figma Link is no longer accessible Or its Broken 0 2021-03-28 2022-09-08
"Hide row" throws an exception when fixedRowsBottom is enabled 0 2022-04-06 2022-09-06
Migrating the ‘NPS' Network Policy Server from a 2012 R2 Standard to a new 2019 Server 0 2022-09-06 2022-09-19
Should use ApiPlatform's CustomerProvider 0 2021-02-25 2022-08-26
Please update doco to indicate status of RaspPi 4 1 2021-02-18 2022-08-10
PiHole filtereing traffic on all interfaces instead of only wg0 2 2022-01-25 2022-09-24
"GetNowBlock" got an error 1 2018-05-11 2022-09-08
Set `AssemblyVersion` for `Mono.Android.dll` to `(ApiLevel).0.0.0` 12 2022-04-07 2022-09-13
Corrupted json 0 2021-09-12 2022-01-05
fails to commit large batch inserts 2 2021-01-19 2022-09-05
Fix windows installer - Java download broken 1 2022-06-19 2022-09-19
ServiceAccount labeled for env 0 2021-02-02 2022-09-10
Dependency: symfony/process 5.x incompatibility 5 2020-12-28 2022-07-20
Fix for Issue #50 not released for over two years 6 2019-10-06 2022-09-04
Do you plan on updating? 0 2019-05-27 2022-08-04
`triggerCharacter` is `null` when completion provider is called programmatically 0 2022-09-02 2022-09-04
Go compilation problem 1 2021-10-25 2022-09-03
Add as, as+ flags 0 2021-07-13 2021-11-30
Update psql section 2 2021-11-19 2022-01-22
Projected volume gets replaced on every apply 3 2021-08-07 2022-09-12
Does the cloudstack Primary Storage support the Shared-Block storage service? 2 2022-04-20 2022-09-16
Duplicate "Copy to Clipboard" Code 0 2021-08-23 2022-07-19
Pluralization of "Podium" is incorrect 4 2022-01-08 2022-09-12
HMRClient Lost 1 2021-03-24 2022-01-21
Specify Visual Studio (Not VS code) 3 2022-03-09 2022-07-13