Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Get api return type to use with component prop - Nuxt
N
Nuxt
•
8mo ago
•
7 replies
bnason
Get api return type to use with component prop
Is there a way to get the return type of an api endpoint to use with defineProps
? I know I can pull it out when I use
$fetch or useFetch
, but that won
't work with the props
.
Nuxt
Join
Nuxt Community Chat Server
31,665
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Get return type from api route?
N
Nuxt / ❓・help
2y ago
How to return/render a Page/Component through API call?
N
Nuxt / ❓・help
2y ago