Files
screeps-scripts/src/types.d.ts
2018-08-01 12:35:46 +07:00

21 lines
331 B
TypeScript

// example declaration file - remove these and add your own custom typings
// memory extension samples
interface CreepMemory {
role: string;
room: string;
working: boolean;
}
interface Memory {
uuid: number;
log: any;
}
// `global` extension samples
declare namespace NodeJS {
interface Global {
log: any;
}
}