TypeScript Foundations

45‑60 hours · 15 modules · 89 lessons · Project: TaskKit

M3 · 5 lessonsConditions and Missing Values
  1. 3.1if / else and switch
  2. 3.2Logical operators, truthy and falsy values
  3. 3.3null and undefined
  4. 3.4Optional chaining ?. and nullish coalescing ??
  5. 3.5Checking for null: a first look at narrowing
  6. Project stepValidate input and print helpful messages.
M4 · 7 lessonsArrays and Loops
  1. 4.1Arrays and the T[] type
  2. 4.2for, for...of, and while
  3. 4.3map, filter, find, some, and every
  4. 4.4Sorting and its pitfalls
  5. 4.5reduce
  6. 4.6Simple tuples
  7. 4.7Reading code: tracing a loop by hand
  8. Project stepKeep tasks in a list, refuse a task typed twice, and sort them A to Z.
M10 · 2 lessonsReading Generic Types
  1. 10.1What <T> means: Array<T> and Map<K, V>
  2. 10.2Your first generic function
  3. Project stepStore tasks in a Map<string, Task> and write a generic findBy helper.
M11 · 6 lessonsAsynchronous Code
  1. 11.1What asynchronous code is and why it exists
  2. 11.2The event loop, in pictures
  3. 11.3Promise<T>
  4. 11.4async / await
  5. 11.5Errors in async code: try around await
  6. 11.6Catching what you do not await: .catch and unknown
  7. Project stepAdd a delay() helper and a reminder that waits before it prints.
M13 · 3 lessonsClasses: The Basics
  1. 13.1Classes: properties, constructors, and methods
  2. 13.2private, #private, and readonly: TypeScript privacy vs JavaScript privacy
  3. 13.3When to use classes, and when functions and objects are enough
  4. Project stepMove task storage into a TaskStore class with #private data and public methods.
M15 · 4 lessonsFinal Project
  1. 15.1Finish TaskKit: add a feature that fetches data from an API, and write a README
  2. 15.2Git on your computer: commits and a .gitignore
  3. 15.3Ship TaskKit: publish it on GitHub with a README and a short demo recording
  4. 15.4Self-assessment: are you ready for Level 2?
  5. Project stepShip TaskKit: publish it on GitHub with a README and a short demo recording.
  6. TipAfter lessons 15.2 and 15.3, Bonus A's Git lesson takes it further: history, branches, and pull requests.
Curriculum v6 · September 2026Tested with TypeScript 7.x · Node.js LTS