From 1589f2cce6c92660d2ce9e8cdfdaa487dfd04f36 Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Sun, 4 May 2025 09:10:56 +1000 Subject: [PATCH] [TS] Remove unintended type assertion --- src/scripts/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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