Start.dev
CoursesChallenges
Log inSign up

TypeScript Fundamentals

Challenge set

TypeScript Fundamentals

Build practical TypeScript foundations through six Challenges covering function types, object models, optional fields, narrowing, unions, and generics.

TypeScript logoTypeScript

Work through the collection

Challenges in This Set

  1. 01
    TypeScript logo

    TypeScript

    Type a Price Calculator

    Add TypeScript parameter and return annotations to a price calculator so strict compilation succeeds while preserving the calculated total.

    Experience points50XPBeginner
  2. 02
    TypeScript logo

    TypeScript

    Model a Product Object

    Define a TypeScript product object type with required primitive fields so the provided formatter and sample catalog compile safely.

    Experience points50XPBeginner
  3. 03
    TypeScript logo

    TypeScript

    Handle Optional Profile Fields

    Handle optional TypeScript profile fields with nullish fallbacks so complete and partial profiles produce clear readable summaries.

    Experience points50XPBeginner
  4. 04
    TypeScript logo

    TypeScript

    Narrow a Search Result

    Use TypeScript union narrowing with typeof to format text and numeric search results safely without weakening the declared types.

    Experience points100XPIntermediate
  5. 05
    TypeScript logo

    TypeScript

    Model Deployment Events with TypeScript

    Model deployment events with a TypeScript discriminated union so status checks narrow every variant to its required fields safely.

    Experience points100XPIntermediate
  6. 06
    TypeScript logo

    TypeScript

    Build a Generic Result Wrapper

    Build a generic TypeScript Result type and helper functions that preserve each success value's type while representing failures safely.

    Experience points200XPAdvanced
Start.dev

Learn how to code by building real software.

© 2026 Start.devRoadmapRanksBlogInstructorsFAQContact usTerms of ServicePrivacy PolicyStatus