diff --git a/src/utils.ts b/src/utils.ts index 7154cf4..15bc2a0 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -79,8 +79,8 @@ export function mergeFetchOptions( input: FetchOptions | undefined, defaults: FetchOptions | undefined, Headers = globalThis.Headers -): Record { - const merged = { +): FetchOptions { + const merged: FetchOptions = { ...defaults, ...input, };