mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
[TS] Remove type assertion
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user