Skip to content

Commit 393423a

Browse files
authored
fix: ts-error-fetchprotocol (#986)
1 parent 4eb677a commit 393423a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const resolveFetch = (customFetch?: Fetch): Fetch => {
1212
} else {
1313
_fetch = fetch
1414
}
15-
return (...args) => _fetch(...args)
15+
return (...args: Parameters<Fetch>) => _fetch(...args)
1616
}
1717

1818
export const resolveHeadersConstructor = () => {

0 commit comments

Comments
 (0)