Manuals / TypeScript / Ch 11

ReferenceBeginner15 min read

11. Cheat sheet & interview topics

TypeScript · 44 pages source format

Quick reference for daily TS work and common interview questions. Return when stuck.

What you'll learn

  • 6-week map
  • Utility quick ref
  • Interview answers

Week map

  • Week 1 — Strict setup, types/interfaces
  • Week 2 — Unions, narrowing + Checkpoint A
  • Week 3 — Generics, utility types
  • Week 4 — Typing APIs
  • Week 5 — Migration strategy
  • Week 6 — Checkpoint B + polish
Clear?

Utility quick ref

Partial<T> optional all. Required<T> required all. Pick<T,K> subset. Omit<T,K> exclude. Record<K,V> dict. ReturnType<F> extract return.

Do this now

Bookmark TS Handbook utility types page.

Clear?

Interview one-liners

any: opt out of checking. unknown: safe top type, narrow first. interface: extend/merge. type: unions/intersections. never: exhaustiveness sink.

Do this now

Maintain living doc of TS interview Q&A in repo docs/ts-interview.md.

Clear?

Checklist