-
-
Notifications
You must be signed in to change notification settings - Fork 500
fix(language-core): defineModel for generic component types
#5748
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
Conversation
vue-component-meta
vue-component-type-helpers
@vue/language-core
@vue/language-plugin-pug
@vue/language-server
@vue/language-service
vue-tsc
@vue/typescript-plugin
commit: |
|
We cannot add |
|
Thanks for the advice. Is there any feature demo / more info about |
|
|
|
The type generated from a generic component is a generic function. This means that when a user uses a generic component type processed by vue-tsc, we cannot modify the component's props (because it would break the generic). Therefore, even if |
defineModal for generic component typesdefineModel for generic component types
Fix #4972