Skip to content

Commit 4e08b79

Browse files
authored
fix: Update IrisGridContextMenuHandler getHeaderActions return type to be more permissive (#2117)
Needed for proper TS in deephaven/deephaven-plugins#522. Otherwise the class complains it can't properly extend `IrisGridContextMenuHandler`.
1 parent bd3e944 commit 4e08b79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/iris-grid/src/mousehandlers/IrisGridContextMenuHandler.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class IrisGridContextMenuHandler extends GridMouseHandler {
177177
getHeaderActions(
178178
modelIndex: ModelIndex,
179179
gridPoint: GridPoint
180-
): ContextAction[] {
180+
): ResolvableContextAction[] {
181181
const { irisGrid } = this;
182182
const { column: visibleIndex } = gridPoint;
183183
assertNotNull(visibleIndex);

0 commit comments

Comments
 (0)