-
-
Notifications
You must be signed in to change notification settings - Fork 438
[vue-component-meta] JSDoc tags in defineEmits are not included in generated EventMeta #5341
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
Comments
@KazariEX I’m using the latest version. |
I’m seeing the same issue locally — tags from defineEmits aren’t being extracted correctly, just like in the Stackblitz example. Meanwhile, extracting from defineProps works as expected. So I suspect it could be a bug in vue-component-meta, and I’m still investigating on my side as well. |
I cloned the repository and modified the test cases under the |
I feel like this issue probably exists in the v2 branch rather than the master branch. |
Vue version
3.5.13
TypeScript version
5.8.3
Steps to reproduce
Define defineEmits in Vue’s <script setup> syntax as follows:
Parse the output:
What is expected?
Tags
in JSDoc comments for defineEmits should be extracted correctly, just like they are for Props.What is actually happening?
does not correctly extract tags from JSDoc comments when parsing components.
Link to minimal reproduction
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: