From 4e08b79a1555fb9959fcf0f6d4fecc8c7eff0467 Mon Sep 17 00:00:00 2001 From: Matthew Runyon Date: Fri, 28 Jun 2024 10:28:03 -0500 Subject: [PATCH] fix: Update IrisGridContextMenuHandler getHeaderActions return type to be more permissive (#2117) Needed for proper TS in https://github.com/deephaven/deephaven-plugins/pull/522. Otherwise the class complains it can't properly extend `IrisGridContextMenuHandler`. --- .../iris-grid/src/mousehandlers/IrisGridContextMenuHandler.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/iris-grid/src/mousehandlers/IrisGridContextMenuHandler.tsx b/packages/iris-grid/src/mousehandlers/IrisGridContextMenuHandler.tsx index 6d10eb7968..6c1de34a08 100644 --- a/packages/iris-grid/src/mousehandlers/IrisGridContextMenuHandler.tsx +++ b/packages/iris-grid/src/mousehandlers/IrisGridContextMenuHandler.tsx @@ -177,7 +177,7 @@ class IrisGridContextMenuHandler extends GridMouseHandler { getHeaderActions( modelIndex: ModelIndex, gridPoint: GridPoint - ): ContextAction[] { + ): ResolvableContextAction[] { const { irisGrid } = this; const { column: visibleIndex } = gridPoint; assertNotNull(visibleIndex);