New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript errors when defining custom session store #234
Comments
Hi @urbanhusky - thanks for raising this, we'll take a look at it before the next release. In the meantime, please continue to use the workaround you described |
I had this same issue with PrismaSessionStore; I solved it by using a type assertion to the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇♂️ |
I'm running into this issue too with Redis, any update? |
I'm not involved with the project, but in case my previous comment wasn't detailed enough, I think this is the best workaround until they have a fix (for this example, I use the PrismaSessionStore by https://github.com/kleydon/prisma-session-store):
|
I'm not sure which dependency changing broke my workaround, but I do now have to use |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇♂️ |
I'm trying to use a custom session store, but I get TypeScript errors.
I can circumvent this error by casting
MemoryStore
toany
, but that's not really a solution.The text was updated successfully, but these errors were encountered: