~/talk

TypeScript for JavaScripties

Talkat CityJS Athens 2023 · on Tuesday, 2023-05-30· [typescript, javascript]
slides:none on file

Explains why TypeScript exists and what it actually enforces: how union types and literal types let a variable be exactly specified, how type narrowing and discriminated unions let conditionals safely unlock fields, and how strict null/undefined checking prevents the “billion dollar mistake.” Shows real tooling wins: the TypeScript language server enabling safe renames and import updates, and type-aware linting via await-thenable rule and typescript-eslint that finds and auto-fixes risky awaits and dead state.

AI-written summary · about

  1. 0:00Start
  2. 5:27TypeScript is Four Things
  3. 7:12The Type System
  4. 11:21Union Type Annotations
  5. 11:45Narrowing
  6. 15:01Object Types
  7. 15:24Object Type Annotations
~/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.