Rewrite Hub as interface #5047

This commit is contained in:
Yongxu Ren
2016-12-27 11:52:51 -05:00
committed by Nicolò Ribaudo
parent 3a399d1eb9
commit 0fd3da110d
12 changed files with 67 additions and 32 deletions

View File

@@ -143,7 +143,7 @@ export default declare((api, options) => {
}
path.replaceWith(
t.callExpression(path.hub.file.addHelper("construct"), [
t.callExpression(path.hub.addHelper("construct"), [
node.callee,
args,
]),