No suggestions for propreties (Options API) #4074
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
As seen below the property "something" does not get suggested on the
OptionsAPIComponent
.Also no reported error on either even though they're missing the required property.
To reproduce, use below code. I set up a project with
npm create vue
and no to everything except eslint+prettier, then add the components.Property is not suggested externally on component reference
Property is not suggested internally in template
Property is not suggested on component instance
Method is not suggested on component instance
After adding
data()
to the component resolves a lot of LSP issuesBut not reference to internal properties
Properties are correctly suggested under the
$props
property (whendata()
is specified)The text was updated successfully, but these errors were encountered: