~/talk

How to Inject TypeScript Into Existing Projects

Talkat YGLF 2019: Code Camp · 2019-04-03..04-04· [typescript, developer-experience]
links:none on file
slides:none on file

Concrete migration plan with tools and results: start at the deep end of the dependency graph, convert the shared utility first, and get immediate type coverage; add @types/ packages (for example @types/react and @types/react-dom) and maintain .d.ts files to get IDE signatures without transpiling; use Babel preset-typescript as a stepping stone, then run tsc or switch webpack to awesome-typescript-loader or ts-loader for real compile-time errors; the approach compiles and surfaces type errors while leaving most JS untouched.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17What is TypeScript
  3. 2:05Who has tried TypeScript
  4. 2:31TypeScript is popular
  5. 4:27The learning curve
  6. 4:51Friends or enemies
  7. 5:11Coexistence
  8. 5:48Who is this for
  9. 6:30Example
  10. 8:47Where to Start
  11. 9:15React Example
  12. 9:53Bank Form Example
  13. 10:23Validations
  14. 11:35Phases
  15. 15:12Phase 1 Install Type Definitions
  16. 15:50Visual Studio Code
  17. 16:33NPM Install
  18. 16:45Callback
  19. 17:00Maintain Definition Files
  20. 17:48Example Code
  21. 18:30Definition File
  22. 20:33TypeScript Preset
  23. 21:26Install TypeScript
  24. 21:37TS Configuration File
  25. 21:47Project Configurations
  26. 23:23Importing TS
  27. 23:55Webpack
  28. 24:25Babel Preset
  29. 24:45Compilation Errors
  30. 25:16Type Definition
  31. 25:27Type Security
  32. 26:03TypeScript Compiler
  33. 26:35Relieve Babel Duties
  34. 27:08Webpack Configuration
  35. 27:32TypeSecurity
  36. 27:52Recap
~/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.