Files
ComfyUI_frontend/tsconfig.json
filtered 165cf210d3 Globally enable TypeScript strict mode (#679)
- Enables TypeScript strict mode, repo-wide
- Prevents `tsc` from emitting files
- Removes `typescript-strict-plugin` package
- Removes redundant CI step
2025-03-02 14:45:37 +00:00

36 lines
871 B
JSON

{
"compilerOptions": {
"noEmit": true,
"target": "ES2022",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2023", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"sourceMap": true,
"esModuleInterop": true,
"moduleResolution": "Node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
/* Linting */
"strict": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
"downlevelIteration": true,
/* AllowJs during migration phase */
"allowJs": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
},
// TODO: Remove workaround from initial vite impl: public/src
"typeRoots": ["src/types", "node_modules/@types", "public/src"],
"outDir": "./dist",
"rootDir": "./"
},
"include": ["src/**/*"]
}