diff --git a/src/scripts/app.ts b/src/scripts/app.ts index 31d2ba1cc..132807471 100644 --- a/src/scripts/app.ts +++ b/src/scripts/app.ts @@ -717,7 +717,7 @@ export class ComfyApp { #addAfterConfigureHandler() { const app = this const onConfigure = app.graph.onConfigure - app.graph.onConfigure = function (this: LGraph, ...args) { + app.graph.onConfigure = function (...args) { fixLinkInputSlots(this) // Fire callbacks before the onConfigure, this is used by widget inputs to setup the config