Writing a wrapper for useFetch
Hey!
We'd like to write some helper wrappers for useFetch (for example to call Ghost CMS endpoints for posts, or pages, all with their own composable abstracted.
I'm wondering how do you correctly type the fetch options? I just want to pass the type through
We'd like to write some helper wrappers for useFetch (for example to call Ghost CMS endpoints for posts, or pages, all with their own composable abstracted.
I'm wondering how do you correctly type the fetch options? I just want to pass the type through