Skip to content

Commit 0490f1c

Browse files
committed
Fix
1 parent 9b04ce2 commit 0490f1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ast-transform/transforms/transform-arrow-function-expression.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ export const visitArrowFunction: AstVisitor['visitArrowFunction'] = (
2121
parameter.sourceSpan,
2222
),
2323
),
24-
body: transformer.transformChild(node.body) as babel.Expression,
24+
body: transformer.transformChild<babel.Expression>(node.body),
2525
...commonProperties,
2626
});

0 commit comments

Comments
 (0)