TypeScript Generic Object Types
While building a TypeScript project, I got a requirement where I had to handle different types of user profiles depending on the user’s state. Each profile had common fields but also unique details like beach preferences for California or BBQ choices for Texas. To handle this in a better way, I used TypeScript generic object … Read more >>