Files
overleaf-cep/services/web/tsconfig.json
Mathias Jakobsen 7b331b0222 [web] Recreate workbench with Overleaf styles (#29651)
GitOrigin-RevId: 52ca336f70b29edf6e39cf95aa164f3ae32c0a79
2025-11-19 09:05:14 +00:00

49 lines
2.0 KiB
JSON

{
"compilerOptions": {
"target": "esnext" /* Specify ECMAScript target version */,
"module": "esnext" /* 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 */,
"isolatedModules": true,
"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. */,
"experimentalDecorators": true /* Allow decorators in writefull - inversify */,
"emitDecoratorMetadata": true /* Allow decorators in writefull - inversify */,
"paths": {
"@/*": ["./frontend/js/*"],
"@modules/*": ["./modules/*"],
"@overleaf/o-error": ["../../libraries/o-error"],
"@overleaf/ranges-tracker": ["../../libraries/ranges-tracker"],
/* can't make this entry @types because that conflicts with the "types" entry below */
"@ol-types/*": ["./types/*"],
"@wf/*": ["./modules/writefull/frontend/js/integration/src/*"],
"@wf-tests/*": ["./modules/writefull/frontend/js/integration/tests/*"]
},
"types": [
"cypress",
"@testing-library/cypress",
"reflect-metadata",
"vitest/globals",
"@testing-library/jest-dom",
"@types/dom-speech-recognition"
]
},
"include": [
"frontend/js/**/*.*",
"modules/**/frontend/js/**/*.*",
"test/frontend/**/*.*",
"modules/**/test/frontend/**/*.*",
"frontend/stories/**/*.*",
"modules/**/stories/**/*.*",
".storybook/*.*",
"cypress",
"types"
],
"exclude": ["**/*.min.js"]
}