From 33f46495f812e3e18ec05ff89b7e6f106c15ad2c 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 fe5fdbcbe..30b978f61 100644 --- a/src/scripts/app.ts +++ b/src/scripts/app.ts @@ -716,7 +716,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