Closed WhosyVox closed 1 year ago
Syntax highlighting appears to break for tokens such as 'export' and 'return' when presented with a snippet of code with the exact formatting:
const x = <a extends b> ( args:a ):a => { return args; }
Removing the braces does not seem to help.
This does not occur however if you do either of the following:
Remove the newline after the template list:
Remove the extends:
const x = <a> ( args:a ):a => { return args; }
Syntax highlighting appears to break for tokens such as 'export' and 'return' when presented with a snippet of code with the exact formatting:
Removing the braces does not seem to help.
This does not occur however if you do either of the following:
Remove the newline after the template list:
Remove the extends: