diff --git a/dist/index.d.ts b/dist/index.d.ts index 235139f..f5e9ef1 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -2042,7 +2042,7 @@ declare const InterShardMemory: InterShardMemory; type Terrain = "plain" | "swamp" | "wall"; -type ExitKey = "1" | "3" | "5" | "7"; +type ExitKey = TOP | RIGHT | BOTTOM | LEFT; type AnyCreep = Creep | PowerCreep; diff --git a/src/literals.ts b/src/literals.ts index c0b36a5..750fd8f 100644 --- a/src/literals.ts +++ b/src/literals.ts @@ -7,7 +7,7 @@ type Terrain = "plain" | "swamp" | "wall"; -type ExitKey = "1" | "3" | "5" | "7"; +type ExitKey = TOP | RIGHT | BOTTOM | LEFT; type AnyCreep = Creep | PowerCreep;