Typescript stories - Generics vs Union types
Nov 8, 2024 · 4 min read · This will be a quick and more “back-to-basics” kind of article. While doing some small refactoring, I stumbled across a situation where I had to pass an object, but the shape of the object is completely different depending on the component using that...
SSoothfy commented




