Typescript

This commit is contained in:
Mitchell McCaffrey
2021-07-17 12:48:04 +10:00
parent e48d19a817
commit fecf8090ea
23 changed files with 556 additions and 254 deletions

View File

@@ -24,8 +24,7 @@ import MapGrid from "./MapGrid";
import MapGridEditor from "./MapGridEditor";
import { Map } from "../../types/Map";
import { GridInset } from "../../types/Grid";
type MapSettingsChangeEventHandler = (change: Partial<Map>) => void;
import { MapSettingsChangeEventHandler } from "../../types/Events";
type MapEditorProps = {
map: Map;