Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 10d9e63

Browse files
committed
Fix arrow function in index.js
1 parent 8dc7704 commit 10d9e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function fetch(...args:any):Promise {
172172
delete promise['uploadProgress']
173173
delete promise['stateChange']
174174
delete promise['cancel']
175-
promise.cancel = () {
175+
promise.cancel = () => {
176176
console.warn('finished request could not be canceled')
177177
}
178178

0 commit comments

Comments
 (0)