question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Redis constructor type does not fully express its valid uses

See original GitHub issue

@keyv/redis’s constructor signature does not support passing it a Redis.Cluster or Redis instance which looks like it’s supported based on the implementation

@keyv/redis version 2.3.1

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jaredwraycommented, Apr 12, 2022

@jimmy-guzman - we will get a fix out for this today.

0reactions
jimmy-guzmancommented, Apr 12, 2022

@jaredwray, looks like some code was leftover from the previous attempt Cannot find name 'ClientOpts'.ts(2304)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Redis not working on express-session - node.js - Stack Overflow
Pass the express-session store into connect-redis to create a RedisStore constructor. var session = require('express-session'); var RedisStore = ...
Read more >
express-redis-cache-ee-bug-fix - npm
A module to make Express interact with Redis (create, get, delete). You can automatically cache all your most popular routes in Redis.
Read more >
Allow to specify return type of constructor #27594 - GitHub
If a sole purpose of a class is implementing an interface, then, I think, it seems logical to specify return type of the...
Read more >
Migrating to Apollo Server 4 - Apollo GraphQL Docs
Under the hood, these two options use entirely different logic to do the same thing. To simplify its API, Apollo Server 4 removes...
Read more >
express-redis-cache2 - NPM Package Overview - Socket.dev
Start using Socket to analyze express-redis-cache2 and its 1 ... This library is a fork of express-redis-cache which appears to be no longer ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found