When working in an Angular template (html file) and I Command + click on a variable name within the code, I encounter a strange issue. The "peek" window shows two definitions for that variable and prompts me to choose between them, even though the variable is only defined once in the codebase. Typically, this behavior should navigate me to the variable's definition in the ts file, but it seems to be displaying duplicate information instead. I have not come across anyone else experiencing this problem, but I find it hard to believe that I am the only one facing it. Could it be a configuration error that I am unaware of?
I have attached two images illustrating the duplication in the "peek" window for the same variable: https://i.sstatic.net/f1Bnf.jpg