~/talk

JavaScript That Scales

TalkinRussianat RS Conf 2019 · 2019-08-09..08-11· [typescript, javascript]
links:none on file
slides:none on file

A practical report on migrating a JavaScript codebase to 90% TypeScript within a year using concrete tools: a test-silent script that runs tsc and filters ignored diagnostics, temporary marker types to mark and later remove difficult type gaps, and custom .d.ts overrides. It also covers CSS .d.ts generation for class-name autocomplete and dead-CSS checking, Jest mocks typed via typeof imports, custom ESLint rules based on AST queries, and an error-count graph tracking per-directory compiler faults toward zero.

AI-written summary · about

  1. 0:00TypeScript migration intro
  2. 3:16Gradual migration config
  3. 7:28Error handling assertions
  4. 10:41Type testing validation
  5. 12:26Typing external libs
  6. 15:13Custom ESLint AST rules
  7. 18:05Custom d.ts files
  8. 19:49Removing global window
  9. 21:57Fixing JS methods
  10. 22:41CSS modules typing
  11. 25:34Q&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.