mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
Having some options not set to true was causing hard to debug issues when it comes to types. While that can be solved by changing `allowJs` to true, it would be good to use the standard tsconfig they recommend in order to avoid such issues in the future.
36 lines
886 B
JSON
36 lines
886 B
JSON
{
|
|
"extends": "astro/tsconfigs/strict",
|
|
"compilerOptions": {
|
|
/* Type Checking */
|
|
"exactOptionalPropertyTypes": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"strict": true,
|
|
|
|
/* Modules */
|
|
"module": "preserve",
|
|
|
|
/* Emit */
|
|
"noEmit": true,
|
|
|
|
/* Interop Constraints */
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
|
|
/* Language and Environment */
|
|
"target": "esnext",
|
|
|
|
/* Projects */
|
|
"composite": true,
|
|
|
|
"types": ["unplugin-icons/types/astro"],
|
|
},
|
|
"include": [".astro/types.d.ts", "**/*"],
|
|
"exclude": ["dist"],
|
|
}
|