Typescript

This commit is contained in:
Mitchell McCaffrey
2021-07-17 17:25:41 +10:00
parent 97734a2f55
commit 2a053f4854
33 changed files with 412 additions and 419 deletions

View File

@@ -32,8 +32,8 @@ import { Settings } from "../../types/Settings";
type MapControlsProps = {
onMapChange: MapChangeEventHandler;
onMapReset: MapResetEventHandler;
currentMap?: Map;
currentMapState?: MapState;
currentMap: Map | null;
currentMapState: MapState | null;
selectedToolId: MapToolId;
onSelectedToolChange: (toolId: MapToolId) => void;
toolSettings: Settings;