NuxtN
Nuxt2y ago
5 replies
Nenad Novakovic

Get return type from api route?

Is it possible to get the return type (assuming it's generated by Nuxt) so that I can use it as a type of something else?

Fetch utils know about the return type, but I want to access it directly. How?
Was this page helpful?