Skip to content

Commit

Permalink
fix: change return type of exists to number (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark authored Mar 22, 2022
1 parent 1cef378 commit a16ba6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commands/exists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Command } from "./command"
/**
* @see https://redis.io/commands/exists
*/
export class ExistsCommand extends Command<0 | 1, "0" | "1"> {
export class ExistsCommand extends Command<number, number> {
constructor(...keys: NonEmptyArray<string>) {
super(["exists", ...keys])
}
Expand Down

0 comments on commit a16ba6b

Please sign in to comment.