← All courses
🧩Intermediate

Shaping Data with Types

Model real data precisely: interfaces vs type aliases, intersections, discriminated unions, enums, tuples, const assertions, custom type guards, and structural typing.

Volume 2 · Part II · 8 chapters · 8 lessons
Share

What you'll learn

  • Interfaces vs Type Aliases
  • Intersection Types
  • Discriminated Unions
  • Enums (and const objects)
  • Tuples
  • const Assertions & Literal Inference
  • Custom Type Guards & Assertion Functions
  • Structural Typing

Curriculum

3 modules · 8 lessons
Module 1Interfaces, Aliases & Composition2 lessons
Interfaces vs Type AliasesPreview
Intersection Types
Module 2Modeling Variants3 lessons
Discriminated Unions
Enums (and const objects)
Tuples
Module 3Precision & Safety3 lessons
const Assertions & Literal Inference
Custom Type Guards & Assertion Functions
Structural Typing

Reviews

No reviews yet.

More courses

Browse all →