Skip to content

Commit 0cb73dc

Browse files
committed
Fix error type
1 parent faffc27 commit 0cb73dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/query/retry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const retryWithBackoff: BaseQueryEnhancer<
6161
throw new HandledError(result)
6262
}
6363
return result
64-
} catch (e) {
64+
} catch (e: any) {
6565
retry++
6666
if (e.throwImmediately || retry > options.maxRetries) {
6767
if (e instanceof HandledError) {

0 commit comments

Comments
 (0)