Hey! It might be a far fetch, but sometimes, one nitro endpoint calls another one via $fetch (e.g. a Nuxt server route calling an API endpoint). Would it be possible to achieve $fetch type-support here too?
Opening in this repo instead of the nuxt framework repo because it could be supported for all nitro setups.
Describe the feature
Hey! It might be a far fetch, but sometimes, one nitro endpoint calls another one via
$fetch
(e.g. a Nuxt server route calling an API endpoint). Would it be possible to achieve$fetch
type-support here too?Opening in this repo instead of the nuxt framework repo because it could be supported for all nitro setups.
https://stackblitz.com/edit/unjsnitroissues646?file=routes%2Findex.ts,routes%2Fabout.ts
Additional information