We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Vetur: Restart VLS
If a component defines optional props in camel case, e.g.
Then in another component that uses it, the types generated for props validation places the optional modifier ? incorrectly as part of the key:
?
The generated type should be
{ 'default-split'?: number }
not
{ 'default-split?': number }
This can be reproduced on https://github.com/vuejs/vue-devtools/tree/next by opening https://github.com/vuejs/vue-devtools/blob/next/packages/app-frontend/src/features/components/ComponentsInspector.vue and hover over <SplitPane>
<SplitPane>
The text was updated successfully, but these errors were encountered:
Duplicate of #2314
Sorry, something went wrong.
It will fix in #2342 PR.
No branches or pull requests
Vetur: Restart VLS
Info
Problem
If a component defines optional props in camel case, e.g.
Then in another component that uses it, the types generated for props validation places the optional modifier
?
incorrectly as part of the key:The generated type should be
not
Reproducible Case
This can be reproduced on https://github.com/vuejs/vue-devtools/tree/next by opening https://github.com/vuejs/vue-devtools/blob/next/packages/app-frontend/src/features/components/ComponentsInspector.vue and hover over
<SplitPane>
The text was updated successfully, but these errors were encountered: