From c35a5706b7725d9c2820140504bb496abb09ed3e Mon Sep 17 00:00:00 2001 From: Christian Owusu <36159205+crisshaker@users.noreply.github.com> Date: Mon, 29 Jul 2024 11:12:40 +0000 Subject: [PATCH] Fix lint issues --- source/core/Ky.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/core/Ky.ts b/source/core/Ky.ts index ac05d849..cf8ee2cc 100644 --- a/source/core/Ky.ts +++ b/source/core/Ky.ts @@ -132,8 +132,8 @@ export class Ky { const signal = this._input instanceof Request ? this._input.signal : undefined; this._options = { - ...(credentials && { credentials }), // For exactOptionalPropertyTypes - ...(signal && { signal }), // For exactOptionalPropertyTypes + ...(credentials && {credentials}), // For exactOptionalPropertyTypes + ...(signal && {signal}), // For exactOptionalPropertyTypes ...options, headers: mergeHeaders((this._input as Request).headers, options.headers), hooks: deepMerge>(