SansPapyrus683
is there a better way to do this?
so i have a component that renders a post list according to varying api calls
however, this requires the two
ts-ignore
at the bottom.
is there a way to tell ts that the two api calls result in the exact same type?3 replies
trying to understand how this works
so i'm looking at the t3 template that was made for me, and there seems to be a
trpc
folder that creates the trpc proxy client and such along with server/api
which actually defines the method
in that case, what's the use for the api route? it seems to me like i'm initialiting trpc twice, basically2 replies