dj0024javiaD
tRPC3y ago
3 replies
dj0024javia

JWT Token is type "never" in frontend.??!!

TRPC Backend is sending JWT Token as string but frontend is reading it as type "never".
I am using transformer: superjson on both BE and FE.

if i typecast it manually "as string" then it shows correct type.

Can someone please confirm if this is an issue or not?

Environment -> Node 16.
image.png
image.png
Was this page helpful?