mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 10:42:44 +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
|
selected?: boolean
|
||||||
showAdvanced?: boolean
|
showAdvanced?: boolean
|
||||||
|
|
||||||
declare comfyClass?: string
|
comfyClass?: string
|
||||||
declare isVirtualNode?: boolean
|
isVirtualNode?: boolean
|
||||||
applyToGraph?(extraLinks?: LLink[]): void
|
applyToGraph?(extraLinks?: LLink[]): void
|
||||||
|
|
||||||
isSubgraphNode(): this is SubgraphNode {
|
isSubgraphNode(): this is SubgraphNode {
|
||||||
|
|||||||
Reference in New Issue
Block a user