onetap-ts
v4.1.0
Published
Typescript support for onetap.com js
Downloads
12
Readme
Onetap-ts [beta]
Typescript support for onetap.com js
Instalation
Run onetap-ts installer
# this must be run from the 'ot' folder
# [CSGO INSTALL LOCATION]\Counter-Strike Global Offensive\ot
npx onetap-ts init
Usage
If you use VSCode, you should automatically get better autocomplete. For other editors you might need to install a TS language server.
After installation you can start adding scripts to ot/onetap-ts
.
To transpile scripts once run:
npm run build
This generates ES5 .js into ot/scripts
For development you can use:
npm start
This does the same as build, but automatically updates on save.
npm start
& npm run build
have to be run in ot/onetap-ts
Issues
- Pls report issues (also accepting feature requests)