My talk from tsconf 2021, TypeScript Types: The First 500 Years, is up on YouTube (slides here). Check it out!
The talk tries to answer the question "what is a type?" It seems simple but it's actually quite tricky! The talk explains how sets can be built constructively ("A" | "B" | "C"
), but that the more common approach in TypeScript is best thought of as a subtractive process, where you start from the raw, undifferentiated unknown
type and then whittle your way down:
It then talks about how TypeScript has given us the ability to "carve" out finer and finer details in our types over time, and how that lets us capture more and more errors in our code.
Overall I'm happy with how the talk turned out. Let me know what you think! All the tsconf 2021 talks are online now. The Anders keynote is always a highlight.