| 615 | }; |
| 616 | |
| 617 | const createArrowFunctionExpression = fn => { |
| 618 | const arrowFunc = j.arrowFunctionExpression( |
| 619 | fn.params, |
| 620 | fn.body, |
| 621 | false |
| 622 | ); |
| 623 | |
| 624 | arrowFunc.returnType = fn.returnType; |
| 625 | arrowFunc.defaults = fn.defaults; |
| 626 | arrowFunc.rest = fn.rest; |
| 627 | arrowFunc.async = fn.async; |
| 628 | arrowFunc.generator = fn.generator; |
| 629 | |
| 630 | return arrowFunc; |
| 631 | }; |
| 632 | |
| 633 | const createArrowProperty = prop => |
| 634 | withComments(j.classProperty( |
no outgoing calls
no test coverage detected