Skip to content

asRedisClient

function asRedisClient(c): RedisClient<{
}, {
}, {
}, 2, {
}> & WithCommands<2, {
}> & WithModules<{
}, 2, {
}> & WithFunctions<{
}, 2, {
}> & WithScripts<{
}, 2, {
}>;

Defined in: src/storage/testing/fake-redis.ts:174

Cast a fake to the client option type of the redis driver factories.

Parameter Type
c RedisLike

RedisClient<{ }, { }, { }, 2, { }> & WithCommands<2, { }> & WithModules<{ }, 2, { }> & WithFunctions<{ }, 2, { }> & WithScripts<{ }, 2, { }>