lvim tsx language server
after i clone fresh example in deno deploy, I get an error "Cannot find name 'React' " while opening routes/index.tsx with lunar vim
how can i solve this?
how can i solve this?


tsconfig.json (if you have one) is properly configured to include JSX support. You might need to set the option to and to React.createElement if you're using React without any JSX transform.deps.tsjsx"react"jsxFactoryroutes/index.tsximport { BLAH } from 'https://esm.sh/@whatever/library?alias=react:preact/compat&alias=external:preact/compat';import React from 'https://cdn.skypack.dev/react';return {
{
"williamboman/mason.nvim",
config = function()
require("mason").setup()
end,
},
{
"williamboman/mason-lspconfig.nvim",
config = function()
require("mason-lspconfig").setup({
ensure_installed = {"denols"},
})
end,
},
{
"neovim/nvim-lspconfig",
config = function()
local lspconfig = require("lspconfig")
lspconfig.denols.setup({
})
end,
},
}