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.

1
2 comments

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

2

That's it, thank you.

0

Please sign in to leave a comment.