screepers/Screeps-Typescript-Declarations

Issues with RoomVisual

chobobobo opened this issue · 2 comments

RoomVisual constructor needs to have roomName as optional: http://docs.screeps.com/api/#RoomVisual

TextStyle needs 3 additional optional, I have extended it using:
interface TextStyle {
font?: string | number;
stroke?: string;
strokeWidth?: number;
}
http://docs.screeps.com/api/#RoomVisual.text

Will be fixed by PR #112

As @kotarou said, fixed by #112.