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.json
dependencies:
"@types/screeps-arena": "screepers/typed-screeps-arena#season-beta"
-
Run
npm install
(oryarn install
) to install dependencies. -
Update your
tsconfig.json
to 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-arena
andpackage-lock.json
(oryarn.lock
). -
Run
npm install
(oryarn install
) to reinstall dependencies.