Skip to content

Commit 8ac253c

Browse files
committed
chore: Satisfy the linter.
1 parent 782a84e commit 8ac253c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/navigation_deferring_toolbox.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,20 @@
66

77
import * as Blockly from 'blockly/core';
88

9+
/**
10+
* Toolbox class that does not handle keyboard navigation.
11+
*/
912
export class NavigationDeferringToolbox extends Blockly.Toolbox {
13+
// eslint-disable-next-line @typescript-eslint/naming-convention
1014
protected override onKeyDown_(e: KeyboardEvent) {
1115
// No-op, prevent keyboard handling by superclass in order to defer to
1216
// global keyboard navigation.
1317
}
1418
}
1519

20+
/**
21+
* Registers the navigation-deferring toolbox with Blockly.
22+
*/
1623
export function registerNavigationDeferringToolbox() {
1724
Blockly.registry.register(
1825
Blockly.registry.Type.TOOLBOX,

0 commit comments

Comments
 (0)