Interface for defining available Redis connections. This is augmented by users to provide type-safe connection access.
declare module '@adonisjs/redis/types' { interface RedisConnections { main: RedisConnectionConfig cache: RedisConnectionConfig cluster: RedisClusterConnectionConfig }} Copy
declare module '@adonisjs/redis/types' { interface RedisConnections { main: RedisConnectionConfig cache: RedisConnectionConfig cluster: RedisClusterConnectionConfig }}
Interface for defining available Redis connections. This is augmented by users to provide type-safe connection access.
Example