Skip to content
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

fix: added better typescript support #481

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Gabefire
Copy link

Added generics to methods and centralized express-session declaration

  • Bug fix: Added generics to some methods to handle custom session data, cleaned up some any types, and centralized express-session declaration to avoid any typing

  • Currently using type any to bypass a lot of type-checking

  • Increase typescript support and allow users to provide custom session types. They can also keep it at any or keep code as SessionData

  • Modified test cases with typing

  • Updated changelog

Added generics to methods and centralized express-session declaration
modified CHANGELOG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant