In this video, I’ll walk you through the complete process of installing and configuring TypeScript in a Node.js project.
You’ll learn how to use both the TypeScript compiler (tsc) and ts-node to write and run TypeScript code easily.
What you’ll learn:
1. Installing TypeScript using npm
2. Understanding npm init -y (creating package.json)
3. Generating tsconfig.json using npx tsc --init
4. Difference between tsc and ts-node
5. Compiling .ts files into .js
6. Running TypeScript files directly without compiling