~/talk

TypeScript for APIs

Talkat JSWorld Conference 2021 · 2021-02-22..02-27· [typescript]
slides:none on file

TypeScript powers definition files (.d.ts) that give JavaScript packages real editor intellisense (VS Code uses them even for plain JS), and community types live in DefinitelyTyped/@types installable from npm (aka.ms/types helps find them). typedoc generates HTML docs from types and comments. OpenAPI/Swagger tooling (swagger-express-mw, nswag) auto-generates client SDKs across languages and server stubs from specs. GraphQL with Apollo generates TypeScript types from schemas and often replaces dozens of REST endpoints with a single typed query surface.

AI-written summary · about

  1. 0:00Introduction
  2. 0:55What is TypeScript
  3. 3:47Why TypeScript
  4. 5:16Definition Files
  5. 6:59Intellisense
  6. 9:01DefinitelyTyped
  7. 11:32TypeDoc
  8. 15:14OpenAPI
  9. 17:05Swagger
  10. 22:11REST
  11. 26:20GraphQL
  12. 27:53GraphQL vs TypeScript
  13. 30:36GraphQL Cons
  14. 31:54Recap
~/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.