https://github.com/moddota/typescriptdeclarations
TypeScript declarations for Dota 2.
https://github.com/moddota/typescriptdeclarations
Last synced: 9 months ago
JSON representation
TypeScript declarations for Dota 2.
- Host: GitHub
- URL: https://github.com/moddota/typescriptdeclarations
- Owner: ModDota
- License: mit
- Created: 2020-01-16T19:43:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-06-17T19:07:32.000Z (about 1 year ago)
- Last Synced: 2025-08-09T04:51:37.718Z (11 months ago)
- Language: TypeScript
- Size: 3.1 MB
- Stars: 18
- Watchers: 9
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dota 2 TypeScript declarations
TypeScript declarations for Dota 2 Custom Game
[Lua](https://github.com/ModDota/TypeScriptDeclarations/tree/master/packages/dota-lua-types) and
[Panorama](https://github.com/ModDota/TypeScriptDeclarations/tree/master/packages/panorama-types)
API, generated from [dota-data](https://github.com/ark120202/dota-data) dumps.
Check out our [addon template](https://github.com/ModDota/TypeScriptAddonTemplate) for usage
examples.
### Updating after a DOTA2 update (for contributors)
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. `npm ci`
4. `npm run build`
5. Commit to a new branch
6. Make a merge request
### Updating package versions (for maintainers)
1. Run `npm run bump:lua-types ` to update the lua types package, or `npm run bump:panorama-types ` to update the panorama types.
2. Push with tags