Skip to content

Commit

Permalink
Fix up a couple more types
Browse files Browse the repository at this point in the history
  • Loading branch information
mofojed committed Sep 18, 2024
1 parent 4d094b0 commit ffff258
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/dashboard-core-plugins/src/panels/Panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ class Panel extends PureComponent<CorePanelProps, PanelState> {

getAdditionalActions = memoize(
(
actions: readonly ContextAction[],
actions: readonly ResolvableContextAction[],
isClonable: boolean,
isRenamable: boolean
) => {
Expand Down
3 changes: 2 additions & 1 deletion packages/dashboard-core-plugins/src/panels/WidgetPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
ContextAction,

Check warning on line 5 in packages/dashboard-core-plugins/src/panels/WidgetPanel.tsx

View workflow job for this annotation

GitHub Actions / unit

'ContextAction' is defined but never used

Check warning on line 5 in packages/dashboard-core-plugins/src/panels/WidgetPanel.tsx

View workflow job for this annotation

GitHub Actions / unit

'ContextAction' is defined but never used
ContextActions,
createXComponent,
ResolvableContextAction,
} from '@deephaven/components';
import type { dh } from '@deephaven/jsapi-types';
import { copyToClipboard, EMPTY_ARRAY } from '@deephaven/utils';
Expand Down Expand Up @@ -97,7 +98,7 @@ class WidgetPanel extends PureComponent<WidgetPanelProps, WidgetPanelState> {
getCachedActions = memoize(
(
descriptor: WidgetPanelDescriptor,
propsAdditionalActions: readonly ContextAction[] = EMPTY_ARRAY
propsAdditionalActions: readonly ResolvableContextAction[] = EMPTY_ARRAY
) => [
...propsAdditionalActions,
{
Expand Down

0 comments on commit ffff258

Please sign in to comment.