-
-
Notifications
You must be signed in to change notification settings - Fork 392
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
Dynamic slots error with generics #4538
Labels
Comments
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.0.26
VSCode version
1.91.0
Vue version
3.4.31
TypeScript version
5.5.3
System Info
No response
Steps to reproduce
Trying to build a table component which has a single generic parameter, representing the type of the data row. Column definitions are given according to this type.
I'd like to define the slot names and the corresponding props:
Try to define a slot with a generated name:
What is expected?
Based on other threads and PR #8374, this should report no errors.
What is actually happening?
When the slot is defined an error is generated:
Link to minimal reproduction
https://github.com/csisy/vue-dynamic-slots-repro
Any additional comments?
If you try the example (
npm run dev
), you can see that it actually works runtime.The text was updated successfully, but these errors were encountered: