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

[Request] export RedisStatus type, so it can be used outside the package #1880

Open
roman-supy-io opened this issue Apr 15, 2024 · 0 comments

Comments

@roman-supy-io
Copy link

We currently do not have access to RediusStatus because it's not exported.

For this you either need to re-define it or use a dirty trick like:
export type RedisStatus = typeof Redis.Cluster.prototype.status;

Both are equally awful solutions.

The request is to make RedisStatus exported from the package.

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

1 participant