We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm importing the module like so import connectRedis from 'connect-redis';
import connectRedis from 'connect-redis';
and then I try const RedisStore = connectRedis(session);
const RedisStore = connectRedis(session);
which gives me the error TypeError: (0 , import_connect_redis.default) is not a function
TypeError: (0 , import_connect_redis.default) is not a function
When I use version 5.0.0, the error goes away. I'm using typscript btw, if that makes a difference.
The text was updated successfully, but these errors were encountered:
Hey @farhadzaidi , see https://github.com/tj/connect-redis?tab=readme-ov-file#importing for current version import instructions.
Sorry, something went wrong.
No branches or pull requests
I'm importing the module like so
import connectRedis from 'connect-redis';
and then I try
const RedisStore = connectRedis(session);
which gives me the error
TypeError: (0 , import_connect_redis.default) is not a function
When I use version 5.0.0, the error goes away. I'm using typscript btw, if that makes a difference.
The text was updated successfully, but these errors were encountered: