Skip to content

Commit ec6305c

Browse files
committed
Update tsconfig.json
Use more strict compiler options.
1 parent f6f7e46 commit ec6305c

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

tsconfig.json

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,25 @@
22
"compilerOptions": {
33
"target": "es5",
44
"module": "commonjs",
5+
"baseUrl": ".",
6+
"outDir": "./temp",
7+
"noEmitOnError": true,
8+
"sourceMap": true,
59
"declaration": false,
6-
"noImplicitAny": true,
7-
"removeComments": true,
8-
"noLib": false,
910
"jsx": "react",
10-
"outDir": "./temp"
11+
"moduleResolution": "node",
12+
"experimentalDecorators": true,
13+
"forceConsistentCasingInFileNames": true,
14+
"noFallthroughCasesInSwitch": true,
15+
"noImplicitAny": true,
16+
"noImplicitReturns": true,
17+
"noImplicitThis": true,
18+
"noUnusedLocals": true,
19+
"noUnusedParameters": true,
20+
"strictNullChecks": true
1121
},
12-
"files": [
13-
"app/app.tsx"
22+
"include": [
23+
"app/**.ts",
24+
"app/**.tsx"
1425
]
1526
}

0 commit comments

Comments
 (0)