redis / ioredis

🚀 A robust, performance-focused, and full-featured Redis client for Node.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

roman-supy-io opened this issue · comments

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.