DefinitelyTyped/types/screeps
Skyler Kehren a409077cca
Updated types for 2020-03-24 game update (#43560)
- Fixed `StructureSpawn.renewCreep()` documentation
- Added missing `PWR_OPERATE_FACTORY` constant
- Changed `BodyPartConstant` to allow inferred Boost type from part type
- Added `ConcreteStructure<T>` type
- Change `owner` to allow undefined on `StructureController`
- Various updates from 2020-03-24 game update
  - Added `Game.map.getRoomStauts(roomName)`
  - Added `RoomStatus` type, a discriminated union on `status` of `RoomStatusTemporary` and `RoomStatusPermanent`.
  - Added `StructureLab.reverseReaction(lab1,lab2)`
  - Changed `room.name` to be readonly
  - Changed typing of `StoreBase.getFreeCapacity()` to return `null` for invalid resources types on limited stores.
  - Changed documentation of `store` functions
  - Deprecated `Game.map.isRoomAvailable()`, see `Game.map.getRoomStatus()`
2020-04-01 14:25:34 -07:00
..
index.d.ts
screeps-tests.ts
tsconfig.json
tslint.json