~/talk

Make your TypeScript compiler smarter!

Talkat dotJS 2017 · on Friday, 2017-12-01· [typescript, developer-experience]
slides:none on file

A small linter plugin is built that extends the TypeScript Language Service by overriding language-service methods, walks the AST and enforces the concrete rule that any variable name starting with "is" must have a boolean value, reporting errors when assigned non-boolean expressions. It runs inside the TS server, installs via npm/yarn/mpn link and plugs into tsconfig plugins, works in VS Code/Atom/Vim because it runs at compiler level, and offers hooks for quick fixes; source on GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 0:20TypeScript is awesome
  3. 1:02Language Service
  4. 1:30TS Server
  5. 2:03Abstract syntax tree
  6. 2:50Recursive debugging
  7. 3:23Result
~/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.