Reputation: 291
I have installed vs code on ubuntu 20 and wanted to compile a .ts file via tsc
which created a empty js file.
node is installed , also typescript
also testing it with webstorm created a correct js file
why does this dont work in vs code ?
Upvotes: 2
Views: 2247
Reputation: 1
You probably have not saved the file. Ctrl + s your .ts file and then run the tsc command in terminal. Its work for me.
Upvotes: -1
Reputation: 41
You probably have not saved the file. Ctrl + s your .ts file and then run the tsc command in terminal.
Upvotes: 4