~/talk

Typescript - a necessity front-end tool

Talkat JSCAMP Virtual 2021 · 2021-07-15..07-16· [typescript, frontend-architecture]
slides:none on file

Claim: Typescript cuts unit-test surface by about 10–20% by catching nullability and type mismatches earlier. Practical steps include installing and running tsc, using tsc --watch, creating tsconfig with strictNullChecks, compiling test.ts to test.js, and adding @types (example @types/react) or custom .d.ts files. Demos show VS Code intellisense improvement, union types and interfaces for props, and successful compilation and incremental builds that prevent many integration regressions.

AI-written summary · about

  1. 0:00Start
  2. 4:29Reduces number of unit tests
  3. 5:42Helps with regression
  4. 7:51How to run TypeScript! Step 1
  5. 11:34Updated Config File
  6. 14:10notNullable checks
  7. 23:37Advance Types
  8. 25:25Casting
  9. 26:15Custom Lib Support
~/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.