Types Beyond TypeScript
summary
Argues that types are an information glue and that TypeScript types do not exist at runtime, so schema libraries like Zod and RPC/generation tools such as tRPC and GraphQL let one share a single schema to validate and infer types across client and server; shows lint rules (await-thenable) removing useless awaits and trimming a third of example code; highlights Type Chat for feeding type errors back to LLMs and a TypeScript port to Go claiming ~10x speed; notes the TC39 types-as-comments proposal is years away.
AI-written summary · about
chapters (12)
- 0:00Introduction and welcome
- 1:48What are types and why care
- 3:54Types beyond TypeScript explained
- 7:00What types can't do
- 9:06Types informed by values
- 9:26Schema validation libraries
- 12:17TRPC GraphQL and OpenAPI
- 15:06Typed linting benefits
- 18:56AI code with type checking
- 21:00Upcoming TypeScript improvements
- 23:28Native speed TypeScript
- 24:30Summary and closing
