From dd576e1a6798608ec6098e0b9cbd70592d9188ce Mon Sep 17 00:00:00 2001 From: Tyler Cosgrove Date: Thu, 28 Mar 2024 14:19:46 -0400 Subject: [PATCH] fix `.time` return type to match actual values The `TIME` command returns as a two item list. https://redis.io/commands/time/ --- bin/returnTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/returnTypes.js b/bin/returnTypes.js index 346b6610..3e41a626 100644 --- a/bin/returnTypes.js +++ b/bin/returnTypes.js @@ -271,7 +271,7 @@ module.exports = { sunion: "string[]", sunionstore: "number", swapdb: "'OK'", - time: "number[]", + time: "[string, string]", touch: "number", ttl: "number", type: "string",