Handle objects with properties that can be of multiple types in Angular
I’m trying to build a search screen that uses tabs to switch between different input methods but I’m running into a Typescript error because my base object allows multiple types whereas my custom input component doesn’t. In the parent component I have an array of objects of type Tab to define all the tabs export… Read More Handle objects with properties that can be of multiple types in Angular