I use typed screeps as a helper in my own codebase to get autocomplete via vs code from default JS. I noticed that Game.market.deal had some slight differences compared to the official docs. Had a misleading targetRoomName, when it should be yourRoomName and I've added some documentation for the parameters (paraphrasing from official docs)
Checklists
[x] Test passed
[x] Coding style (indentation, etc)
[x] Edits have been made to src/ files not index.d.ts
Brief Description
I use typed screeps as a helper in my own codebase to get autocomplete via vs code from default JS. I noticed that
Game.market.deal
had some slight differences compared to the official docs. Had a misleading targetRoomName, when it should be yourRoomName and I've added some documentation for the parameters (paraphrasing from official docs)Checklists
src/
files notindex.d.ts
npm run dtslint
to updateindex.d.ts