diff --git a/source/types/options.ts b/source/types/options.ts index 0e1defc1..7d0e15a8 100644 --- a/source/types/options.ts +++ b/source/types/options.ts @@ -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`); } });