Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
5190aa28
Commit
5190aa28
authored
Jul 21, 2023
by
melMass
Browse files
fix:
⚡
️ small type fix
getCustomWidgets expects a plain record and not an array of records
parent
01150186
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
web/types/comfy.d.ts
web/types/comfy.d.ts
+1
-3
No files found.
web/types/comfy.d.ts
View file @
5190aa28
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment