https://supertokens.com/ logo
#support-questions
Title
# support-questions
r

rp

05/03/2021, 6:39 PM
@User You can type the req object in the following way:
Copy code
import { SessionContainer } from "supertokens-node/recipe/session";
import { Response, Request } from "express";

app.post("...", Session.verifySession(), (req: Request & {session: SessionContainer} , res: Response) => {
    let session = req.session;
})