We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I noticed that while the RoomTerrain type is there, the Room type doesn't have the method that generates it. docs.screeps.com/api/#Room.getTerrain
getTerrain is suggested and is not marked as incorrect when used
getTerrain is not suggested and is marked as incorrect when used
function test (room: Room): void { const terrain: RoomTerrain = room.getTerrain(); }
@types/screeps
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I noticed that while the RoomTerrain type is there, the Room type doesn't have the method that generates it. docs.screeps.com/api/#Room.getTerrain
Expected Behavior
getTerrain is suggested and is not marked as incorrect when used
Actual Behavior
getTerrain is not suggested and is marked as incorrect when used
Sample code (if available)
Your Environment
@types/screeps
version: 2.5.1The text was updated successfully, but these errors were encountered: