Typescript types for the game Screeps Arena based on the official Screeps Arena Docs.
Note
The types in this branch are for Season Beta in Screeps Arena.
Currently this package can be installed manually by following these steps:
- Add this entry to your
package.jsondependencies:
"@types/screeps-arena": "screepers/typed-screeps-arena#season-beta"-
Run
npm install(oryarn install) to install dependencies. -
Update your
tsconfig.jsonto include the types in./node_modules/@types/screeps-arena/dist:
"typeRoots": [
"./node_modules/@types",
"./src/@types",
"./node_modules/@types/screeps-arena/dist",
]To update the types installed manually:
-
Delete
./node_modules/@types/screeps-arenaandpackage-lock.json(oryarn.lock). -
Run
npm install(oryarn install) to reinstall dependencies.