Last active
July 14, 2020 06:11
-
-
Save peterkeller/b97d40fd6897bb90ac10d1a556bdfc08 to your computer and use it in GitHub Desktop.
Compile and run TypeScript in a shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "console.log('Hello, World')" > index.ts | |
tsc index.ts | |
node index.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment