Closed RodrigoTomeES closed 4 months ago
Seems to work fine for me (2.9.0
):
Mmm I am also in 2.9.0
. I update the issue with my config.
@RodrigoTomeES turn off the react-preset
when this is on; it thinks you're writing JSX.
@lukehaas one question, as you said if I disable react-preset
it works well but why react preset should break generic in TS? I use it in my .tsx files in vscode
It works in VS Code due to the comma before the closing bracket <T,>
. Unfortunately, this is not supported in Codemirror.
Reopening as I will try and get this supported.
@RodrigoTomeES this is now resolved in the latest version of RunJS - version 2.10.0
Hi,
Write a generic function break the code highlights, looks:
https://github.com/lukehaas/RunJS/assets/13077343/598ec768-af8b-4f4f-9ab9-abff12dcf74a
The code:
SO:
Version:![Captura de pantalla 2023-10-20 a las 14 13 43](https://github.com/lukehaas/RunJS/assets/13077343/af444428-c86c-468c-a376-ae4167bc5a57)
2.9.0
Config (is in spanish, I can't change the language of RunJS):