Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

fix: ⚡️ small type fix

melMass5190aa284d50
diff --git a/web/types/comfy.d.ts b/web/types/comfy.d.ts
index 8444e13a8..f7129b555 100644
--- a/web/types/comfy.d.ts
+++ b/web/types/comfy.d.ts
@@ -30,9 +30,7 @@ export interface ComfyExtension {
getCustomWidgets(
app: ComfyApp
): 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