-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Open
Labels
Description
Version
3.2.31
Reproduction link
Steps to reproduce
- Open reproduction.
- Hover
a
of(new Comp()).a
insidesrc/components/Foo.ts
.
What is expected?
It shows string
.
What is actually happening?
It shows never
.
When a prop and a variable returned from setup has the same name, the variable returned from setup has higher precedence than a prop.
This can be confirmed by the fact that 55:
is rendered instead of 55
in the reproduction.
related: vuejs/language-tools#1142
mahmoudsaeed and lgabster