fix: ⚡️ small type fix
getCustomWidgets expects a plain record and not an array of records
This commit is contained in:
parent
0115018695
commit
5190aa284d
|
@ -30,9 +30,7 @@ export interface ComfyExtension {
|
|||
getCustomWidgets(
|
||||
app: ComfyApp
|
||||
): Promise<
|
||||
Array<
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue