diff --git a/readme.md b/readme.md index 91523d72..40e32997 100644 --- a/readme.md +++ b/readme.md @@ -437,7 +437,7 @@ import ky from 'ky'; const response = await ky.post('https://example.com/api/upload', { body: largeFile, - onUploadProgress: (progress) => { + onUploadProgress: progress => { console.log(`${progress.percent * 100}% - ${progress.transferredBytes} of ${progress.totalBytes} bytes`); } });