Manav Rathi 1 سال پیش
والد
کامیت
b19b34b3dc
1فایلهای تغییر یافته به همراه3 افزوده شده و 12 حذف شده
  1. 3 12
      web/apps/auth/tsconfig.json

+ 3 - 12
web/apps/auth/tsconfig.json

@@ -6,22 +6,13 @@
         "../../packages/next/global-electron.d.ts",
         "../../packages/shared/themes/mui-theme.d.ts"
     ],
-    // Temporarily disable some things to get the existing code to compile
-    // without warnings.
     "compilerOptions": {
+        /* Set the base directory from which to resolve bare module names */
         "baseUrl": "./src",
 
-        "jsxImportSource": "@emotion/react",
-
-        "strict": true,
-        "strictNullChecks": true,
-        /* Stricter than strict */
-        "noImplicitReturns": true,
-        "noUnusedParameters": true,
-        "noUnusedLocals": true,
-        "noFallthroughCasesInSwitch": true,
-        /* e.g. makes array indexing returns undefined */
+        /* TODO: Enable these */
         "noUncheckedIndexedAccess": false,
+        /* MUI doesn't play great with exactOptionalPropertyTypes currently */
         "exactOptionalPropertyTypes": false
     }
 }