~/talk

Deconstructing TypeScript’s Type System

Talkat NDC Oslo 2018 · 2018-06-11..06-15· [typescript]
slides:none on file

Walks through concrete TypeScript type features and shows how they stop real bugs: strictNullChecks for explicit undefined handling, discriminated unions plus the never type for exhaustive switch checks, and intersection types/generics for combining shapes (example: a jQuery-style extend that merges dog + velociraptor). Demonstrates modeling a C# Web API response in TypeScript (id vs. modelState error), uses type guards and keyof to safely read fields, notes TypeScript 2.9, transpiling to ES5, and claims maintenance scales for 20–200+ files with better tooling and deterministic refactors.

AI-written summary · about

  1. 0:00Introduction
  2. 1:21Why use TypeScript
  3. 4:11Tooling and scaling
  4. 6:14TypeScript vs CoffeeScript
  5. 8:58Industry adoption
  6. 12:40Basic typing concepts
  7. 20:55Interfaces and indexing
  8. 28:17Generics and classes
  9. 31:52Union and literal types
  10. 36:46Type guards and intersection
  11. 44:05Type aliases and unions
  12. 52:47Conclusion 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.