Skip to content

Commit 4e08ade

Browse files
committed
React-scripts has been upgraded. The tsconfig had to be edited in order to bypass an error. Ref: facebook/create-react-app#9429 (comment)
1 parent aad8361 commit 4e08ade

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"react": "^16.13.1",
88
"react-dom": "^16.13.1",
99
"react-router-dom": "^5.2.0",
10-
"react-scripts": "3.4.3"
10+
"react-scripts": "^4.0.0"
1111
},
1212
"scripts": {
1313
"start": "react-scripts start",

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"resolveJsonModule": true,
1818
"isolatedModules": true,
1919
"noEmit": true,
20-
"jsx": "react"
20+
"jsx": "react",
21+
"noFallthroughCasesInSwitch": true
2122
},
2223
"include": [
2324
"src"

0 commit comments

Comments
 (0)