From 147aa541f67cb21202da5a77cdeede6029ddeb2e Mon Sep 17 00:00:00 2001 From: Ladislav Martincik Date: Fri, 12 Jul 2024 10:12:55 +0200 Subject: [PATCH] Fix linter issue --- src/libs/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/utils.ts b/src/libs/utils.ts index e41472c..96259e2 100644 --- a/src/libs/utils.ts +++ b/src/libs/utils.ts @@ -47,7 +47,7 @@ export function timeout( let timer: ReturnType; return Promise.race([ promise, - new Promise((_res, rej) => { + new Promise((res, rej) => { timer = setTimeout(() => { rej(new TimeoutError(exceptionValue)); }, time);