mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-01 11:42:06 +00:00
Fix type error.
This commit is contained in:
committed by
Jennifer Weber
parent
581b319b05
commit
58c076dd84
@@ -921,6 +921,7 @@ export class ComfyApi extends EventTarget {
|
||||
taskType: 'Running',
|
||||
prompt,
|
||||
// prompt[1] is the prompt id
|
||||
// @ts-expect-error - prompt[1] is the prompt id
|
||||
remove: { name: 'Cancel', cb: () => api.interrupt(prompt[1]) }
|
||||
})),
|
||||
Pending: data.queue_pending.map((prompt: TaskPrompt) => ({
|
||||
|
||||
Reference in New Issue
Block a user