From a16ba6bc0616a2ad9c4cced639241cfb7e85f68e Mon Sep 17 00:00:00 2001 From: Andreas Thomas Date: Tue, 22 Mar 2022 22:27:57 +0100 Subject: [PATCH] fix: change return type of `exists` to number (#48) --- pkg/commands/exists.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/exists.ts b/pkg/commands/exists.ts index c5794ef4..d209a88e 100644 --- a/pkg/commands/exists.ts +++ b/pkg/commands/exists.ts @@ -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 { constructor(...keys: NonEmptyArray) { super(["exists", ...keys]) }