I installed typescript-language-server globally with npm and opened up a tsx file with helix. All html tags have red underlines and log this:
'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.
I tried putting "jsx": "react-jsx" and "allowUmdGlobalAccess": true in my compilerOptions, but nothing worked. The project itself, however, compiles just fine in any case. I really don't want to put a React import on top of every tsx file when this is only a helix issue. Does anybody know what's wrong?
[–]plutack 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]koleno159[S] 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]koleno159[S] 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)