Files
zulip/tsconfig.json
Anders Kaseorg 1e463d1db5 tsconfig: Enable allowJs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:44:44 -07:00

52 lines
1.3 KiB
JSON

{
"compilerOptions": {
/* Type Checking */
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
/* Modules */
"allowImportingTsExtensions": true,
"module": "preserve",
"moduleResolution": "bundler",
"paths": {
"*": ["./web/src/types/*"],
},
"resolveJsonModule": true,
"types": ["@types/jquery.validation"],
/* Emit */
"noEmit": true,
/* JavaScript support */
"allowJs": true,
/* Interop Constraints */
"erasableSyntaxOnly": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"verbatimModuleSyntax": true,
/* Language and Environment */
"target": "ESNext",
/* Projects */
"composite": true,
},
"exclude": [
// This is a separate package with its own TypeScript configuration.
"starlight_help",
// Skip walking large generated directories.
".venv",
"docs/_build",
"static/webpack-bundles",
"var",
],
}