Skip to content

screepers/typed-screeps-arena

Repository files navigation

typed-screeps-arena

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.

Installation

Currently this package can be installed manually by following these steps:

  1. Add this entry to your package.json dependencies:
  "@types/screeps-arena": "screepers/typed-screeps-arena#season-beta"
  1. Run npm install (or yarn install) to install dependencies.

  2. 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",
  ]

Updating types

To update the types installed manually:

  1. Delete ./node_modules/@types/screeps-arena and package-lock.json (or yarn.lock).

  2. Run npm install (or yarn install) to reinstall dependencies.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published