Files
ComfyUI_frontend/tsconfig.json
filtered d849fcd00c [Dev] Make it easier to toggle strict mode (#610)
nit: Allows uncomment instead of typing true every time.
2025-02-26 06:16:56 +00:00

39 lines
936 B
JSON

{
"compilerOptions": {
"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": "./",
"plugins": [
{
"name": "typescript-strict-plugin"
}
]
},
"include": ["src/**/*"]
}