mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-22 07:44:11 +00:00
[TS] Fix callback type prevents use as method (#1035)
This commit is contained in:
@@ -250,10 +250,10 @@ export interface IBaseWidget<
|
||||
* @param node The node this widget belongs to.
|
||||
* @returns The layout size of the widget.
|
||||
*/
|
||||
computeLayoutSize?: (
|
||||
computeLayoutSize?(
|
||||
this: IBaseWidget,
|
||||
node: LGraphNode
|
||||
) => {
|
||||
): {
|
||||
minHeight: number
|
||||
maxHeight?: number
|
||||
minWidth: number
|
||||
|
||||
Reference in New Issue
Block a user