Reputation: 1135
My code is trivial:
console.log("Hello world");
But when I run:
tsc hello.ts
I don't get any console output.
Is there something additional I need to do?
Upvotes: 6
Views: 11545
Reputation: 1995
Install ts-node
and use that to run your Typescript files
https://www.npmjs.com/package/ts-node
Upvotes: 5