From 1886a094606a4efa9b9efd4694d19c3d1c2d73a7 Mon Sep 17 00:00:00 2001 From: Willian Oliveira Date: Wed, 25 Nov 2020 19:07:36 -0300 Subject: [PATCH] fix: noFallthroughCasesInSwitch missing in tsconfig.json Error Message: TypeError: Cannot add property noFallthroughCasesInSwitch, object is not extensible Issue: https://github.com/facebook/create-react-app/issues/9429 --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index d256828..317f81c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,6 +12,7 @@ "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, + "noFallthroughCasesInSwitch": true, "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true,