Skip to content

Commit

Permalink
hotfix:ts-error-fetchprotocol
Browse files Browse the repository at this point in the history
  • Loading branch information
admirsaheta committed Mar 11, 2024
1 parent 4eb677a commit 6af317a
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 6af317a

Please sign in to comment.