From 02a3fb3d6fecb1cbbf1c71a4ffd04bdbc6403fad Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Fri, 22 Sep 2023 12:40:29 +0200 Subject: [PATCH] Use new JSX transform in all sample and test suites --- test/Test.tsx | 1 - test/tsconfig.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/Test.tsx b/test/Test.tsx index e7eb1d8..68c2bb8 100644 --- a/test/Test.tsx +++ b/test/Test.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import AsyncButton from '@wojtekmaj/react-async-button'; import './Test.css'; diff --git a/test/tsconfig.json b/test/tsconfig.json index c3dd618..d8e1ea4 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -3,7 +3,7 @@ "declaration": true, "esModuleInterop": true, "isolatedModules": true, - "jsx": "react", + "jsx": "react-jsx", "moduleResolution": "node", "noUncheckedIndexedAccess": true, "outDir": "dist", -- 2.51.2