Skip to content

Commit

Permalink
fix(devtools): return the new created callback
Browse files Browse the repository at this point in the history
  • Loading branch information
pikax committed Sep 13, 2020
1 parent 8b0325c commit 9ef375a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vue-composable/src/devtools/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,12 @@ if (__VUE_2__) {
return target[prop];
} else {
//@ts-ignore
target[prop] = (...args) => {
return (target[prop] = (...args) => {
EventQueue.push({
type: prop,
args,
});
};
});
}
},
}
Expand Down

0 comments on commit 9ef375a

Please sign in to comment.