Browse Source

Fix RedisClient import (#2183)

pull/2170/head^2
Thomas Kaul 2 years ago
committed by GitHub
parent
commit
efd9e7a5c7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      apps/api/src/app/redis-cache/interfaces/redis-store.interface.ts

4
apps/api/src/app/redis-cache/interfaces/redis-store.interface.ts

@ -1,8 +1,8 @@
import { Store } from 'cache-manager'; import { Store } from 'cache-manager';
import Redis from 'redis'; import { RedisClient } from 'redis';
export interface RedisStore extends Store { export interface RedisStore extends Store {
getClient: () => Redis.RedisClient; getClient: () => RedisClient;
isCacheableValue: (value: any) => boolean; isCacheableValue: (value: any) => boolean;
name: 'redis'; name: 'redis';
} }

Loading…
Cancel
Save