-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
when both emit and model defined, plus import emit type from another file, component loses type #4824
Labels
Comments
Could the fix #4823 solve this? |
Potentially yes, I will report back once it's merged and released. |
The prop and event names generated by |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vue - Official extension or vue-tsc version
2.1.6
VSCode version
none
Vue version
3.5.3
TypeScript version
5.5.4
System Info
package.json dependencies
No response
Steps to reproduce
To reproduce, these requirement has to meet
Then the component inside
template
will have type ofunknown
.Should be able to reproduce with the repo provided below. Here's some screenshots
What is expected?
Having correct type for components.
What is actually happening?
Infer as
unknown
Link to minimal reproduction
https://github.com/RayGuo-ergou/volar-reproduction
Any additional comments?
possible related to #4822 ?
Also the current
radix-vue
is built with2.0.x
so this might caused this issue?The text was updated successfully, but these errors were encountered: