From 3c286eb92cedb0a37ab14e6e39ddeaeb570dbad6 Mon Sep 17 00:00:00 2001 From: gawao Date: Tue, 10 Nov 2020 00:05:03 +0900 Subject: [PATCH] fix TypeError: Cannot add property noFallthroughCasesInSwitch https://github.com/facebook/create-react-app/issues/9429#issuecomment-715411571 --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index f2850b7..fbce9be 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,7 +17,8 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react" + "jsx": "react", + "noFallthroughCasesInSwitch": true }, "include": [ "src"