Skip to content

Commit

Permalink
fix: typings of config for multi cluster clients (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
taosher authored Jan 19, 2025
1 parent 8b16fd6 commit 511c75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface EggRedisOptions {
app?: boolean;
agent?: boolean;
client?: ClusterOptions;
clients?: Record<string, RedisOptions>;
clients?: Record<string, RedisOptions | ClusterOptions>;
}

declare module 'egg' {
Expand Down

0 comments on commit 511c75c

Please sign in to comment.