Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to run typescript in 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
Source by code.visualstudio.com #
 
PREVIOUS NEXT
Tagged: #run #typescript #vscode
ADD COMMENT
Topic
Name
2+6 =