diff --git a/src/scripts/app.ts b/src/scripts/app.ts index 2ccf9611e..7db32e9e0 100644 --- a/src/scripts/app.ts +++ b/src/scripts/app.ts @@ -706,7 +706,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