From 57ca3e04a1db7e290b0de0663aba33e987e21d88 Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Fri, 13 Jun 2025 02:11:41 -0700 Subject: [PATCH] [TS] Remove type assertion --- src/components/graph/GraphCanvas.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/graph/GraphCanvas.vue b/src/components/graph/GraphCanvas.vue index 8e31781cb..12fd19c41 100644 --- a/src/components/graph/GraphCanvas.vue +++ b/src/components/graph/GraphCanvas.vue @@ -194,10 +194,10 @@ watch( // Update the progress of the executing node watch( () => - [executionStore.executingNodeId, executionStore.executingNodeProgress] as [ - NodeId | null, - number | null - ], + [ + executionStore.executingNodeId, + executionStore.executingNodeProgress + ] satisfies [NodeId | null, number | null], ([executingNodeId, executingNodeProgress]) => { for (const node of comfyApp.graph.nodes) { if (node.id == executingNodeId) {