From 1ca684d2d8b95ab3a6002c1035003eae86247429 Mon Sep 17 00:00:00 2001 From: Jamie Brynes Date: Wed, 13 Nov 2024 17:35:07 +0000 Subject: [PATCH] chore: set jsx to react-jsx This prevents the need to import React explicitly in .tsx files --- plugin/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/tsconfig.json b/plugin/tsconfig.json index 6de3820..c18f2fd 100644 --- a/plugin/tsconfig.json +++ b/plugin/tsconfig.json @@ -2,7 +2,7 @@ "include": ["src/**/*", "./vitest-setup.ts"], "exclude": ["node_modules/*"], "compilerOptions": { - "jsx": "react", + "jsx": "react-jsx", "esModuleInterop": true, "types": ["node"], "paths": {