From ff655c23910e703773e8c3546523bedd31191912 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 31 Jan 2026 06:52:03 +0000 Subject: [PATCH] fix: add missing 'Obstacle' type import in RecastNavigation The Obstacle type from recast-navigation was used but not imported. Added it to the imports to fix the type error. https://claude.ai/code/session_01665xH61KterutQ8q8iP8Qo --- src/engine/pathfinding/RecastNavigation.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/pathfinding/RecastNavigation.ts b/src/engine/pathfinding/RecastNavigation.ts index 582a2766..367af110 100644 --- a/src/engine/pathfinding/RecastNavigation.ts +++ b/src/engine/pathfinding/RecastNavigation.ts @@ -18,6 +18,7 @@ import { exportNavMesh, importNavMesh, type CrowdAgentParams, + type Obstacle, } from 'recast-navigation'; import { generateTileCache, generateSoloNavMesh } from '@recast-navigation/generators'; import { threeToTileCache } from '@recast-navigation/three';