diff --git a/src/actions/disconnect.ts b/src/actions/disconnect.ts index 7995e6fb..7073c3c2 100644 --- a/src/actions/disconnect.ts +++ b/src/actions/disconnect.ts @@ -9,8 +9,6 @@ import { Events, ShortcutRegistry, utils as BlocklyUtils, - Connection, - ConnectionType, keyboardNavigationController, } from 'blockly'; import * as Constants from '../constants'; diff --git a/src/actions/enter.ts b/src/actions/enter.ts index 825357aa..ef9a3601 100644 --- a/src/actions/enter.ts +++ b/src/actions/enter.ts @@ -8,7 +8,6 @@ import { Events, ShortcutRegistry, utils as BlocklyUtils, - getFocusManager, BlockSvg, FlyoutButton, RenderedConnection, diff --git a/src/actions/ws_movement.ts b/src/actions/ws_movement.ts index cc8630fc..4d439e87 100644 --- a/src/actions/ws_movement.ts +++ b/src/actions/ws_movement.ts @@ -18,11 +18,6 @@ const createSerializedKey = ShortcutRegistry.registry.createSerializedKey.bind( ShortcutRegistry.registry, ); -/** - * The distance to move the cursor when the cursor is on the workspace. - */ -const WS_MOVE_DISTANCE = 40; - /** * Logic for free movement of the cursor on the workspace with keyboard * shortcuts. diff --git a/test/index.ts b/test/index.ts index 38a3e792..4560e471 100644 --- a/test/index.ts +++ b/test/index.ts @@ -23,7 +23,7 @@ import {javascriptGenerator} from 'blockly/javascript'; import {load} from './loadTestBlocks'; import {runCode, registerRunCodeShortcut} from './runCode'; -(window as any).Blockly = Blockly; +(window as unknown as {Blockly: typeof Blockly}).Blockly = Blockly; /** * Parse query params for inject and navigation options and update