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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user