-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Description
Describe the issue
The type cast <string[]>
(or any array []
notation) in typescript breaks the highlighting and nothing after this point will be highlighted. Seems to be focused on variable assignment. Other places like property types of string[]
work fine.
Which language seems to have the issue?
typescript
Are you using highlight
or highlightAuto
?
highlight
Sample Code to Reproduce
const myVar = <string[]>this.service.invoke();
See https://jsfiddle.net/Lom83wne/
Expected behavior
The highlighting shouldn't break after the array []
notation.