From 51ab0d97396cf569558b1cff6e22fff6cebb45f6 Mon Sep 17 00:00:00 2001 From: wass08 Date: Tue, 3 Feb 2026 15:52:25 +0900 Subject: [PATCH] fix build --- packages/core/src/lib/space-detection.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/lib/space-detection.ts b/packages/core/src/lib/space-detection.ts index cae5426e..3f631124 100644 --- a/packages/core/src/lib/space-detection.ts +++ b/packages/core/src/lib/space-detection.ts @@ -352,7 +352,7 @@ function floodFillFromEdges(grid: Grid): void { const [x, z] = parseCellKey(key) // Check 4 neighbors - const neighbors = [ + const neighbors: [number, number][] = [ [x + 1, z], [x - 1, z], [x, z + 1], @@ -408,7 +408,7 @@ function findInteriorSpaces(grid: Grid, levelId: string): Space[] { const curKey = queue.shift()! const [cx, cz] = parseCellKey(curKey) - const neighbors = [ + const neighbors: [number, number][] = [ [cx + 1, cz], [cx - 1, cz], [cx, cz + 1],