From a99c61ff73d79a11879d6a552d5b671702ab4423 Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Mon, 28 Apr 2025 14:06:48 -0700 Subject: [PATCH] fix: remove unneeded ts-expect-error directives --- src/keyboard_drag_strategy.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/keyboard_drag_strategy.ts b/src/keyboard_drag_strategy.ts index 967b56bc..eb1a5960 100644 --- a/src/keyboard_drag_strategy.ts +++ b/src/keyboard_drag_strategy.ts @@ -61,7 +61,6 @@ export class KeyboardDragStrategy extends dragging.BlockDragStrategy { // @ts-expect-error connectionCandidate is private. this.connectionCandidate = this.createInitialCandidate(); this.forceShowPreview(); - // @ts-expect-error block is private. this.block.addIcon(new MoveIcon(this.block)); } @@ -100,7 +99,6 @@ export class KeyboardDragStrategy extends dragging.BlockDragStrategy { override endDrag(e?: PointerEvent) { super.endDrag(e); - // @ts-expect-error block is private. this.block.removeIcon(MoveIcon.type); }