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

rp

04/16/2021, 9:03 PM
@ZeferiniX to get the types, you can do:
Copy code
js
import {SessionContainer} from "supertokens-node/recipe/session";

console.log("userId", (req.session as SessionContainer).getUserId()