codex-lv4-may-2025

Week 5 - Day 2

← Back to Week 5 / ← Course Index


Goal

TypeScript part 2

Steps

  1. Work with arrays and objects with types. Return a typed result from a function.
  2. Use a narrow check that changes behavior based on type.
  3. Extra practice if you want
    • add a generic helper that returns the input type