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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
c |
RedisLike |
Returns
Section titled “Returns”RedisClient<{
}, {
}, {
}, 2, {
}> & WithCommands<2, {
}> & WithModules<{
}, 2, {
}> & WithFunctions<{
}, 2, {
}> & WithScripts<{
}, 2, {
}>