优化代码
This commit is contained in:
8
src/index.d.ts
vendored
8
src/index.d.ts
vendored
@@ -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;
|
||||
Reference in New Issue
Block a user