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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hey everyone, I'm having some trouble using ioredis and typescript. Initializing the cache like below will give me the following type error:
import Redis from 'ioredis'; export const cache = apicache.options({ redisClient: new Redis(process.env.REDIS_URL), }).middleware;
Type 'Redis' is missing the following properties from type 'RedisClient': connected, command_queue_length....
Any thoughts on what I'm doing wrong? Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey everyone,
I'm having some trouble using ioredis and typescript. Initializing the cache like below will give me the following type error:
Type 'Redis' is missing the following properties from type 'RedisClient': connected, command_queue_length....
Any thoughts on what I'm doing wrong? Thanks!
The text was updated successfully, but these errors were encountered: