Skip to content

Commit b412078

Browse files
authored
Merge pull request #507 from fabrykowski/master
feat: prepare for ioredis v5
2 parents f10d1e6 + d8fdf73 commit b412078

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/redis-pubsub.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Cluster, Ok, Redis, RedisOptions} from 'ioredis';
1+
import {Cluster, Redis, RedisOptions} from 'ioredis';
22
import {PubSubEngine} from 'graphql-subscriptions';
33
import {PubSubAsyncIterator} from './pubsub-async-iterator';
44

@@ -152,7 +152,7 @@ export class RedisPubSub implements PubSubEngine {
152152
return this.redisPublisher;
153153
}
154154

155-
public close(): Promise<Ok[]> {
155+
public close(): Promise<'OK'[]> {
156156
return Promise.all([
157157
this.redisPublisher.quit(),
158158
this.redisSubscriber.quit(),

0 commit comments

Comments
 (0)