We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fc79bd commit a42b7fbCopy full SHA for a42b7fb
packages/client/lib/commands/XTRIM.ts
@@ -10,7 +10,7 @@ interface XTrimOptions {
10
export function transformArguments(
11
key: RedisCommandArgument,
12
strategy: 'MAXLEN' | 'MINID',
13
- threshold: number,
+ threshold: number | string,
14
options?: XTrimOptions
15
): RedisCommandArguments {
16
const args = ['XTRIM', key, strategy];
0 commit comments