Trying to follow https://supertokens.com/docs/auth...
# support-questions-legacy
t
Trying to follow https://supertokens.com/docs/auth-react/session/session-auth it worked w/ regular js but switching to ts I'm getting error
Property 'doesSessionExist' does not exist on type 'SessionContextType'.
Any idea how to resolve?
r
Hey @t3ddy7509 you need to first check if sessionContext.loading. And if not, only then can you do sessionContext.doesSessionExist
6 Views