Skip to content

Commit 0f94ed9

Browse files
authored
export StaggerOptions interface from retry.js
fixes re-exporting a typed `retry` wrapped `baseQuery` when `tsConfig.declaration = true`
1 parent 24bbf9f commit 0f94ed9

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
@@ -23,7 +23,7 @@ async function defaultBackoff(attempt: number = 0, maxRetries: number = 5) {
2323
)
2424
}
2525

26-
interface StaggerOptions {
26+
export interface StaggerOptions {
2727
/**
2828
* How many times the query will be retried (default: 5)
2929
*/

0 commit comments

Comments
 (0)