Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

ClientLegacyCommandArguments: LegacyCommandArguments | [...LegacyCommandArguments, ClientLegacyCallback]
ExcludeMappedString<S>: string extends S ? never : S

Type parameters

  • S

InstantiableRedisClient<M, S>: new (options?: RedisClientOptions<M, S>) => RedisClientType<M, S>

Type parameters

Type declaration

RedisClientCommandSignature<Command, Params>: <Options>(...args: Params | [options: Options, rest: Params]) => Promise<ConvertArgumentType<RedisCommandReply<Command>, Options["returnBuffers"] extends true ? Buffer : string>>

Type parameters

  • Command: RedisCommand

  • Params: unknown[] = Parameters<Command["transformArguments"]>

Type declaration

    • <Options>(...args: Params | [options: Options, rest: Params]): Promise<ConvertArgumentType<RedisCommandReply<Command>, Options["returnBuffers"] extends true ? Buffer : string>>
RedisClientType<M, S>: default<M, S> & WithCommands & WithModules<M> & WithScripts<S>

Type parameters

WithModules<M>: { [ P in keyof M as ExcludeMappedString<P>]: { [ C in keyof M[P] as ExcludeMappedString<C>]: RedisClientCommandSignature<M[P][C]> } }

Type parameters

WithScripts<S>: { [ P in keyof S as ExcludeMappedString<P>]: RedisClientCommandSignature<S[P]> }

Type parameters

Generated using TypeDoc