Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript highlight color error for template argument without parens #1020

Open
Mr-Python-in-China opened this issue Feb 23, 2024 · 1 comment
Assignees

Comments

@Mr-Python-in-China
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version:1.86.2
  • OS Version: ubuntu 23.10/Web Editor
    image
    It seems the error will happen if the length of template list is longer than 1 and let var const with operator= is on the left.
    I'm sorry with my poor English.
@mjbvz mjbvz transferred this issue from microsoft/vscode Feb 26, 2024
@mjbvz
Copy link
Contributor

mjbvz commented Feb 26, 2024

Minimal example as text:

let m = new Map<number, number>;

Move here as the TM scoping is wrong. In this case, meta.type.parameters.ts is not added for <...>

@mjbvz mjbvz changed the title Typescript highlight color error Typescript highlight color error for template argument without parens Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants