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.
This commit is contained in:
2026-04-21 20:15:24 -04:00
parent c266d1b6e3
commit 9ea0abc321

View File

@@ -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. */