From 81dfe36021c5592944cbf78d1a907f7b5400ecc0 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 8 Jun 2022 05:19:23 +0800 Subject: [PATCH] chore: enable `jsx` for volar --- src/client/tsconfig.json | 1 + tsconfig.json | 1 + 2 files changed, 2 insertions(+) diff --git a/src/client/tsconfig.json b/src/client/tsconfig.json index b00f54c4..eb2b39ee 100644 --- a/src/client/tsconfig.json +++ b/src/client/tsconfig.json @@ -7,6 +7,7 @@ "module": "esnext", "declaration": true, "declarationDir": "../../dist/client-types", + "jsx": "preserve", "lib": ["ESNext", "DOM"], "types": ["vite/client"], "paths": { diff --git a/tsconfig.json b/tsconfig.json index 1ca3b78d..6c0f2edb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,6 +8,7 @@ "skipLibCheck": true, "noUnusedLocals": true, "resolveJsonModule": true, + "jsx": "preserve", "lib": ["ESNext", "DOM"] }, "exclude": ["**/node_modules/**", "**/dist/**"]