Files
overleaf-cep/services/web/tsconfig.json
Borja 22cfe179e1 Writefull codebase migration (#27077)
GitOrigin-RevId: 48ff40d0b141d5bf7c70eaba8beacba7e64f237a
2025-09-18 08:05:57 +00:00

47 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/*"],
"@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"
]
},
"include": [
"frontend/js/**/*.*",
"modules/**/frontend/js/**/*.*",
"test/frontend/**/*.*",
"modules/**/test/frontend/**/*.*",
"frontend/stories/**/*.*",
"modules/**/stories/**/*.*",
".storybook/*.*",
"cypress",
"types"
],
"exclude": ["**/*.min.js"]
}