I\'ve created a reusable function using generics that fetches data so every response matches the specified type. How can I implement a generic return type for this function