Academy
●
17 Lessons
TypeScript · Full Course
Type
Script
Academy
Learn TypeScript from zero to advanced. Build safer, smarter JavaScript with confidence.
17
Lessons
4
Levels
∞
Free
Foundations
Lessons 1–6
📚
01
What is TypeScript?
Introduction to TypeScript, why it exists, how to install it, and your first .ts file. The compilation pipeline explained.
🎯
02
Primitive Types
string, number, boolean, bigint, symbol, null, and undefined. The fundamental building blocks of TypeScript.
📝
03
Arrays & Tuples
Typed arrays with Type[] and Array<T> syntax. Fixed-length tuples for structured data. Common array methods.
📦
04
Objects & Interfaces
Typing objects inline and with reusable interfaces. Optional properties, readonly fields, and method signatures.
⚡
05
Functions
Parameter types, return types, optional and default parameters, rest parameters, and arrow functions.
🔀
06
Union Types & Type Aliases
The | operator for flexible types. Reusable type aliases. Literal types to restrict values to exact strings or numbers.
Intermediate
Lessons 7–11
🏛️
07
Classes
NEW
OOP in TypeScript. Access modifiers, shorthand constructors, inheritance, abstract classes, getters & setters.
🧬
08
Generics
NEW
Write reusable type-safe code with <T>. Generic functions, interfaces, and constraints with extends.
🔢
09
Enums
NEW
Named constants with numeric and string enums. Const enums for performance. Real-world usage patterns.
🛡️
10
Type Narrowing
NEW
typeof, instanceof, and in operator guards. Type assertions with as. Safely working with union types at runtime.
🗂️
11
Modules
NEW
ES Modules in TypeScript. Named and default exports/imports. Exporting types. Recommended project folder structure.
Advanced
Lessons 12–14
🔧
12
Utility Types
TypeScript's built-in type helpers: Partial, Required, Pick, Omit, Record, Exclude, Extract, NonNullable, ReturnType.
🗺️
13
Decorators
Class, method, property and parameter decorators. Real-world usage in NestJS and Angular. Decorator factories.
⚙️
14
tsconfig.json
Compiler options deep dive: target, strict, paths, module, outDir, sourceMap. Ready-made configs for Node and React.
Real World
Lessons 15–17
⚛️
15
TypeScript + React
Typing props, useState, useRef, useEffect, custom hooks, event handlers. Modern function components with full type safety.
🌐
16
TypeScript + Node.js
Build type-safe APIs with Express. Typed request bodies, route params, middleware. NestJS introduction and comparison.
🔬
17
Advanced Types
Conditional types, mapped types, template literal types, the infer keyword, intersection types, and discriminated unions.