Rewrite Hub as interface #5047
This commit is contained in:
committed by
Nicolò Ribaudo
parent
3a399d1eb9
commit
0fd3da110d
@@ -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,
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user