[TS] Remove type assertion

This commit is contained in:
filtered
2025-06-13 02:11:41 -07:00
parent 7603f95b7d
commit 671061898d

View File

@@ -194,10 +194,10 @@ watch(
// Update the progress of the executing node // Update the progress of the executing node
watch( watch(
() => () =>
[executionStore.executingNodeId, executionStore.executingNodeProgress] as [ [
NodeId | null, executionStore.executingNodeId,
number | null executionStore.executingNodeProgress
], ] satisfies [NodeId | null, number | null],
([executingNodeId, executingNodeProgress]) => { ([executingNodeId, executingNodeProgress]) => {
for (const node of comfyApp.graph.nodes) { for (const node of comfyApp.graph.nodes) {
if (node.id == executingNodeId) { if (node.id == executingNodeId) {