chore: update ioredis to v5

This commit is contained in:
Innei
2022-04-05 15:31:21 +08:00
parent e7548e08c0
commit 47c6ab83c2
6 changed files with 45 additions and 51 deletions

View File

@@ -1,9 +1,10 @@
import IORedis from 'ioredis'
import IORedis, { Redis } from 'ioredis'
import RedisMemoryServer from 'redis-memory-server'
import { CacheService } from '~/processors/cache/cache.service'
export class MockCacheService {
private client: IORedis.Redis
private client: Redis
constructor(port: number, host: string) {
this.client = new IORedis(port, host)
}