node-redis
node-redis copied to clipboard
Module '"../../redis/dist"' has no exported member 'RedisClient'.
Hey, When I try to use the library I get the following error: Is there anything that can be done about it? Thanks in advance for the support.
Environment:
- Node.js Version: v16.14.2
- Redis Server Version: Redis server v=7.0.0 sha=00000000:0 malloc=libc bits=64 build=fa9ffba7836907da
- Node Redis Version: [email protected]
- Platform: MacOS 12.3.1
I found this because I couldn't find how to properly type the return from createClient() in the docs. It looks like RedisClientType can be used.
import { RedisClientType } from 'redis';