~/talk

Don't Break the Contract: Keep Consistency with Full Stack Type Safety

Talkat TSConf 2019 · on Friday, 2019-10-11· [typescript, devops-and-delivery]
slides:none on file

Argues that sharing a single shared-types module and using TypeScript project references makes API contracts the compiler’s problem: client, server and tests compile against the same types, the build fails when interfaces diverge, and incremental builds avoid republishing packages. Demonstrates a monorepo with client/server/typed-contract, shows compiler errors surfacing mismatches, and mentions toolchains that emit TypeScript from Haskell/Scala so cross-language systems can adopt the same approach.

AI-written summary · about

  1. 0:00Start
  2. 0:49Service-Oriented Architecture
  3. 3:42Integration Test
  4. 4:33Integration Tests Are Expensive
  5. 7:17Project Reference
  6. 10:46Types Are the Single Source of Truth
  7. 11:14How To Refine a Small Contract
  8. 14:12Logical Separation between Components
  9. 15:04Package Personing
~/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.