From 5a680b9ac919166c6aef668268a981258c2d56ef Mon Sep 17 00:00:00 2001 From: ralphwetzel Date: Sat, 13 Feb 2021 12:55:37 +0100 Subject: [PATCH] Update litegraph.d.ts Fix type definitions: - ContextMenu.constructor --- src/litegraph.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;