Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to refer component prop type in v1.0.0 #1951

Closed
TommyCat008 opened this issue Oct 8, 2022 · 6 comments
Closed

Unable to refer component prop type in v1.0.0 #1951

TommyCat008 opened this issue Oct 8, 2022 · 6 comments

Comments

@TommyCat008
Copy link

TommyCat008 commented Oct 8, 2022

When I upgraded to version 1.0.0, the UI components used in my code showed type inference errors, as shown below:

08c77b638c1595345b4a975d3595648e

When I clicked to see the component type reference, I found that it was inferred to runtime.d.ts in the vue, not the type in the UI component.
0b3a2dfba892f8189f646a199f575700

After the downgrade, it works.
cf782df0008bdfe05094665473232f58

@TommyCat008 TommyCat008 changed the title Unable to refer component prop type Unable to refer component prop type in v1.0.0 Oct 8, 2022
@vaakian
Copy link

vaakian commented Oct 8, 2022

It's better to provide a minimal reproduction

@ll60
Copy link

ll60 commented Oct 8, 2022

我也出现了这种问题。
image

@liubaicai
Copy link

确实

@weifeiyue
Copy link

the same +1

@weifeiyue
Copy link

everythings is broken down

@johnsoncodehk
Copy link
Member

Fixed by 71a0019 and 2471365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants