vue
vue copied to clipboard
[2.7.x] Defined props using object syntax are not correctly inferred
Version
2.7.14
Reproduction link
What is expected?
Props object to be interpreted correctly and the props to be defined in the methods / computed / lifecycle hooks.
What is actually happening?
Defined props using object syntax are not recognized as belonging to the instance.
My development environment is:
- VSCode (v1.7.43)
- Volar (v1.0.24) - takeover mode
- Vue 2.7.14