fix types

This commit is contained in:
syuilo
2023-02-22 14:58:41 +09:00
parent 72d4ad4c45
commit 5ec07ede7c
3 changed files with 6 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ const retryDelay = 100;
@Injectable()
export class AppLockService {
private lock: (key: string, timeout?: number) => Promise<() => void>;
private lock: (key: string, timeout?: number, _?: (() => Promise<void>) | undefined) => Promise<() => void>;
constructor(
@Inject(DI.redis)