~/talk

Starting TypeScript Leaving JavaScript as JS

Talkat JSConf JP 2019 · 2019-11-30..12-01· [typescript, javascript]
links:none on file
slides:none on file

Shows how to run the TypeScript compiler on plain .js projects using --allowJs and --checkJs, add types via JSDoc comments, and get real IDE benefits like VS Code rename/refactor and autocomplete. Demonstrates a tsconfig with emit turned on, how tsc surfaces wrong argument types and enables project‑wide safe renames, and reports that this incremental setup works on real codebases while noting limits (no full generics, more verbose annotations).

AI-written summary · about

  1. 0:00Introduction
  2. 8:51TypeScript benefits for JS devs
  3. 13:30TypeScript advantages demo
  4. 19:06Refactoring with TypeScript
  5. 23:59Compiler setup guide
  6. 27:52Type annotations basics
  7. 31:55Utility types and tips
  8. 35:11Limitations and conclusion
~/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.