Get types of return value from trpc api call

For some reason in this new project when I get say the type of data I'm passing into useQuery is undefined it's actually expecting what would be the response of the function?

Does anyone have any idea why, this works in other projects and I've used this consistently.
image.png
Solution
RouterOutput["discord"]["getUserTeams"]
Was this page helpful?