-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
[vue-component-meta] When the props name starts with 'on', it is not included in the generated meta props #5166
Comments
Not sure if this was intentional.
|
It does seem to be the reason; is there a configuration to turn off this behavior? it feels a bit strange 🤔 |
Looking at the Vue docs, filtering those props out is probably intentional because that is how you define event listeners for render functions: https://vuejs.org/guide/extras/render-function.html#v-on |
I know this. Playground but in this case, |
Vue - Official extension or vue-tsc version
2.2.0
VSCode version
1.96.4 (Universal)
Vue version
3.3.8
TypeScript version
5.0.2
System Info
package.json dependencies
Steps to reproduce
vue-component-meta
to extract the meta-data.What is expected?
there is an item in meta-data's props like this
What is actually happening?
Can not find
onFoo
in the generated meta-data's propsLink to minimal reproduction
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: