FREE TUTORIALS · Learn from zero to expertBusiness DirectoryPut Your Business Ad Here — Free
Independent course disclaimer · expand / collapse

These are independently developed tutorials. Technology names belong to their respective owners; no endorsement is implied. Examples are educational, not guarantees. Verify commands, costs, security, browser support, and framework versions before production use. Google Translate requires internet and can make mistakes. Terms · Privacy · Legal.

Fundamentals → Mastery guide · Six levels, practical projects, topic checklist, worked code and results.
EasyTutorGuide · Free practical course · Six levels

TypeScript — from absolute beginner to advanced professional practice

Start without knowing any terminology. Work through the chapters in order, read the small explanations, edit the code, check the visible output, and answer twenty practice questions in every chapter.

145 chapters6 levels20 answered questions per chapterMobile + RTL/LTRYouTube narration flow

Start Chapter 1

Level 1 · Absolute Beginner

Work through these topics in order, practising the example and answering the questions in each chapter before continuing.

  1. Chapter 1: What TypeScript Is and Why Use It
  2. Chapter 2: JavaScript Prerequisites for TypeScript
  3. Chapter 3: Install Node and a Code Editor
  4. Chapter 4: Install TypeScript and Check Versions
  5. Chapter 5: Create Your First .ts File
  6. Chapter 6: Compile TypeScript into JavaScript
  7. Chapter 7: Run Compiled JavaScript
  8. Chapter 8: Read Type Errors and Diagnostics
  9. Chapter 9: let const and Variable Inference
  10. Chapter 10: Annotate string number and boolean
  11. Chapter 11: Literal Types and const Values
  12. Chapter 12: Arrays and Readonly Arrays
  13. Chapter 13: Tuples and Named Tuples
  14. Chapter 14: Object Type Annotations
  15. Chapter 15: Optional Object Properties
  16. Chapter 16: Union Types with the Pipe Symbol
  17. Chapter 17: Narrowing with typeof
  18. Chapter 18: Functions and Parameter Types
  19. Chapter 19: Optional and Default Parameters
  20. Chapter 20: Function Return Types
  21. Chapter 21: Arrow Functions and Callbacks
  22. Chapter 22: Type Aliases
  23. Chapter 23: Interfaces for Object Shapes
  24. Chapter 24: Project: Typed Student Grade Calculator

Level 2 · Foundation

Work through these topics in order, practising the example and answering the questions in each chapter before continuing.

  1. Chapter 25: null undefined and strictNullChecks
  2. Chapter 26: Optional Chaining and Nullish Coalescing
  3. Chapter 27: Type Assertions versus Runtime Checks
  4. Chapter 28: unknown versus any
  5. Chapter 29: never and Exhaustiveness
  6. Chapter 30: Literal Unions for UI States
  7. Chapter 31: Type Guards and Custom Predicates
  8. Chapter 32: Discriminated Unions
  9. Chapter 33: Intersection Types
  10. Chapter 34: keyof and Lookup Types
  11. Chapter 35: typeof in Type Positions
  12. Chapter 36: Indexed Access Types
  13. Chapter 37: Generic Functions
  14. Chapter 38: Generic Arrays and Containers
  15. Chapter 39: Generic Type Constraints
  16. Chapter 40: Generic Defaults
  17. Chapter 41: Function Overloads
  18. Chapter 42: Rest Parameters and Spread
  19. Chapter 43: Readonly Objects and as const
  20. Chapter 44: The satisfies Operator
  21. Chapter 45: Enums and String Union Alternatives
  22. Chapter 46: Classes and Constructors
  23. Chapter 47: Public Private Protected and readonly
  24. Chapter 48: Project: Typed Inventory and Shopping Cart

Level 3 · Intermediate

Work through these topics in order, practising the example and answering the questions in each chapter before continuing.

  1. Chapter 49: ES Modules with import and export
  2. Chapter 50: Type-Only Imports and Exports
  3. Chapter 51: Module Resolution Basics
  4. Chapter 52: tsconfig.json from Scratch
  5. Chapter 53: strict and noUncheckedIndexedAccess
  6. Chapter 54: target lib and Runtime Compatibility
  7. Chapter 55: module and moduleResolution
  8. Chapter 56: ESM versus CommonJS
  9. Chapter 57: Generics in Interfaces
  10. Chapter 58: Generic Classes and Methods
  11. Chapter 59: Mapped Types
  12. Chapter 60: Partial Required Readonly and Pick
  13. Chapter 61: Omit Record and Exclude
  14. Chapter 62: Extract NonNullable and Parameters
  15. Chapter 63: ReturnType Awaited and InstanceType
  16. Chapter 64: Conditional Types
  17. Chapter 65: infer in Conditional Types
  18. Chapter 66: Distributive Conditional Types
  19. Chapter 67: Template Literal Types
  20. Chapter 68: Key Remapping in Mapped Types
  21. Chapter 69: Recursive Types
  22. Chapter 70: Branded and Opaque Types
  23. Chapter 71: Type-Safe Fetch and JSON Validation
  24. Chapter 72: Project: Typed API Client with Pagination

Level 4 · Advanced

Work through these topics in order, practising the example and answering the questions in each chapter before continuing.

  1. Chapter 73: DOM Element Types and querySelector
  2. Chapter 74: Event Types and EventTarget
  3. Chapter 75: HTMLInputElement and Forms
  4. Chapter 76: Safe DOM Updates and textContent
  5. Chapter 77: Fetch Response Handling
  6. Chapter 78: Async Functions and Promise Types
  7. Chapter 79: Promise.all and Concurrency
  8. Chapter 80: AbortController and Cancellation
  9. Chapter 81: Error Handling with unknown
  10. Chapter 82: Custom Error Classes
  11. Chapter 83: Date Intl and Localization
  12. Chapter 84: Map Set and Iterable Types
  13. Chapter 85: Async Iterators and Generators
  14. Chapter 86: Classes and Implements
  15. Chapter 87: Abstract Classes and Polymorphism
  16. Chapter 88: Decorators Overview and Configuration
  17. Chapter 89: Declaration Files and .d.ts
  18. Chapter 90: Working with Third-Party Type Packages
  19. Chapter 91: Typing External JavaScript Libraries
  20. Chapter 92: JSDoc and checkJs Migration
  21. Chapter 93: Unit Testing with Vitest
  22. Chapter 94: Mocking Dependencies
  23. Chapter 95: Reusable Validation Utilities
  24. Chapter 96: Project: Accessible Search and Filter UI

Level 5 · Expert

Work through these topics in order, practising the example and answering the questions in each chapter before continuing.

  1. Chapter 97: Type-Level Programming Principles
  2. Chapter 98: Advanced Mapped Type Patterns
  3. Chapter 99: Advanced Conditional Types
  4. Chapter 100: Variadic Tuple Types
  5. Chapter 101: Template Literal String Patterns
  6. Chapter 102: Narrowing Nested Discriminated Unions
  7. Chapter 103: Generic Factories and Builders
  8. Chapter 104: Typing Middleware Pipelines
  9. Chapter 105: Type-Safe Event Emitters
  10. Chapter 106: Type-Safe State Machines
  11. Chapter 107: Schema-Driven Parsing and Validation
  12. Chapter 108: Typed API Endpoints and Contracts
  13. Chapter 109: Typed React Components with TSX
  14. Chapter 110: Typing React Hooks
  15. Chapter 111: Vue 3 with script setup and lang ts
  16. Chapter 112: Angular TypeScript Strict Templates
  17. Chapter 113: Node.js TypeScript Execution
  18. Chapter 114: Build Tools Vite and esbuild
  19. Chapter 115: Monorepos and Project References
  20. Chapter 116: Incremental Builds and Compiler Options
  21. Chapter 117: Performance of Large Type Systems
  22. Chapter 118: TypeScript 7 Native Compiler Overview
  23. Chapter 119: Migration from TypeScript 6 to 7
  24. Chapter 120: Project: Shared Typed Component Library

Level 6 · Mastery

Work through these topics in order, practising the example and answering the questions in each chapter before continuing.

  1. Chapter 121: Domain Modeling with Types
  2. Chapter 122: Designing Safe Public APIs
  3. Chapter 123: Runtime Validation and Trusted Boundaries
  4. Chapter 124: Authentication State and Permissions
  5. Chapter 125: Never Expose Secrets in Frontend Code
  6. Chapter 126: Logging Telemetry and Typed Errors
  7. Chapter 127: Resilient Network Clients
  8. Chapter 128: Caching and Deduplication Patterns
  9. Chapter 129: Pagination and Infinite Loading
  10. Chapter 130: Offline-First Data Models
  11. Chapter 131: IndexedDB Types and Storage Strategies
  12. Chapter 132: Workers and Message Protocols
  13. Chapter 133: WebSocket and Realtime Event Models
  14. Chapter 134: Internationalization and RTL Types
  15. Chapter 135: Accessibility and Type-Safe UI Components
  16. Chapter 136: Performance Budgets and Core Web Vitals
  17. Chapter 137: Testing Strategy and Integration Tests
  18. Chapter 138: Property-Based Testing Concepts
  19. Chapter 139: Security Reviews and Prototype Pollution
  20. Chapter 140: Continuous Integration Type Checking
  21. Chapter 141: Versioned Libraries and Semantic Releases
  22. Chapter 142: Publishing Type Declarations to npm
  23. Chapter 143: TypeScript 7.1 Beta Features and Caution
  24. Chapter 144: Capstone: Full-Stack Typed Booking App
  25. Chapter 145: Mastery: Audit and Refactor a Production Codebase

How to learn like a complete beginner

You do not need to learn every word in one reading. Read the lesson, type the example, look at its real output, change one part, and explain what changed. Return when you have forgotten something. For frameworks requiring an installer or compiler, the source must be tested in a real project—not only in the browser-only illustration.

Suggest an improvement or share a learning idea on the blog.

Disclaimer, trademarks and learning guidance

Independent educational material. External names are used solely to identify subjects. These tutorials are not official training or certification. Output may vary by browser and software version. If a framework requires a build tool, the standalone browser demonstration is an illustration, not execution of the framework source. Always test your own code before publication. Legal notice.