A tutorial for learning TypeScript on VSCode
- Clone the repo
- Open VSCode and install Code Runner
- Go to
Settings > Run Code configuration > Executor Map
and click on Edit in settings.json - Search for
"code-runner.executorMap"
and go to the line that says"typescript"
and replace the value with"tsc $fileName && node $fileNameWithoutExt.js && rm $fileNameWithoutExt.js"