Login
From:
oida.dev | TypeScript, Rust
(Uncensored)
subscribe
TypeScript: Union to intersection type
https://oida.dev/typescript-union-to-intersection/
links
backlinks
Roast topics
Find topics
Find it!
Recently, I had to convert a union type into an intersection type. Working on a helper type UnionToIntersection<T> has taught me a ton of things on conditional types and strict function types, which I want to share with you.