~/talk

Mastering TypeScript Mysteries

Talkat CityJS New Delhi 2024 · 2024-11-16..11-17· [typescript]
slides:none on file

Shows a generic Sudoku implementation that accepts numbers colors or images and demonstrates how generics keep the solver flexible while the compiled output in the TypeScript playground removes types into plain JavaScript. Explains intersection vs union with a bike example where intersection requires all properties and union needs type guards to avoid missing‑property errors. Recommends composition over inheritance citing Gang of Four and compares enums with string literals to show IDE autocomplete prevents runtime mistakes.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:04About the speaker and TypeScript basics
  3. 3:10Why TypeScript matters
  4. 6:19Understanding data types
  5. 8:05Generics in TypeScript
  6. 11:59Inheritance and composition
  7. 14:30Intersection types
  8. 17:13Type guards and unions
  9. 20:23String literals vs enums
  10. 22:49Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.