You've already forked node-redis
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:
@@ -37,7 +37,7 @@ export default {
|
||||
parser: CommandParser,
|
||||
key: RedisArgument,
|
||||
strategy: 'MAXLEN' | 'MINID',
|
||||
threshold: number,
|
||||
threshold: number | string,
|
||||
options?: XTrimOptions
|
||||
) {
|
||||
parser.push('XTRIM')
|
||||
|
||||
Reference in New Issue
Block a user