From 5fe0ba7f99530fff50df70632a10371109cc8f85 Mon Sep 17 00:00:00 2001 From: River <382599512@qq.com> Date: Fri, 17 Sep 2021 14:41:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dvscode=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=BC=95=E7=94=A8=E4=B8=8D=E4=BC=9A=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E5=88=B0=E7=BB=84=E4=BB=B6=20(#9104)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit js项目如果react组件引用缺少/index vscode无法导航到定义 --- jsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/jsconfig.json b/jsconfig.json index f87334d4..197bee5d 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "jsx": "react-jsx", "emitDecoratorMetadata": true, "experimentalDecorators": true, "baseUrl": ".",