0
0

Fix ioredis import typo (#9099)

* Fix import typo

* Fix type
This commit is contained in:
Takuya Yoshida 2022-09-21 10:12:18 +09:00 committed by GitHub
parent 8583b96402
commit 2e0075e79c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
import { Inject, Injectable } from '@nestjs/common';
import { Redis } from 'ioredis';
import Redis from 'ioredis';
import Router from '@koa/router';
import { OAuth2 } from 'oauth';
import { v4 as uuid } from 'uuid';
@ -22,7 +22,7 @@ export class DiscordServerService {
private config: Config,
@Inject(DI.redis)
private redisClient: Redis,
private redisClient: Redis.Redis,
@Inject(DI.usersRepository)
private usersRepository: UsersRepository,

View File

@ -1,5 +1,5 @@
import { Inject, Injectable } from '@nestjs/common';
import { Redis } from 'ioredis';
import Redis from 'ioredis';
import Router from '@koa/router';
import { OAuth2 } from 'oauth';
import { v4 as uuid } from 'uuid';
@ -22,7 +22,7 @@ export class GithubServerService {
private config: Config,
@Inject(DI.redis)
private redisClient: Redis,
private redisClient: Redis.Redis,
@Inject(DI.usersRepository)
private usersRepository: UsersRepository,

View File

@ -1,5 +1,5 @@
import { Inject, Injectable } from '@nestjs/common';
import { Redis } from 'ioredis';
import Redis from 'ioredis';
import Router from '@koa/router';
import { v4 as uuid } from 'uuid';
import { IsNull } from 'typeorm';
@ -22,7 +22,7 @@ export class TwitterServerService {
private config: Config,
@Inject(DI.redis)
private redisClient: Redis,
private redisClient: Redis.Redis,
@Inject(DI.usersRepository)
private usersRepository: UsersRepository,