From 2a8d845cbc36a080e87f7da6696cadf6051575d8 Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Tue, 20 May 2025 03:09:58 +0000 Subject: [PATCH] Update tsconfig.json for React 18 JSX transform --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index e697558ccd..984b025eff 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "allowJs": true, "allowSyntheticDefaultImports": true, "alwaysStrict": true, "esModuleInterop": true, @@ -8,7 +9,7 @@ "forceConsistentCasingInFileNames": true, "isolatedModules": true, "baseUrl": ".", - "jsx": "react", + "jsx": "react-jsx", "lib": ["dom", "es2020", "dom.iterable", "esnext.asynciterable"], "module": "esnext", "moduleResolution": "node",