1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

fix tsbuild (#2307)

* fix tsbuild

* fix tsbuild

* fix tsbuild
This commit is contained in:
Leibale Eidelman
2022-10-26 15:32:19 -04:00
committed by GitHub
parent 72c0e7bf67
commit 0abd950f03
2 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
import { ClientCommandOptions } from './client';
import { CommandOptions, isCommandOptions } from './command-options';
import { RedisCommand, RedisCommandArgument, RedisCommandArguments, RedisCommandReply, RedisFunction, RedisFunctions, RedisModules, RedisScript, RedisScripts } from './commands';
@@ -103,7 +104,7 @@ function attachWithNamespaces<C extends RedisCommand>({
return Commander;
}
export function transformCommandArguments<T>(
export function transformCommandArguments<T = ClientCommandOptions>(
command: RedisCommand,
args: Array<unknown>
): {