React UMD error #13209
React UMD error
#13209
Replies: 1 comment
-
Solved by justanothercommylovr in a reddit post: [[language]]
name = "tsx"
language-servers = [ "typescript-language-server", "emmet-ls" ]
formatter = { command = "prettier", args = [ "--parser", "typescript" ] }
auto-format = true |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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:I tried putting
"jsx": "react-jsx"
and"allowUmdGlobalAccess": true
in mycompilerOptions
, 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?Beta Was this translation helpful? Give feedback.
All reactions