tRPC react-query TypeError

Hi. I'm getting a strange error in trpc/server.ts line 27 (screenshot 2). The error comes from @tprc/react-query/rsc. Should this happen? From what I understand from the internal code of rsc, if AnyRouter extends TRouter, caller should be of type TypeError, else caller should be of type Caller<TRouter>. Shouldn't it be the other way around? I couldn't find anything useful in react-query docs. I'm using the App Router.
No description
No description
Solution:
SOLVED (not really, but let's say it is): Resetting TS and ESLint didn't work, but apparently closing VSCode and opening it again did.
Jump to solution
1 Reply
Solution
yanuu :)
yanuu :)3mo ago
SOLVED (not really, but let's say it is): Resetting TS and ESLint didn't work, but apparently closing VSCode and opening it again did.
Want results from more Discord servers?
Add your server