From 0715fe6809af42ba0996c9d0d30529c887e17fc1 Mon Sep 17 00:00:00 2001 From: zzy Date: Mon, 22 Mar 2021 13:39:03 +0800 Subject: [PATCH] 1.3.3 --- dist/redis.interface.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/redis.interface.d.ts b/dist/redis.interface.d.ts index 2d0bbe1..3314dd2 100644 --- a/dist/redis.interface.d.ts +++ b/dist/redis.interface.d.ts @@ -3,7 +3,7 @@ import { Redis, RedisOptions } from 'ioredis'; export interface RedisModuleOptions extends RedisOptions { name?: string; url?: string; - onClientReady?(client: Redis): Promise; + onClientReady?(client: Redis): void; } export interface RedisModuleAsyncOptions extends Pick { useFactory?: (...args: any[]) => RedisModuleOptions | RedisModuleOptions[] | Promise | Promise;