Skip to content

Commit

Permalink
any -> BaseContext
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Jul 15, 2020
1 parent f57fcd6 commit 2ee8e54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const defaultTitle = i18n.translate('uiActions.actionPanel.title', {
defaultMessage: 'Options',
});

type ActionWithContext<Context extends BaseContext = any> = [Action<Context>, Context];
type ActionWithContext<Context extends BaseContext = BaseContext> = [Action<Context>, Context];

/**
* Transforms an array of Actions to the shape EuiContextMenuPanel expects.
Expand Down

0 comments on commit 2ee8e54

Please sign in to comment.