News for hackers. Stuff that matters.
Re:Custom useFetch wrapper for Nuxt with type inferences and... by toonewbie on Wednesday March 27, 2024 @08:55PM (#39846565)
The 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...

There are no comments on this comment yet.