@@ -50,7 +50,6 @@ export class KeyboardDragStrategy extends dragging.BlockDragStrategy {
5050 // to the top left of the workspace.
5151 // @ts -expect-error block and startLoc are private.
5252 this . block . moveDuringDrag ( this . startLoc ) ;
53- // @ts -expect-error connectionCandidate is private.
5453 this . connectionCandidate = this . createInitialCandidate ( ) ;
5554 this . forceShowPreview ( ) ;
5655 this . block . addIcon ( new MoveIcon ( this . block ) ) ;
@@ -62,9 +61,7 @@ export class KeyboardDragStrategy extends dragging.BlockDragStrategy {
6261 super . drag ( newLoc ) ;
6362
6463 // Handle the case when an unconstrained drag found a connection candidate.
65- // @ts -expect-error connectionCandidate is private.
6664 if ( this . connectionCandidate ) {
67- // @ts -expect-error connectionCandidate is private.
6865 const neighbour = ( this . connectionCandidate as ConnectionCandidate )
6966 . neighbour ;
7067 // The next constrained move will resume the search from the current
@@ -253,7 +250,6 @@ export class KeyboardDragStrategy extends dragging.BlockDragStrategy {
253250 private forceShowPreview ( ) {
254251 // @ts -expect-error connectionPreviewer is private
255252 const previewer = this . connectionPreviewer ;
256- // @ts -expect-error connectionCandidate is private
257253 const candidate = this . connectionCandidate as ConnectionCandidate ;
258254 if ( ! candidate || ! previewer ) return ;
259255 const block = this . block ;
0 commit comments