So when i typed tsc index.ts
into terminal to compile my file it only responded with:
tsc.ps1 cannot be loaded. tsc.ps1 is not digitally signed. You cannot run this script on the current system.
I tried some commands on powershell while running it as admin and none of them worked so i turned here.