From b51b3065b03a790184bde93b9379aecc87f74301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Dalfors?= Date: Sun, 10 Mar 2024 12:56:35 +0100 Subject: [PATCH] add path to react types --- app/tsconfig.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/tsconfig.json b/app/tsconfig.json index 1b91a51..d2847b8 100644 --- a/app/tsconfig.json +++ b/app/tsconfig.json @@ -14,6 +14,11 @@ "module": "esnext", "target": "es2017", "jsx": "react", + "paths": { + "react": [ + "./node_modules/@types/react" + ] + }, "types": [ "react" ],