From 002997827b5e9243103ee7a82b8329463401cb43 Mon Sep 17 00:00:00 2001 From: fupeng Date: Wed, 20 Oct 2021 01:43:16 +0800 Subject: [PATCH] fix: jest error --- tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index a7878b9..aa1d702 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "target": "ES2018", "module": "ESNext", "strict": true, + "jsx": "react", "declaration": true, "preserveConstEnums": true, "esModuleInterop": true, @@ -27,8 +28,7 @@ "rootDir": "src", "outDir": "lib", "isolatedModules": false, - "declarationDir": "typings", - "jsx": "preserve" + "declarationDir": "typings" }, "include": ["src/**/*"] }