@@ -69,7 +69,6 @@ export class KeyboardDragStrategy extends dragging.BlockDragStrategy {
6969 // to the top left of the workspace.
7070 // @ts -expect-error block and startLoc are private.
7171 this . block . moveDuringDrag ( this . startLoc ) ;
72- // @ts -expect-error connectionCandidate is private.
7372 this . connectionCandidate = this . createInitialCandidate ( ) ;
7473 this . forceShowPreview ( ) ;
7574 this . block . addIcon ( new MoveIcon ( this . block ) ) ;
@@ -81,9 +80,7 @@ export class KeyboardDragStrategy extends dragging.BlockDragStrategy {
8180 super . drag ( newLoc ) ;
8281
8382 // Handle the case when an unconstrained drag found a connection candidate.
84- // @ts -expect-error connectionCandidate is private.
8583 if ( this . connectionCandidate ) {
86- // @ts -expect-error connectionCandidate is private.
8784 const neighbour = ( this . connectionCandidate as ConnectionCandidate )
8885 . neighbour ;
8986 // The next constrained move will resume the search from the current
@@ -259,7 +256,6 @@ export class KeyboardDragStrategy extends dragging.BlockDragStrategy {
259256 private forceShowPreview ( ) {
260257 // @ts -expect-error connectionPreviewer is private
261258 const previewer = this . connectionPreviewer ;
262- // @ts -expect-error connectionCandidate is private
263259 const candidate = this . connectionCandidate as ConnectionCandidate ;
264260 if ( ! candidate || ! previewer ) return ;
265261 const block = this . block ;
0 commit comments