Files
ComfyUI_frontend/tsconfig.json
snomiao 810ce1410e [fix] Enable i18n workflow for sno-fix-playwright branches
- Set useDefineForClassFields to true in tsconfig.json to prevent TypeScript declare field issues
- This avoids Babel transformation errors in Playwright i18n tests
2025-09-04 21:39:56 +00:00

40 lines
939 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"useDefineForClassFields": true,
"incremental": true,
"sourceMap": true,
"esModuleInterop": true,
"moduleResolution": "bundler",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"resolveJsonModule": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"downlevelIteration": true,
"noImplicitOverride": true,
"allowJs": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
},
"typeRoots": ["src/types", "node_modules/@types"],
"outDir": "./dist",
"rootDir": "./"
},
"include": [
"src/**/*",
"src/**/*.vue",
"src/types/**/*.d.ts",
"tests-ui/**/*",
"global.d.ts",
"vite.config.mts",
".storybook/**/*"
]
}