We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b067cfa commit 1bd2b1cCopy full SHA for 1bd2b1c
packages/node_modules/action-chain/src/utils.ts
@@ -12,8 +12,8 @@ function createProxyGetHandler(
12
): ProxyHandler<any>['get'] {
13
return (target, prop) => {
14
if (typeof target[prop] === 'function') {
15
- return (...args) => {
16
- const result = target[prop](...args)
+ return function(...args) {
+ const result = target[prop].apply(this, args)
17
if (result instanceof Promise) {
18
result.then((promisedResult) => {
19
// eslint-disable-next-line standard/no-callback-literal
0 commit comments