TS(2742) error when trying to create client
NPM with Node v18.16.1.
I get the following error when trying to create a client. I've imported all server-related things. AppRouter is:

3 Replies
ignore my deleted msg, i didn't see
ReturnType<>
.
but still, i think that's fishy.
what does createRouter
look like?Let me see;
This is in server
And here's the code snippet in
client
for creating the client:
Not sure what's causing it
@functiondj I managed to fix this, but I'm getting another strange issue now
For some reason the call works fine when I do it via TRPCPanel, but not from my front-end to the backend
Gives me a 404 for some odd reason;
and it does character.get?batch=1&input={}
on the front-end
while on panel it does character.get?batch=1&input={"0": {}}
. Not sure if that matters
I get Cannot GET /character.get
I fixed it👍