Skip to content

Commit

Permalink
Add type support for axios options
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-ksh committed Aug 31, 2023
1 parent bfd56ce commit 8a4995f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http-requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class HttpRequests {

async fetchWithTimeout(
url: string,
options: RequestInit | undefined,
options: Record<string, any> | RequestInit | undefined,
timeout: HttpRequests['requestTimeout']
): Promise<Response> {
return new Promise((resolve, reject) => {
Expand Down

0 comments on commit 8a4995f

Please sign in to comment.