mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-08 17:10:07 +00:00
Enable ts-strict for executionStore (#1320)
* Fix listener types * nit * nit * fix type
This commit is contained in:
@@ -4,13 +4,14 @@ import { api } from './api'
|
||||
import { clone } from './utils'
|
||||
import { LGraphCanvas, LiteGraph } from '@comfyorg/litegraph'
|
||||
import { ComfyWorkflow } from './workflows'
|
||||
import type { ComfyWorkflowJSON } from '@/types/comfyWorkflow'
|
||||
|
||||
export class ChangeTracker {
|
||||
static MAX_HISTORY = 50
|
||||
#app: ComfyApp
|
||||
undoQueue = []
|
||||
redoQueue = []
|
||||
activeState = null
|
||||
activeState: ComfyWorkflowJSON | null = null
|
||||
isOurLoad = false
|
||||
workflow: ComfyWorkflow | null
|
||||
changeCount = 0
|
||||
|
||||
Reference in New Issue
Block a user