Infer query type of `data`
Using trpc version 11, how can I infer
data
?
Are there any utils on doing so? I've seen export type PatientData = inferRouterOutputs<ApiRouter>;
but it doesn't work
any help?1 Reply
this worked