mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
feature: more typings, refactor
This commit is contained in:
@@ -89,7 +89,8 @@ export class ClientRedis extends ClientProxy {
|
||||
}
|
||||
|
||||
public getClientOptions(error$: Subject<Error>): Partial<ClientOpts> {
|
||||
const retry_strategy = options => this.createRetryStrategy(options, error$);
|
||||
const retry_strategy = (options: RetryStrategyOptions) =>
|
||||
this.createRetryStrategy(options, error$);
|
||||
return {
|
||||
retry_strategy,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user