Como executar o TypeScript no VSCode

$ npm install -g typescript

//Add a tsconfig.json:
{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "sourceMap": true
  }
}
//In the Terminal top menu click on Run Build Task
MitchAloha