From 9ea0abc3214e8b53c76504ece9b54e501e27d4c9 Mon Sep 17 00:00:00 2001 From: anti Date: Tue, 21 Apr 2026 20:15:24 -0400 Subject: [PATCH] fix(web): correct MazeApi type import in useTopologyEditor useTopologyEditor imported 'UseMazeApi' but the actual exported type is 'MazeApi'. tsc --noEmit missed it because the file isn't in the default tsconfig include path; tsc -b (project references, used by 'npm run build') catches it. --- decnet_web/src/components/MazeNET/useTopologyEditor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/decnet_web/src/components/MazeNET/useTopologyEditor.ts b/decnet_web/src/components/MazeNET/useTopologyEditor.ts index 588db5cf..9b5a991f 100644 --- a/decnet_web/src/components/MazeNET/useTopologyEditor.ts +++ b/decnet_web/src/components/MazeNET/useTopologyEditor.ts @@ -22,11 +22,11 @@ import type { DeckyRow, EdgeRow, LANRow, - UseMazeApi, + MazeApi, } from './useMazeApi'; export interface UseTopologyEditorOptions { - api: UseMazeApi; + api: MazeApi; /** Current topology status from :func:`getTopology`. */ topoStatus: string; /** Last-known topology version for optimistic concurrency. */