[Type] Mark app as required arg for ComfyWidgetConstructor (#2518)

This commit is contained in:
Chenlei Hu
2025-02-11 11:39:23 -05:00
committed by GitHub
parent efe7843469
commit 8db101c1cb
6 changed files with 12 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ export type ComfyWidgetConstructor = (
node: LGraphNode,
inputName: string,
inputData: InputSpec,
app?: ComfyApp,
app: ComfyApp,
widgetName?: string
) => { widget: IWidget; minWidth?: number; minHeight?: number }