Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Create a WIP replacement

Manav Rathi54e33d3f42cc
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",
+ "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
+ }
}