Distributive conditionals are a deep topic in the realm of advanced TypeScript. It's the sort of thing you maybe have tripped over it before, even without knowing it! This video is just the beginning, we're going to see this topic come up a lot in future Theorycraft episodes, so let us know what you want to hear about next!
0:00 what are distributive conditionals in TypeScript's type system?
1:32 factoring out DistributiveConditional
4:08 factoring out NonDistributiveConditional
6:25 conclusion
7:43 we're doing more of these! let us know what you want!
Twitter: / mitypescript
Mastodon: https://fosstodon.org/@MichiganTypeSc...
BlueSky: https://bsky.app/profile/michigantype...
Threads: https://www.threads.net/@michigantype...
Instagram: / michigantypescript
TikTok: / michigantypescript
Discord: https://discord.michigantypescript.com
GitHub: https://github.com/MichiganTypeScript
SoundCloud: / michigan-typescript