I've created a tsconfig.json
file with the following content:
{
"compilerOptions": {
"target": "es5"
}
}
In my HelloWorld.ts
file, I have the following code:
function SayHello() {
let x = "Hello World!";
alert(x);
}
However, when I try to compile this code in Visual Studio Code using Ctrl+Shift+B, I encounter the error message below in the output window:
Cannot read property 'args' of undefined
My NodeJS Version is 7.8.0, and TypeScript version is 2.3.4.
Any help on troubleshooting what might be causing this issue?