Skip to content

Commit

Permalink
fix: ts-error-fetchprotocol (#986)
Browse files Browse the repository at this point in the history
  • Loading branch information
admirsaheta authored Mar 12, 2024
1 parent 4eb677a commit 393423a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const resolveFetch = (customFetch?: Fetch): Fetch => {
} else {
_fetch = fetch
}
return (...args) => _fetch(...args)
return (...args: Parameters<Fetch>) => _fetch(...args)
}

export const resolveHeadersConstructor = () => {
Expand Down

0 comments on commit 393423a

Please sign in to comment.