From ee83f097538072119a944dd123a726d96422ce1e Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Thu, 4 Aug 2022 15:31:12 +0000 Subject: [PATCH] chore: remove AnyDuringMigration from bump objects (#6306) * fix: change return type to void * chore: format --- core/bump_objects.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/bump_objects.ts b/core/bump_objects.ts index 55c55dc0d..d14e92004 100644 --- a/core/bump_objects.ts +++ b/core/bump_objects.ts @@ -91,7 +91,7 @@ export const bumpIntoBounds = bumpObjectIntoBounds; * @alias Blockly.bumpObjects.bumpIntoBoundsHandler */ export function bumpIntoBoundsHandler(workspace: WorkspaceSvg): - (p1: Abstract) => AnyDuringMigration { + (p1: Abstract) => void { return (e) => { const metricsManager = workspace.getMetricsManager(); if (!metricsManager.hasFixedEdges() || workspace.isDragging()) {