#$fetch is not getting correct type from server endpoint

5 messages · Page 1 of 1 (latest)

sleek horizon
#

Shouldn't $fetch get type info from server endpoint?
Am I doing something wrong here that type do not match?

#

@brazen orbit please help if you can 🙂

#

One of the best Nuxt 3 features is that it can infer types from server routes... but I think that there are constantly issues with this. Or am I doing something wrong?

brazen orbit
#

probably bc of the "return {} early on

#

but not enterily sure w/o repro