TypeScript
Add static types to your JavaScript: from everyday types through narrowing, generics, and advanced type-level tools, to configuring and using TypeScript in real projects. Best after you know JavaScript.
Why TypeScript & setup
Understand what the compiler buys you and get a TypeScript project running.
Everyday types
Type primitives, arrays, objects, and functions — the 80% you use daily.
Narrowing & unions
Model real data with union types and let control flow narrow them safely.
Generics & object types
Write reusable, type-safe functions and shapes with generics, interfaces, and type aliases.
Advanced types
Level up with mapped types, conditional types, and template literal types.
tsconfig & tooling
Configure strictness, module resolution, and linting for a healthy codebase.
TypeScript in real projects
Apply TypeScript with React and Node the way production teams do.