mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 09:30:06 +00:00
[TS] Update type to match strict Litegraph (#2726)
This commit is contained in:
@@ -30,7 +30,7 @@ export const useContextMenuTranslation = () => {
|
||||
LGraphCanvas.prototype.getCanvasMenuOptions = getCanvasCenterMenuOptions
|
||||
|
||||
function translateMenus(
|
||||
values: (IContextMenuValue | string)[] | undefined,
|
||||
values: (IContextMenuValue | string | null)[] | undefined,
|
||||
options: IContextMenuOptions
|
||||
) {
|
||||
if (!values) return
|
||||
|
||||
Reference in New Issue
Block a user