~/talk

Magical TypeScript features and how they help projects like NgRx

Talkat NG Poland 2020 · 2020-11-18..11-19· [typescript]
slides:none on file

TypeScript 3.7 and later features get applied to NgRx v8 to cut boilerplate and enforce correct usage: optional chaining adoption, strict mode with compilerOptions.strict=true, and built‑in conditional types like Exclude/NonNullable remove runtime surprises. createEffect’s config (dispatch true|false) actually controls the function’s inferred return type so wrong mappings fail at compile time, and createAction returns callable objects while forbidding user payloads from using the reserved type property.

AI-written summary · about

  1. 0:00Start
  2. 3:26Generics
  3. 5:31Union & Intersection
  4. 12:22Type inference in conditional types
  5. 14:12@Effect
~/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.