1
0
mirror of https://github.com/redis/node-redis.git synced 2025-12-12 21:21:15 +03:00

fix(ts): xtrim threshold accepts string (#3058)

* fix(ts): xtrim threshold accepts string

* test: check MINID with text id
This commit is contained in:
Manuel Spigolon
2025-08-18 10:22:44 +02:00
committed by GitHub
parent fceb60968e
commit ed6aca7d03
2 changed files with 16 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ export default {
parser: CommandParser,
key: RedisArgument,
strategy: 'MAXLEN' | 'MINID',
threshold: number,
threshold: number | string,
options?: XTrimOptions
) {
parser.push('XTRIM')