You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm messing around with this library, and realized that res from the example shows up as any for me. Any idea why? See below:
EDIT: The reason I'm asking is because I'd like to set a response cookie. I'm trying to create a tRPC procedure for logging in, and therefore I need to set a cookie. :)
The text was updated successfully, but these errors were encountered:
Hi @anton-johansson, would you be able to paste a code snippet with more context, including how you are importing CreateTrpcKoaContextOptions? CreateTrpcKoaContextOptions was added in trpc-koa-adapter version 1.1.2. I tested against this locally and it is typed as expected when doing import { CreateTrpcKoaContextOptions } from 'trpc-koa-adapter';
Hey!
I'm messing around with this library, and realized that
res
from the example shows up asany
for me. Any idea why? See below:EDIT: The reason I'm asking is because I'd like to set a response cookie. I'm trying to create a tRPC procedure for logging in, and therefore I need to set a cookie. :)
The text was updated successfully, but these errors were encountered: