Files
overleaf-cep/services/web/tsconfig.json
Alf Eaton 664cc65ab0 Use CSF Next (#32998)
GitOrigin-RevId: 498e15e3ae44f0a7b85e889e199d71607c420e12
2026-05-01 08:06:13 +00:00

54 lines
2.2 KiB
JSON

{
"compilerOptions": {
"target": "esnext" /* Specify ECMAScript target version */,
"module": "esnext" /* Specify module code generation */,
"allowJs": true /* Allow JavaScript files to be compiled. */,
"resolveJsonModule": true,
// "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": "bundler" /* 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/*"],
"@ol-storybook/*": ["./.storybook/*"],
"@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",
"modules/writefull/frontend/js/integration/src/vite-env.d.ts"
]
}