redis / ioredis

🚀 A robust, performance-focused, and full-featured Redis client for Node.js.
MIT License
14.31k stars 1.19k forks source link

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

Open roman-supy-io opened 5 months ago

roman-supy-io commented 5 months ago

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.