Closed bdbvb closed 2 years ago
Describe the bug Color preview box shows up in typescript code when a variable comes after a colon and starts with a color name.
To Reproduce
const azureVar = ""; const foo = azureVar === "" ? "blue" : azureVar;
Preview box shows up just before the last instance of "azureVar" in the above example.
Expected behavior No preview box
Screenshots Another (real world) example:
Describe the bug Color preview box shows up in typescript code when a variable comes after a colon and starts with a color name.
To Reproduce
Preview box shows up just before the last instance of "azureVar" in the above example.
Expected behavior No preview box
Screenshots Another (real world) example: