Skip to content

Commit

Permalink
fix: @typescript-eslint/no-inferrable-types
Browse files Browse the repository at this point in the history
  • Loading branch information
DieterReinert authored Jan 6, 2025
1 parent e64e2a5 commit d97353b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/replays.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const Replays = new class {
return replayData;
}

async retry<T>(fn: () => Promise<T>, retries: number = 3, delayMs: number = 1000): Promise<T> {
async retry<T>(fn: () => Promise<T>, retries = 3, delayMs = 1000): Promise<T> {
let lastError: any;
for (let attempt = 1; attempt <= retries; attempt++) {
try {
Expand Down

0 comments on commit d97353b

Please sign in to comment.