Run prettier
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import build from "babel-helper-builder-binary-assignment-operator-visitor";
|
||||
import syntaxExponentiationOperator from "babel-plugin-syntax-exponentiation-operator";
|
||||
|
||||
export default function ({ types: t }) {
|
||||
export default function({ types: t }) {
|
||||
return {
|
||||
inherits: syntaxExponentiationOperator,
|
||||
|
||||
@@ -9,7 +9,10 @@ export default function ({ types: t }) {
|
||||
operator: "**",
|
||||
|
||||
build(left, right) {
|
||||
return t.callExpression(t.memberExpression(t.identifier("Math"), t.identifier("pow")), [left, right]);
|
||||
return t.callExpression(
|
||||
t.memberExpression(t.identifier("Math"), t.identifier("pow")),
|
||||
[left, right],
|
||||
);
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user