Skip to content

Add typescript room visual for most of the functions#13

Open
f4hy wants to merge 1 commit into
screepers:masterfrom
f4hy:master
Open

Add typescript room visual for most of the functions#13
f4hy wants to merge 1 commit into
screepers:masterfrom
f4hy:master

Conversation

@f4hy
Copy link
Copy Markdown

@f4hy f4hy commented Jan 16, 2022

I did not include everything because the last bits would require folks modifying global elsewhere to pass typechecking.

Comment thread RoomVisual.js
RoomVisual.prototype.connectRoads = function(opts={}){
let color = opts.color || colors.road || 'white'
if(!this.roads) return
if(!this.roads) return this
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was just a bug form before. found while typechecking.

@CarsonBurke
Copy link
Copy Markdown
Member

Thanks for doing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants