(node)
| 98427 | return ts.setTextRange(factory.createAssignment(target, ts.setTextRange(factory.createGlobalMethodCall("Math", "pow", [value, right]), node)), node); |
| 98428 | } |
| 98429 | function visitExponentiationExpression(node) { |
| 98430 | // Transforms `a ** b` into `Math.pow(a, b)` |
| 98431 | var left = ts.visitNode(node.left, visitor, ts.isExpression); |
| 98432 | var right = ts.visitNode(node.right, visitor, ts.isExpression); |
| 98433 | return ts.setTextRange(factory.createGlobalMethodCall("Math", "pow", [left, right]), node); |
| 98434 | } |
| 98435 | } |
| 98436 | ts.transformES2016 = transformES2016; |
| 98437 | })(ts || (ts = {})); |
no outgoing calls
no test coverage detected
searching dependent graphs…