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

Support for generic components #96

Open
maikeleckelboom opened this issue Oct 28, 2023 · 2 comments
Open

Support for generic components #96

maikeleckelboom opened this issue Oct 28, 2023 · 2 comments

Comments

@maikeleckelboom
Copy link

First of all, great work on this library.

I was wondering, since components utilizing <script setup> can now accept generic type parameters via the generic attribute, are there any plans to incorporate support for this feature?

@ethanchristensen01
Copy link

This would be particularly helpful for getting type hints in scoped slots, and should be very easy to implement. I can work on a PR.

@ethanchristensen01
Copy link

Here's the PR. #113

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

2 participants