1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-04 07:52:46 +08:00
This commit is contained in:
comfyanonymous
2023-07-26 01:55:55 -04:00

View File

@@ -30,9 +30,7 @@ export interface ComfyExtension {
getCustomWidgets( getCustomWidgets(
app: ComfyApp app: ComfyApp
): Promise< ): Promise<
Array< Record<string, (node, inputName, inputData, app) => { widget?: IWidget; minWidth?: number; minHeight?: number }>
Record<string, (node, inputName, inputData, app) => { widget?: IWidget; minWidth?: number; minHeight?: number }>
>
>; >;
/** /**
* Allows the extension to add additional handling to the node before it is registered with LGraph * Allows the extension to add additional handling to the node before it is registered with LGraph