fix types
This commit is contained in:
parent
72d4ad4c45
commit
5ec07ede7c
3 changed files with 6 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue