Skip to content

Commit

Permalink
Update options.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus authored Sep 14, 2024
1 parent d6283a2 commit 0b2ed43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/types/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export type KyOptions = {
const response = await ky.post('https://example.com/upload', {
body: new FormData(),
onUploadProgress: (progress) => {
onUploadProgress: progress => {
console.log(`${progress.percent * 100}% - ${progress.transferredBytes} of ${progress.totalBytes} bytes`);
}
});
Expand Down

0 comments on commit 0b2ed43

Please sign in to comment.