- Go into VSCode
- Install typescript
npm i typescript
for local ORnpm i -g typescript
for global - Run either
node_modules/.bin/tsc --init
for local installation ortsc --init
for global - Open the generated file
tsconfig.json
and 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.