Skip to content

Commit f4aba8a

Browse files
committed
fix: Designate Icon as implementing IContextMenu
1 parent 91ad65c commit f4aba8a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/blockly/core/icons/icon.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import type {Block} from '../block.js';
88
import type {BlockSvg} from '../block_svg.js';
99
import * as browserEvents from '../browser_events.js';
10+
import type {IContextMenu} from '../interfaces/i_contextmenu.js';
1011
import type {IFocusableTree} from '../interfaces/i_focusable_tree.js';
1112
import {hasBubble} from '../interfaces/i_has_bubble.js';
1213
import type {IIcon} from '../interfaces/i_icon.js';
@@ -26,7 +27,7 @@ import type {IconType} from './icon_types.js';
2627
* block (such as warnings or comments) as opposed to fields, which provide
2728
* "actual" information, related to how a block functions.
2829
*/
29-
export abstract class Icon implements IIcon {
30+
export abstract class Icon implements IIcon, IContextMenu {
3031
/**
3132
* The position of this icon relative to its blocks top-start,
3233
* in workspace units.

0 commit comments

Comments
 (0)