[TS] Update type to match strict Litegraph (#2726)

This commit is contained in:
filtered
2025-02-26 04:00:55 +11:00
committed by GitHub
parent 156013aa24
commit 101e8dea11

View File

@@ -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