Skip to content

Commit acc96d7

Browse files
committed
fix playground issues on first module
1 parent d6c45c1 commit acc96d7

File tree

4 files changed

+20
-48
lines changed

4 files changed

+20
-48
lines changed

exercises/01.routing/01.problem.routing/tsconfig.json

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,13 @@
55
"**/.client/**/*",
66
".react-router/types/**/*"
77
],
8+
"extends": ["@epic-web/config/typescript"],
89
"compilerOptions": {
9-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
1010
"types": ["node", "vite/client"],
11-
"target": "ES2022",
12-
"module": "ES2022",
13-
"moduleResolution": "bundler",
14-
"jsx": "react-jsx",
1511
"rootDirs": [".", "./.react-router/types"],
16-
"baseUrl": ".",
17-
"esModuleInterop": true,
18-
"verbatimModuleSyntax": true,
19-
"noEmit": true,
20-
"resolveJsonModule": true,
21-
"skipLibCheck": true,
22-
"strict": true
12+
"paths": {
13+
"#app/*": ["./app/*"]
14+
},
15+
"noUncheckedIndexedAccess": false
2316
}
2417
}

exercises/01.routing/01.solution.routing/tsconfig.json

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,13 @@
55
"**/.client/**/*",
66
".react-router/types/**/*"
77
],
8+
"extends": ["@epic-web/config/typescript"],
89
"compilerOptions": {
9-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
1010
"types": ["node", "vite/client"],
11-
"target": "ES2022",
12-
"module": "ES2022",
13-
"moduleResolution": "bundler",
14-
"jsx": "react-jsx",
1511
"rootDirs": [".", "./.react-router/types"],
16-
"baseUrl": ".",
17-
"esModuleInterop": true,
18-
"verbatimModuleSyntax": true,
19-
"noEmit": true,
20-
"resolveJsonModule": true,
21-
"skipLibCheck": true,
22-
"strict": true
12+
"paths": {
13+
"#app/*": ["./app/*"]
14+
},
15+
"noUncheckedIndexedAccess": false
2316
}
2417
}

exercises/01.routing/02.problem.automatic-routing/tsconfig.json

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,13 @@
55
"**/.client/**/*",
66
".react-router/types/**/*"
77
],
8+
"extends": ["@epic-web/config/typescript"],
89
"compilerOptions": {
9-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
1010
"types": ["node", "vite/client"],
11-
"target": "ES2022",
12-
"module": "ES2022",
13-
"moduleResolution": "bundler",
14-
"jsx": "react-jsx",
1511
"rootDirs": [".", "./.react-router/types"],
16-
"baseUrl": ".",
17-
"esModuleInterop": true,
18-
"verbatimModuleSyntax": true,
19-
"noEmit": true,
20-
"resolveJsonModule": true,
21-
"skipLibCheck": true,
22-
"strict": true
12+
"paths": {
13+
"#app/*": ["./app/*"]
14+
},
15+
"noUncheckedIndexedAccess": false
2316
}
2417
}

exercises/01.routing/02.solution.automatic-routing/tsconfig.json

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,13 @@
55
"**/.client/**/*",
66
".react-router/types/**/*"
77
],
8+
"extends": ["@epic-web/config/typescript"],
89
"compilerOptions": {
9-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
1010
"types": ["node", "vite/client"],
11-
"target": "ES2022",
12-
"module": "ES2022",
13-
"moduleResolution": "bundler",
14-
"jsx": "react-jsx",
1511
"rootDirs": [".", "./.react-router/types"],
16-
"baseUrl": ".",
17-
"esModuleInterop": true,
18-
"verbatimModuleSyntax": true,
19-
"noEmit": true,
20-
"resolveJsonModule": true,
21-
"skipLibCheck": true,
22-
"strict": true
12+
"paths": {
13+
"#app/*": ["./app/*"]
14+
},
15+
"noUncheckedIndexedAccess": false
2316
}
2417
}

0 commit comments

Comments
 (0)