From d01b0a9b2c82b66b0ffb6749542fd469e950e53d Mon Sep 17 00:00:00 2001 From: Dexter Date: Thu, 16 Dec 2021 12:35:25 +0000 Subject: [PATCH] shout if react is not imported as it breaks things --- tsconfig.json | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index eaa98835f..6540d48c2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,7 @@ { "compilerOptions": { "target": "ES2020", - "lib": [ - "dom", - "dom.iterable", - "ES2020" - ], + "lib": ["dom", "dom.iterable", "ES2020"], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, @@ -17,18 +13,11 @@ "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "react-jsx", + "jsx": "react", "declaration": true, "emitDeclarationOnly": true, - "declarationDir": "dist/types", - "noEmit": true + "declarationDir": "dist/types" }, - "include": [ - "src" - ], - "exclude": [ - "node_modules", - "**/*.stories.tsx", - "**/*.test.tsx" - ] + "include": ["src"], + "exclude": ["node_modules", "**/*.stories.tsx", "**/*.test.tsx"] }