From 03a99e2eed0833a743c8ba4acceff3f874571d88 Mon Sep 17 00:00:00 2001 From: Comfy Org PR Bot Date: Tue, 9 Dec 2025 11:21:26 +0900 Subject: [PATCH] [backport core/1.33] On adding output matchType, initialize type (#7263) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport of #7161 to `core/1.33` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7263-backport-core-1-33-On-adding-output-matchType-initialize-type-2c46d73d365081d8bb8bc55cf1ef9a6e) by [Unito](https://www.unito.io) Co-authored-by: AustinMroz Co-authored-by: Alexander Brown --- src/services/litegraphService.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/services/litegraphService.ts b/src/services/litegraphService.ts index 6ea083df2..499102645 100644 --- a/src/services/litegraphService.ts +++ b/src/services/litegraphService.ts @@ -214,7 +214,9 @@ export const useLitegraphService = () => { */ function addOutputs(node: LGraphNode, outputs: OutputSpec[]) { for (const output of outputs) { - const { name, type, is_list } = output + const { name, is_list } = output + // TODO: Fix the typing at the node spec level + const type = output.type === 'COMFY_MATCHTYPE_V3' ? '*' : output.type const shapeOptions = is_list ? { shape: LiteGraph.GRID_SHAPE } : {} const nameKey = `${nodeKey(node)}.outputs.${output.index}.name` const typeKey = `dataTypes.${normalizeI18nKey(type)}`