~/talk

TypeScript for JavaScripties

Talkat DevReach 2023 · 2023-10-25..10-26· [typescript]
slides:none on file

Covers practical TypeScript fundamentals: explains JavaScript plus a type system, shows the compiler, language service and type checker, demonstrates union types and literal narrowing with concrete examples (prompt returns string|null), teaches structural object typing and discriminated union patterns, walks through function return types including never, shows tuples used for React-like state, and demos a typescript-eslint lint rule that autofixes an unnecessary await and can remove about a third of dead code.

AI-written summary · about

  1. 0:00Introduction
  2. 1:47Why TypeScript matters
  3. 3:33Type annotations and intent
  4. 6:39Understanding types and unions
  5. 9:51Primitives vs literals
  6. 12:21Object types and structural typing
  7. 15:28Discriminated unions
  8. 19:41Function types and returns
  9. 23:32Array and tuple types
  10. 26:00IDE features and tooling
  11. 27:27Linting with TypeScript
  12. 29:11Recap 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.