MBMarina Baskovainnocd.hashnode.dev·Oct 11, 2022 · 4 min readUser Defined Type GuardsImagine that you have a transportation array. Our array will have car and plane objects in it. Our task will be to add a type to our array and print car emoji or a plane emoji in our UI. Let's create an array and add types for it. interface Car { h...00