We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3631be commit 14b588dCopy full SHA for 14b588d
index.js
@@ -38,7 +38,7 @@ function makePromisable (parent, prop) {
38
returnValue = Reflect.apply(target, parent, argumentsList)
39
})
40
// Return the returnValue through valueOf
41
- promise.valueOf = _ => returnValue
+ promise.valueOf = () => returnValue
42
return promise
43
}
44
0 commit comments