Skip to content

Commit

Permalink
Fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
martincik committed Jul 12, 2024
1 parent 235b5cf commit 147aa54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function timeout<T>(
let timer: ReturnType<typeof setTimeout>;
return Promise.race([
promise,
new Promise<T | Error>((_res, rej) => {
new Promise<T | Error>((res, rej) => {
timer = setTimeout(() => {
rej(new TimeoutError(exceptionValue));
}, time);
Expand Down

0 comments on commit 147aa54

Please sign in to comment.