~/talk

TypeScript: Static types for JavaScript

Talkat ICFP 2023 · 2023-09-04..09-09· [typescript]
slides:none on file

Adds a static, erasable type layer to JavaScript that compiles back to plain JS, ships since October 2012, and now ranks in the top five languages on GitHub; enables editor features by implementing the TypeScript compiler as a language service used by VS Code, uses erasable types so runtime is unchanged, and supports union and intersection types, literal types, generics, JSDoc input, declaration files and a strict mode. The type system is gradual, structural, Turing‑complete in types (so a turtle limiter and heuristics throttle complexity) and has driven wide framework adoption.

AI-written summary · about

  1. 0:00TypeScript introduction
  2. 3:11Why TypeScript for JS
  3. 8:33Design principles
  4. 14:12Gradual typing and 'any'
  5. 21:47Structural vs nominal typing
  6. 25:21Union and literal types
  7. 31:27Discriminated unions analysis
  8. 37:08Indexing with unions and generics
  9. 42:58Conditional types
  10. 47:35Tuple types and higher-order functions
  11. 51:53TypeScript success and future
  12. 54:42Q&A
~/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.