I am learning Angular/Typescript and found my first issue. Don't even know how to ask it correctly. Searched it around and got nothing.
I have a main.ts file with this code
function myFunc(x,y){
return x+y;
}
let num = 2;
const PI = 3.14;
When I do the command
tsc main.ts
It creates an empty file named main.js
In the video course I am watching, the generated file is populated with the corresponding javascript.
What should I do? Thanks in advance