Variable name shadowing with useTemplateRef
does not result in TS error
#5031
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
🍰 p2-nice-to-have
Vue - Official extension or vue-tsc version
2.1.10
VSCode version
1.95.3
Vue version
3.5.13
TypeScript version
5.4.5
System Info
package.json dependencies
Steps to reproduce
error
orwarn
:@typescript-eslint/no-unused-vars
test
variable is not used (if you reload VSCode it does show as greyed out/unused but still without a warning/error):What is expected?
I expect to see a warning or error if the variable is not used.
What is actually happening?
You don't see a warning or error if the variable is not used if you mirror the ref name.
Link to minimal reproduction
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: