a3ac782f17
This is very important otherwise, a number of useful checks (like nullable objects not propertly checked) are not performed. See https://dev.to/briwa/how-strict-is-typescript-s-strict-mode-311a
16 lines
544 B
JSON
16 lines
544 B
JSON
{
|
|
"compilerOptions": {
|
|
"outDir": "./dist/",
|
|
"sourceMap": true,
|
|
"moduleResolution": "node",
|
|
"noImplicitAny": true,
|
|
"module": "CommonJS",
|
|
"target": "es5",
|
|
"jsx": "react",
|
|
"allowJs": true,
|
|
"strict": true, /* Enable all strict type-checking options. */
|
|
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
|
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */
|
|
}
|
|
}
|