Skip to content

Commit 00bfb48

Browse files
author
Quinten Van Damme
committed
Update tsconfig.json with new compiler options
1 parent 2bc79e4 commit 00bfb48

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

tsconfig.json

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
22
"compilerOptions": {
33
"target": "es5",
4-
"lib": ["dom", "dom.iterable", "esnext"],
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
59
"allowJs": true,
610
"skipLibCheck": true,
7-
"strict": true,
811
"forceConsistentCasingInFileNames": true,
912
"noEmit": true,
1013
"esModuleInterop": true,
@@ -13,8 +16,21 @@
1316
"resolveJsonModule": true,
1417
"isolatedModules": true,
1518
"jsx": "preserve",
19+
"strict": true,
20+
"paths": {
21+
"react": [
22+
"./node_modules/@types/react"
23+
]
24+
},
1625
"incremental": true
1726
},
18-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "scripts/gen-rss.mjs"],
19-
"exclude": ["node_modules"]
27+
"include": [
28+
"next-env.d.ts",
29+
"**/*.ts",
30+
"**/*.tsx",
31+
"scripts/gen-rss.mjs"
32+
],
33+
"exclude": [
34+
"node_modules"
35+
]
2036
}

0 commit comments

Comments
 (0)