From fe63c6633f32b54aa1989cb34627e72bb3377efd Mon Sep 17 00:00:00 2001 From: wangdejiang Date: Wed, 19 Jul 2023 22:45:26 +0800 Subject: [PATCH] chore: resolve ts-to-JSX type hints --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index c4a59366..b2633cb4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,6 +14,7 @@ "isolatedModules": true, "noEmit": true, "jsx": "preserve", + "jsxImportSource": "preact", "jsxFactory": "h", "jsxFragmentFactory": "Fragment", "types": ["vite-plugin-pwa/client"],