typescript

This commit is contained in:
Mitchell McCaffrey
2021-07-16 14:55:33 +10:00
parent 68c1c6db0c
commit d80bfa2f1e
103 changed files with 1402 additions and 1336 deletions

View File

@@ -1,5 +1,5 @@
import { Drawing } from "./Drawing";
import { Fog } from "./Fog";
import { FogState } from "./Fog";
import { Note } from "./Note";
import { TokenState } from "./TokenState";
@@ -8,7 +8,7 @@ export type EditFlag = "drawing" | "tokens" | "notes" | "fog";
export type MapState = {
tokens: Record<string, TokenState>;
drawShapes: Record<string, Drawing>;
fogShapes: Record<string, Fog>;
fogShapes: FogState;
editFlags: Array<EditFlag>;
notes: Record<string, Note>;
mapId: string;