Skip to content

Commit 280e750

Browse files
committed
fix(ts): xtrim threshold accepts string
1 parent 949b944 commit 280e750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client/lib/commands/XTRIM.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default {
1212
transformArguments(
1313
key: RedisArgument,
1414
strategy: 'MAXLEN' | 'MINID',
15-
threshold: number,
15+
threshold: number | string,
1616
options?: XTrimOptions
1717
) {
1818
const args = ['XTRIM', key, strategy];

0 commit comments

Comments
 (0)