~/talk

TypeScript - Beyond the Basics

Talkat NDC Sydney 2019 · 2019-10-14..10-18· [typescript]
links:none on file
slides:none on file

Covers concrete TypeScript techniques: using generics for type-safe collections, combining classes with intersection types and a runtime mixin function that copies prototypes (example creates a billable+programmer object and works with VS Code intellisense), modeling failure as a Union type programmer|lookupFailed and distinguishing cases with type guards, demos run with TS-Jest, and the reminder that type safety exists at compile time only because emitted JavaScript is plain arrays and objects.

AI-written summary · about

  1. 0:00Introduction
  2. 4:19Datatypes
  3. 6:23Generics
  4. 10:51Inheritance
  5. 12:39Composition Over Inheritance
  6. 13:21Intersection Types
  7. 20:08Visual Studio Code
  8. 22:39Union Types
  9. 23:53Union Types Example
  10. 31:36Type Guard
  11. 34:24Alternative Solution
  12. 42:33String literals
  13. 43:32String literals vs enumerations
  14. 48:12Wrapping up
  15. 49:40Outro
~/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.