Hello
I work a lot with @reduxjs/toolkit and have been annoyed for a while by the broken syntax highlighting on generic functions as object values.
in the screenshot below, you can see that the closing > for the generic arguments highlights red, then the => gets broken as well. This seems to only affect object values, and the syntax highlighting has no problem handling the same when assigned to a simple variable.
The screenshot is from VS Code with all extensions disabled, so I believe this is an issue with the base syntax highlighter.
Hello I work a lot with @reduxjs/toolkit and have been annoyed for a while by the broken syntax highlighting on generic functions as object values.
in the screenshot below, you can see that the closing
>
for the generic arguments highlights red, then the=>
gets broken as well. This seems to only affect object values, and the syntax highlighting has no problem handling the same when assigned to a simple variable.The screenshot is from VS Code with all extensions disabled, so I believe this is an issue with the base syntax highlighter.
Thanks in advance.