Tips and tricks for dealing with Typescript files

  • Make sure you've ran the script at least once so the FXServer can install all required dependencies (it also install developer dependencies).
  • Use an IDE (like Visual Studio Code) to edit the TypeScript files.
    • Visual Studio Code has native Typescript support and makes it easy to edit these files and tell you if you fuck up. [INSERT GIF ABOUT CORRECT AND INCORRECT VALUES]

      Example of how Typescript warns of an incorrect value.
  • Our config fields are well documented and have auto completion/suggestions where possible. You can see this by hovering your mouse of a config key. Display of documentation of our config keys.
    • [VSCode] You can open the auto completion window by putting your cursor where a value should be and pressing CTRL + Space. Auto completion menu.
  • Make sure you save the config files, restart the script and the script will compile the new config.