Typescript types have wrong colors inside nested `[]`.
fenilli opened this issue · comments
I took a look at this, and I'm not really sure what you mean; do you mean the brackets themselves?
This screenshot is with the config set to "editor.bracketPairColorization.enabled": false
.
The [K]['parameters']
with it turned on is green because it is nested inside an additional pair of parentheses.
I see so because it is [[K]['parameters']]
it makes it green? it still looks odd right?
I would expect the [
and ]
to not be green like a string tho.
Oh I see what you mean now, thanks for the explanation.