IamFive / TypeScriptDeclarations

TypeScript declarations for Dota 2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dota 2 TypeScript declarations

TypeScript declarations for Dota 2 Custom Game Lua and Panorama API, generated from dota-data dumps.

Check out our addon template for usage examples.

Updating after a DOTA2 update

  1. Update https://github.com/ModDota/dota-data and publish a new package version
  2. Update the @moddota/dota-data package version in package.json
  3. yarn install
  4. yarn build
  5. Commit
  6. If necessary, bump versions in packages/dota-lua-types/package.json and packages/panorama-types/package.json
  7. Commit and push
  8. If necessary, run publish-lua-types and publish-panorama-types workflows

About

TypeScript declarations for Dota 2.

License:MIT License


Languages

Language:TypeScript 99.4%Language:JavaScript 0.6%