mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 23:20:07 +00:00
- Use lazy initialization for EmptySubgraphInput/Output in SubgraphInputNode/OutputNode - Replace direct instanceof checks with identity checks in LinkConnector - Enable verbatimModuleSyntax in tsconfig.json - Convert runtime imports to type-only imports where appropriate - Use factory functions with require() to break circular dependencies This resolves the circular dependency chain: EmptySubgraphInput → SubgraphInput → SubgraphInputNode → EmptySubgraphInput The require() usage is necessary here to break the circular dependency at module initialization time. ESLint rules have been disabled for these specific cases. Fixes #5545
41 lines
989 B
JSON
41 lines
989 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2023",
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"lib": ["ES2023", "ES2023.Array", "DOM", "DOM.Iterable"],
|
|
"skipLibCheck": 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,
|
|
"verbatimModuleSyntax": 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/**/*"
|
|
]
|
|
}
|