- Run:
npm install
- Run:
npm run watch
- Go to Bitburner:
- Options -> Remote API -> type in the port: 12525 -> click connect. The icon should turn green and say it's online.
This will automatically create NetscriptDefinitions.d.ts
and sync your changes with the Bitburner.
Template gotten from bitburner-official/typescript-template.