~/talk

Lessons Learned Converting Snyk Codebase To TypeScript

Talkat Python Web Conf 2021 · 2021-03-22..03-26· [typescript, developer-experience]
links:none on file
slides:none on file

Snyk converts a large legacy JavaScript estate to TypeScript over 18 months, moving 71 of 200 repos to 100% TS and reaching about 65% TypeScript overall, switching templates and new repos to TS, adding Jest and Prettier, and removing allowJs once the main app is pure. Incremental conversion uses minimal-change PRs, a line-count script for progress, and a custom fork of tap to run tests; incremental compile time and module style changes force repository restructuring.

AI-written summary · about

  1. 0:00Start
  2. 2:41What Is Typescript
  3. 2:55Type Errors
  4. 4:25Union Type
  5. 5:16Union Types
  6. 5:27Intersection Type
  7. 6:51Enums
  8. 8:49Id Integrations
  9. 13:01Rolling Out Typescript
  10. 17:28Keep Track of Our Progress
  11. 20:09Benefits
  12. 20:44Most Dangerous Mistakes
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.