2

I know that I can run JavaScript by running node through the command line, but is there a way to play around with TypeScript on the command line? Or must I use a text editor?

1

1 Answer 1

6

If you install ts-node for a project, you can then run it directly by typing in npx ts-node. It works similarly to Node's REPL.

enter image description here

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

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.