Skip to content

Commit

Permalink
feat: expose GlobalOptions type (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 26, 2023
1 parent da64d78 commit e82de48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ export interface CreateFetchOptions {
AbortController?: typeof AbortController;
}

export type GlobalOptions = Pick<
FetchOptions,
"timeout" | "retry" | "retryDelay"
>;

// --------------------------
// Response Types
// --------------------------
Expand Down

0 comments on commit e82de48

Please sign in to comment.