Skip to content

Commit

Permalink
fix: redis: allow null return from set
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkvak committed Nov 17, 2020
1 parent 04f0b47 commit 12a93dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/RedisStorageAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface Redis extends EventEmitter {
expiryMode?: string,
time?: number | string,
setMode?: number | string
): Promise<string>;
): Promise<"OK" | null>;

mget(...keys: string[]): Promise<Array<string | null>>;

Expand Down

0 comments on commit 12a93dd

Please sign in to comment.