I am trying to compile a .ts to .js
I have tsconfig.json
as below
{
\"compilerOptions\": {
\"target\": \"es5\",
\"module\": \"co
After trying something from this link, I re-write the tasks.json as below and it now worked. Seems the command has some problem previously
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"taskName": "compile",
"type": "shell",
"command": "tsc -p tsconfig.json",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
}
]
}