diff --git a/src/types/widgets.ts b/src/types/widgets.ts index 17127804c..90817d9f3 100644 --- a/src/types/widgets.ts +++ b/src/types/widgets.ts @@ -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