← Back to paths
TypeScript from scratch
Four write-the-whole-thing exercises, from a typed counter to an event emitter
4 challenges
Start here1. Challenge: Build a Type-Safe Counter
beginnerImplement a counter class with proper TypeScript types from scratch.
TypeScript
2. Challenge: Generic Array Utilities
intermediateImplement type-safe generic array utility functions from scratch.
TypeScript
3. Challenge: Build a Promise Retry Utility
advancedImplement a utility that retries failed Promise operations with exponential backoff.
TypeScript
4. Challenge: Build a Type-Safe Event Emitter
advancedCreate a strongly-typed event emitter with proper TypeScript generics.
TypeScript