Open
Description
Information:
- Prism version: Test Drive version
- Plugins: Test Drive plugins
- Environment: Test Drive page
Description
The generic Foo<string>
in the following code breaks syntax highlighting of the second function Add2
with the React TSX language:
function Add1(a, b) { return <div>a + b</div> }
type Bar = Foo<string>;
function Add2(a, b) { return <div>a + b</div> }
Example
Screenshots from Test Drive: