2

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 ?

2 Answers 2

4

You probably have not saved the file. Ctrl + s your .ts file and then run the tsc command in terminal.

Sign up to request clarification or add additional context in comments.

Comments

-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.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.