N
Nuxt2mo ago
Jure

$fetch is not getting correct type from server endpoint

Shouldn't $fetch get type info from server endpoint? Am I doing something wrong here that type do not match?
No description
No description
3 Replies
Jure
JureOP2mo ago
@manniL / TheAlexLichter 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?
manniL
manniL2mo ago
probably bc of the "return {} early on but not enterily sure w/o repro
Jure
JureOP2mo ago
you are right... thx
Want results from more Discord servers?
Add your server