Skip to content

Commit

Permalink
refine types
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jun 6, 2023
1 parent a72024f commit f346fa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export function mergeFetchOptions(
input: FetchOptions | undefined,
defaults: FetchOptions | undefined,
Headers = globalThis.Headers
): Record<string, any> {
const merged = {
): FetchOptions {
const merged: FetchOptions = {
...defaults,
...input,
};
Expand Down

0 comments on commit f346fa9

Please sign in to comment.