overleaf/services/web/tsconfig.json
ilkin-overleaf 865121259a Merge pull request #8139 from overleaf/ii-typescript-enable-strict-mode
[web] Enable TypeScript strict mode

GitOrigin-RevId: aa159fc5faf11c91382dc2498e8ec84068d5c637
2022-06-01 08:03:35 +00:00

26 lines
1.2 KiB
JSON

{
"compilerOptions": {
"target": "esnext" /* Specify ECMAScript target version */,
"module": "es2020" /* Specify module code generation */,
"allowJs": true /* Allow JavaScript files to be compiled. */,
// "checkJs": true /* Report errors in .js files. */,
"jsx": "preserve" /* Specify JSX code generation */,
"noEmit": true /* Do not emit outputs. */,
"strict": true /* Enable all strict type-checking options. */,
"moduleResolution": "node" /* Specify module resolution strategy */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
"skipLibCheck": true /* Skip type checking of declaration files. */,
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
"types": ["cypress", "@testing-library/cypress"]
},
"include": [
"frontend/js/**/*.*",
"modules/**/frontend/js/**/*.*",
"test/frontend/**/*.*",
"modules/**/test/frontend/**/*.*",
"frontend/stories/**/*.*",
"modules/**/stories/**/*.*",
"cypress",
"types"
]
}