~/talk

Typescript for the busy Java developer

Talkat Devnexus 2022 · 2022-04-12..04-14· [typescript]
links:none on file
slides:none on file

Live code demos demonstrate that TypeScript compiles with tsc and tsserver, runs on backend Node, and adds a structural typing system that accepts objects by shape not name. Examples include union types with control-flow type narrowing and type guards, discriminated unions, generics that constrain allowed property keys, and utility types like Omit, Partial, and Readonly to shrink API shapes. A tagged template example shows an SQL tag that builds queries and avoids injection. Recommendations: install via npm or VS Code extension and enable strict for full type checks.

AI-written summary · about

  1. 0:00Intro
  2. 0:50Why Typescript
  3. 1:42About me
  4. 2:47What is Typescript
  5. 4:21Installing Typescript
  6. 4:52Creating a new project
  7. 7:10Structural type system
  8. 9:23Declaring variables
  9. 11:42Types
  10. 13:32Maps
  11. 16:52Aliases
  12. 18:35Intersection
  13. 20:26linters
  14. 20:47functions
  15. 22:46add
  16. 25:34union types
  17. 27:40type guard
  18. 34:35type predicate
  19. 38:34generics
  20. 43:16utility types
  21. 47:50string template
~/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.