Custom useFetch wrapper for Nuxt with type inferences and autocomplete
barish.meThe custom useFetch wrapper in Nuxt docs [1] will not allow autocomplete and type infers for APIs written with Nitro. I worked around it using type gymnastics.
[1] https://nuxt.com/docs/examples/advanced/use-custom-fetch-com...