Skip to content

Commit

Permalink
fix type error for getTotalBytes
Browse files Browse the repository at this point in the history
  • Loading branch information
jadedevin13 committed Sep 7, 2024
1 parent d214b68 commit d18f532
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/core/Ky.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ export class Ky {
);
}

// eslint-disable-next-line @typescript-eslint/ban-types
protected _getTotalBytes(body?: globalThis.BodyInit | null): number {
if (!body) {
return 0;
Expand Down

0 comments on commit d18f532

Please sign in to comment.