You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-12-14 09:42:12 +03:00
fix(ts): xtrim threshold accepts string (#2828)
* fix(ts): xtrim threshold accepts string * test: check MINID with text id
This commit is contained in:
@@ -12,7 +12,7 @@ export default {
|
||||
transformArguments(
|
||||
key: RedisArgument,
|
||||
strategy: 'MAXLEN' | 'MINID',
|
||||
threshold: number,
|
||||
threshold: number | string,
|
||||
options?: XTrimOptions
|
||||
) {
|
||||
const args = ['XTRIM', key, strategy];
|
||||
|
||||
Reference in New Issue
Block a user