mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-01 13:59:54 +00:00
Update litegraph API - add @ts-expect-error (#1380)
* Update litegraph API - add @ts-expect-error LG update removes some implicit any, exposing existing errors * Update litegraph --------- Co-authored-by: huchenlei <huchenlei@proton.me>
This commit is contained in:
@@ -2299,6 +2299,7 @@ export class ComfyApp {
|
||||
}
|
||||
|
||||
try {
|
||||
// @ts-expect-error Discrepancies between zod and litegraph - in progress
|
||||
this.graph.configure(graphData)
|
||||
if (
|
||||
restore_view &&
|
||||
@@ -2636,6 +2637,7 @@ export class ComfyApp {
|
||||
const p = await this.graphToPrompt()
|
||||
|
||||
try {
|
||||
// @ts-expect-error Discrepancies between zod and litegraph - in progress
|
||||
const res = await api.queuePrompt(number, p)
|
||||
this.lastNodeErrors = res.node_errors
|
||||
if (this.lastNodeErrors.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user