Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
crisshaker committed Jul 29, 2024
1 parent 76099a5 commit c35a570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/core/Ky.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Required<Hooks>>(
Expand Down

0 comments on commit c35a570

Please sign in to comment.