mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 07:00:23 +00:00
[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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user