alan the guy
04/23/2022, 2:36 PMreq
and res
to any
, is there any way so that I can still use Next.js API types?
The tutorial: https://supertokens.com/docs/emailpassword/nextjs/session-verification/in-apirp_st
04/23/2022, 2:40 PMrp_st
04/23/2022, 2:41 PMts
await superTokensNextWrapper(
async (next) => {
return await verifySession()(req as any, res as any, next)
},
req, res
)
alan the guy
04/23/2022, 2:43 PM