Skip to content

Commit

Permalink
Correct return type for Redis.quit()
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Oct 3, 2020
1 parent 534019c commit c32d62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/mock-ioredis.ts
Expand Up @@ -45,7 +45,7 @@ export class MockIORedis extends IORedis {
this.connected = false
}

quit(): Promise<string> {
quit(): Promise<"OK"> {
this.disconnect()
return Promise.resolve("OK")
}
Expand Down

0 comments on commit c32d62c

Please sign in to comment.