- Go into VSCode
- Install typescript
npm i typescriptfor local ORnpm i -g typescriptfor global - Run either
node_modules/.bin/tsc --initfor local installation ortsc --initfor global - Open the generated file
tsconfig.jsonand pressCTRL+F - Make sure to tick the regex filter for search on the far right of the search input (third icon)
- Pase that regex
\s* \/\* .* \*\/ - Replace by "nothing"
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.