mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
`signup.js` uses `jquery-validation` plugin, which is a javascript package shipped without type definitions. Installing its corresponding types help with TypeScript migration by allowing types annotations involving the plugin methods and obejcts.
49 lines
1.4 KiB
JSON
49 lines
1.4 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"*": ["web/src/types/*"],
|
|
},
|
|
"types": ["@types/jquery.validation"],
|
|
|
|
/* TypeScript 3.4 added the --incremental flag but its API is not
|
|
* currently public so ts-loader cannot use it yet.
|
|
* Tracking issue: https://github.com/microsoft/TypeScript/issues/29978
|
|
*/
|
|
// "incremental": true,
|
|
|
|
/* Basic options */
|
|
"noEmit": true,
|
|
"target": "ESNext",
|
|
"esModuleInterop": true,
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"sourceMap": true,
|
|
|
|
/* Strict type-checking */
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"noImplicitOverride": true,
|
|
|
|
/* Additional checks */
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
},
|
|
"exclude": [
|
|
/* Type stubs are not part of the top-level project. */
|
|
"web/src/types",
|
|
|
|
/* Skip walking large generated directories. */
|
|
"docs/_build",
|
|
"static/webpack-bundles",
|
|
"var",
|
|
"zulip-py3-venv",
|
|
|
|
/* Even though allowJs defaults to false, typescript-eslint forces it to true. */
|
|
"**/*.js",
|
|
],
|
|
}
|