This commit is contained in:
Manav Rathi 2024-05-25 17:38:52 +05:30
parent 5690d613bb
commit b19b34b3dc
No known key found for this signature in database

View file

@ -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
}
}