Skip to content

Commit

Permalink
fix: noFallthroughCasesInSwitch missing in tsconfig.json
Browse files Browse the repository at this point in the history
Error Message: TypeError: Cannot add property
noFallthroughCasesInSwitch, object is not extensible

Issue: facebook/create-react-app#9429
  • Loading branch information
wijloc committed Nov 25, 2020
1 parent 212d9b3 commit 1886a09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
Expand Down

0 comments on commit 1886a09

Please sign in to comment.