|
@@ -1,24 +1,32 @@
|
|
|
{
|
|
|
- "extends": "../../tsconfig.base.json",
|
|
|
+ "extends": "@/build-config/tsconfig-typecheck.json",
|
|
|
+ "include": [
|
|
|
+ "src/**/*.ts",
|
|
|
+ "src/**/*.tsx",
|
|
|
+ "src/**/*.d.ts",
|
|
|
+ "../../packages/shared/themes/mui-theme.d.ts"
|
|
|
+ ],
|
|
|
+ // Temporarily disable some things to get the existing code to compile
|
|
|
+ // without warnings.
|
|
|
"compilerOptions": {
|
|
|
"baseUrl": "./src",
|
|
|
- "downlevelIteration": true,
|
|
|
- "jsx": "preserve",
|
|
|
+
|
|
|
"jsxImportSource": "@emotion/react",
|
|
|
- "lib": ["dom", "dom.iterable", "esnext", "webworker"],
|
|
|
- "noImplicitAny": false,
|
|
|
- "noUnusedLocals": false,
|
|
|
+
|
|
|
+ /* Also indicate expectation of a WebWorker runtime */
|
|
|
+ "lib": ["ESnext", "DOM", "DOM.Iterable", "WebWorker"],
|
|
|
+
|
|
|
+ "verbatimModuleSyntax": false,
|
|
|
+ "resolveJsonModule": false,
|
|
|
+
|
|
|
+ "strict": false,
|
|
|
+ /* Stricter than strict */
|
|
|
+ "noImplicitReturns": false,
|
|
|
"noUnusedParameters": false,
|
|
|
- "strictNullChecks": false,
|
|
|
- "target": "es5",
|
|
|
- "useUnknownInCatchVariables": false
|
|
|
- },
|
|
|
- "include": [
|
|
|
- "next-env.d.ts",
|
|
|
- "**/*.ts",
|
|
|
- "**/*.tsx",
|
|
|
- "**/*.js",
|
|
|
- "../../packages/shared/themes/mui-theme.d.ts"
|
|
|
- ],
|
|
|
- "exclude": ["node_modules", "out", ".next", "thirdparty"]
|
|
|
+ "noUnusedLocals": false,
|
|
|
+ "noFallthroughCasesInSwitch": false,
|
|
|
+ /* e.g. makes array indexing returns undefined */
|
|
|
+ "noUncheckedIndexedAccess": false,
|
|
|
+ "exactOptionalPropertyTypes": false
|
|
|
+ }
|
|
|
}
|