优化代码

This commit is contained in:
JIe
2024-11-04 13:09:46 +08:00
parent 57277eff2d
commit 36ea81e5e2
13 changed files with 264 additions and 100 deletions

8
src/index.d.ts vendored
View File

@@ -1,4 +1,8 @@
interface CreepMemory{
interface CreepMemory {
role: string,
working: boolean | null
working?: boolean | null,
[property: string]: any,
}
declare type Part = WORK | MOVE | CARRY | HEAL | ATTACK | RANGED_ATTACK | TOUGH | CLAIM;