diff --git a/web/apps/auth/tsconfig.json b/web/apps/auth/tsconfig.json index d9092609dc..3c5fb3cb3f 100644 --- a/web/apps/auth/tsconfig.json +++ b/web/apps/auth/tsconfig.json @@ -1,24 +1,32 @@ { - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "baseUrl": "./src", - "downlevelIteration": true, - "jsx": "preserve", - "jsxImportSource": "@emotion/react", - "lib": ["dom", "dom.iterable", "esnext", "webworker"], - "noImplicitAny": false, - "noUnusedLocals": false, - "noUnusedParameters": false, - "strictNullChecks": false, - "target": "es5", - "useUnknownInCatchVariables": false - }, + "extends": "@/build-config/tsconfig-typecheck.json", "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - "**/*.js", + "src/**/*.ts", + "src/**/*.tsx", + "src/**/*.d.ts", "../../packages/shared/themes/mui-theme.d.ts" ], - "exclude": ["node_modules", "out", ".next", "thirdparty"] + // Temporarily disable some things to get the existing code to compile + // without warnings. + "compilerOptions": { + "baseUrl": "./src", + + "jsxImportSource": "@emotion/react", + + /* 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, + "noUnusedLocals": false, + "noFallthroughCasesInSwitch": false, + /* e.g. makes array indexing returns undefined */ + "noUncheckedIndexedAccess": false, + "exactOptionalPropertyTypes": false + } }