Remove conflicting typing

This commit is contained in:
Adria Navarro 2023-12-04 15:15:40 +01:00
parent 1c0976b97a
commit e4237c0620
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ export async function doWithLock<T>(
): Promise<RedlockExecution<T>> {
const redlock = await getClient(opts.type, opts.customOptions)
let lock: Redlock.Lock | undefined
let timeout: NodeJS.Timeout | undefined
let timeout
try {
const name = getLockName(opts)