Skip to content

Commit 422dc28

Browse files
authored
chore: Fix lint warnings. (#609)
1 parent 5a6efde commit 422dc28

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

src/actions/disconnect.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ import {
99
Events,
1010
ShortcutRegistry,
1111
utils as BlocklyUtils,
12-
Connection,
13-
ConnectionType,
1412
keyboardNavigationController,
1513
} from 'blockly';
1614
import * as Constants from '../constants';

src/actions/enter.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
Events,
99
ShortcutRegistry,
1010
utils as BlocklyUtils,
11-
getFocusManager,
1211
BlockSvg,
1312
FlyoutButton,
1413
RenderedConnection,

src/actions/ws_movement.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ const createSerializedKey = ShortcutRegistry.registry.createSerializedKey.bind(
1818
ShortcutRegistry.registry,
1919
);
2020

21-
/**
22-
* The distance to move the cursor when the cursor is on the workspace.
23-
*/
24-
const WS_MOVE_DISTANCE = 40;
25-
2621
/**
2722
* Logic for free movement of the cursor on the workspace with keyboard
2823
* shortcuts.

test/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {javascriptGenerator} from 'blockly/javascript';
2323
import {load} from './loadTestBlocks';
2424
import {runCode, registerRunCodeShortcut} from './runCode';
2525

26-
(window as any).Blockly = Blockly;
26+
(window as unknown as {Blockly: typeof Blockly}).Blockly = Blockly;
2727

2828
/**
2929
* Parse query params for inject and navigation options and update

0 commit comments

Comments
 (0)