Created
January 12, 2020 12:35
-
-
Save vijairamcharan/7023dc51836e61302b7e9c43528f037e to your computer and use it in GitHub Desktop.
Quick start for node + typescript
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
mkdir hello-ts-node | |
cd hello-ts-node | |
yarn init | |
yarn add typescript @types/node ts-node-dev | |
yarn tsc --init | |
echo "console.log('hi')" > index.ts | |
yarn ts-node-dev index |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment