Install tsc and compile the script file to run the website. Install tsc - npm i -g tsc Compile the script - tsc script.ts