nkowaokwu / igbo-api-admin

Data entry platform for the Igbo API.
https://editor.igboapi.com
Apache License 2.0
8 stars 20 forks source link

Provide `T` type for each usages of `request` #504

Open ijemmao opened 10 months ago

ijemmao commented 10 months ago

Is your feature request related to a problem? Please describe. There is a custom method request that handles the generic type <T = any> which means that it's an optional generic that doesn't need to be specified by the user of the method.

Describe the solution you'd like Change <T = any> to <T> and then for all uses of the request method, provide the expected request return type that the consumer of the wrapper method is expecting.

Describe alternatives you've considered N/A

Additional context N/A