"...text-generation-inference.git" did not exist on "caff779dd422624279f3694ac956873663c4f6a0"
Commit 5190aa28 authored by melMass's avatar melMass
Browse files

fix: ️ small type fix

getCustomWidgets expects a plain record and not an array of records
parent 01150186
...@@ -30,9 +30,7 @@ export interface ComfyExtension { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment