Ad space (banner)
🔷TypeScript Lessons
- 01Getting Started
- 02Your First Output (console.log)
- 03Variables and Type Annotations (number/string/boolean)
- 04Array Types
- 05Function Types (Parameters and Return Values)
- 06Optional Parameters and Default Parameters
- 07Interfaces (interface)
- 08Optional Properties (?)
- 09Type Aliases (type)
- 10Union Types
- 11Literal Types
- 12enum (Enumerated Types)
- 13Classes and Types
- 14Inheritance (extends) and Implementing an Interface (implements)
- 15Generics (<T>)
- 16Tuple Types
- 17The any and unknown Types
- 18Type Assertions (as)
- 19The readonly Modifier
- 20[Applied] Build a Mini Inventory Management System
Lesson 1 / 20
Getting Started
To run TypeScript, you'll want to set up the following. TypeScript is a language that adds a "type" system on top of JavaScript, developed by Microsoft. The code you write is ultimately converted (compiled) into JavaScript before it actually runs.
- Node.js: install it from the official site.
- TypeScript itself: install it by running
npm install -g typescriptin your terminal. - For a code editor, VS Code is recommended — TypeScript's type checking works out of the box.
← Previous lesson
Next lesson →
Ad space (banner)
Ad space (in-article)
