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,
|
DeckyRow,
|
||||||
EdgeRow,
|
EdgeRow,
|
||||||
LANRow,
|
LANRow,
|
||||||
UseMazeApi,
|
MazeApi,
|
||||||
} from './useMazeApi';
|
} from './useMazeApi';
|
||||||
|
|
||||||
export interface UseTopologyEditorOptions {
|
export interface UseTopologyEditorOptions {
|
||||||
api: UseMazeApi;
|
api: MazeApi;
|
||||||
/** Current topology status from :func:`getTopology`. */
|
/** Current topology status from :func:`getTopology`. */
|
||||||
topoStatus: string;
|
topoStatus: string;
|
||||||
/** Last-known topology version for optimistic concurrency. */
|
/** Last-known topology version for optimistic concurrency. */
|
||||||
|
|||||||
Reference in New Issue
Block a user