Example of a Dota TypeScript addon, to be used with the TypeScript to Lua compiler which can be installed using:
npm install -g typescript-to-lua
This repository includes two pre-defined VSCode build task, regular compilation and watch mode compilation.
Best used by opening the root directory with VSCode. You can use the included VSCode build tasks (ctrl+shift+b
) to build panorama, lua or watch the game lua or panorama and automatically recompile on changes, or simply use the command line to execute whatever commands you need.