~/talk

An Introduction to dtslint

Talkat TSConf 2019 · on Friday, 2019-10-11· [typescript]
slides:none on file

dtslint checks exact hover-string types by special comments like $ExpectType and $ExpectError and flags mismatches (including unexpected any). It runs over DefinitelyTyped, finds that only a minority of ~6k packages have assertions but the count is rising, and that many previous lodash issues now type correctly. It reports failures (union order can produce false positives) and supports multiple expected alternatives, making it practical for package and book examples.

AI-written summary · about

  1. 0:00Intro
  2. 2:30Type Safety
  3. 6:16High Quality
  4. 8:23Type Declarations
  5. 13:08Subsets
  6. 13:34Conditional Types
  7. 15:00Any Types
  8. 16:33Testing Type Declarations
  9. 17:48Expect Type
  10. 19:51Effective Typescript
  11. 21:19Expected Type
  12. 22:51literate TS
  13. 24:35Questions
~/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.