diff --git a/src/litegraph.d.ts b/src/litegraph.d.ts index 5265746c9..31a43296e 100644 --- a/src/litegraph.d.ts +++ b/src/litegraph.d.ts @@ -1466,7 +1466,7 @@ declare class ContextMenu { ): void; static isCursorOverElement(event: MouseEvent, element: HTMLElement): void; static closeAllContextMenus(window: Window): void; - constructor(values: ContextMenuItem[], options?: IContextMenuOptions); + constructor(values: ContextMenuItem[], options?: IContextMenuOptions, window?: Window); options: IContextMenuOptions; parentMenu?: ContextMenu; lock: boolean;