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

Unable to use ioredis in an ESNext module #1895

Open
khemebuen opened this issue May 26, 2024 · 1 comment
Open

Unable to use ioredis in an ESNext module #1895

khemebuen opened this issue May 26, 2024 · 1 comment

Comments

@khemebuen
Copy link

I used npx tdx to create a node package. When I add ioredis and use the redis.hgetall command, upon build I get a typescript Error semantic error TS2339: Property 'hgetall' does not exist on type 'Redis'.

@JatSh1804
Copy link

Mp you'll have to use correct Import statement for ESNext module.

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

No branches or pull requests

2 participants