diff --git a/dist/screeps-tests.ts b/dist/screeps-tests.ts index 91f027a..e6b4f87 100644 --- a/dist/screeps-tests.ts +++ b/dist/screeps-tests.ts @@ -168,7 +168,7 @@ function resources(o: GenericStore): ResourceConstant[] { memory: { lastHits: 0, // @ts-expect-error - role: "hauler", + role: "hauler", // $ExpectError sourceId: "" as Id, }, }); @@ -251,7 +251,7 @@ function resources(o: GenericStore): ResourceConstant[] { const source = Game.getObjectById(creep.memory.sourceId); } else { // @ts-expect-error - creep.memory.sourceId = creep.pos.findClosestByRange(FIND_SOURCES)!.id; + creep.memory.sourceId = creep.pos.findClosestByRange(FIND_SOURCES)!.id; // $ExpectError } }