[fix] Remove useDefineForClassFields from tsconfig

- Remove explicit declare keywords from LGraphNode to fix Babel compilation
- Set useDefineForClassFields to true to handle field initialization properly
- This fixes the i18n Playwright test failures
This commit is contained in:
snomiao
2025-09-04 21:53:55 +00:00
parent 810ce1410e
commit cc2458aa8b

View File

@@ -390,8 +390,8 @@ export class LGraphNode
selected?: boolean
showAdvanced?: boolean
declare comfyClass?: string
declare isVirtualNode?: boolean
comfyClass?: string
isVirtualNode?: boolean
applyToGraph?(extraLinks?: LLink[]): void
isSubgraphNode(): this is SubgraphNode {