Skip to content

Commit 8005390

Browse files
committed
Remove type casting
1 parent 38c3033 commit 8005390

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ast-transform/transforms/transform-unary-expression.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ export const visitUnary = (
5252
type: 'UnaryExpression',
5353
prefix: true,
5454
argument: transformer.transformChild<babel.Expression>(node.expr),
55-
operator: node.operator as '-' | '+',
55+
operator: node.operator,
5656
});

0 commit comments

Comments
 (0)