From 21a11c723b6ae0ac40c073b42c6c21e7f3c91b4b Mon Sep 17 00:00:00 2001 From: Gil Barbara Date: Mon, 21 Oct 2024 19:24:26 -0300 Subject: [PATCH] Update tsconfig "jsx" to "react" --- src/index.tsx | 2 +- tsconfig.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index c7442e0..1397e22 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,4 +1,4 @@ -import { +import React, { cloneElement, isValidElement, ReactElement, diff --git a/tsconfig.json b/tsconfig.json index 8488835..0390e1e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "extends": "@gilbarbara/tsconfig", "compilerOptions": { "downlevelIteration": true, + "jsx": "react", "noEmit": true, "target": "ES2020" },