2019.2 - Narrowed to string
I'm seeing this in 2019.2 in a TSX file.
When I hover over the highlighted text, it simply says Narrowed to 'string'

What is this? It's possibly the same as Deleted text in Editor > Color Scheme > General, but the color is slightly different.

Please sign in to leave a comment.
it must be TypeScript | Variable type is narrowed by a type guard inspection...
Highlighting used for such variables can be configured in Settings | Editor | Color Scheme | TypeScript, Variable type narrowed by a type guard
That's it, thank you.