Screeps-Typescript-Declarations
Screeps-Typescript-Declarations copied to clipboard
Room.createFlag and RoomPosition.createFlag return type is number, when it can also be a string of the Flag's name
http://docs.screeps.com/api/#Room.createFlag http://docs.screeps.com/api/#RoomPosition.createFlag
Just add | string and we good.