Skip to content

Commit

Permalink
fix: Update IrisGridContextMenuHandler getHeaderActions return type t…
Browse files Browse the repository at this point in the history
…o be more permissive (#2117)

Needed for proper TS in
deephaven/deephaven-plugins#522. Otherwise the
class complains it can't properly extend `IrisGridContextMenuHandler`.
  • Loading branch information
mattrunyon authored Jun 28, 2024
1 parent bd3e944 commit 4e08b79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class IrisGridContextMenuHandler extends GridMouseHandler {
getHeaderActions(
modelIndex: ModelIndex,
gridPoint: GridPoint
): ContextAction[] {
): ResolvableContextAction[] {
const { irisGrid } = this;
const { column: visibleIndex } = gridPoint;
assertNotNull(visibleIndex);
Expand Down

0 comments on commit 4e08b79

Please sign in to comment.