vue icon indicating copy to clipboard operation
vue copied to clipboard

[2.7.x] Defined props using object syntax are not correctly inferred

Open ludwig801 opened this issue 2 years ago • 0 comments

Version

2.7.14

Reproduction link

codesandbox.io

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

ludwig801 avatar Jan 18 '23 12:01 ludwig801