Skip to content

Commit 613a8ec

Browse files
committed
Fix types
1 parent e0d9ffa commit 613a8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transform-node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class Transformer extends Source {
182182
...properties,
183183
type: 'AssignmentExpression',
184184
left: left as babel.MemberExpression,
185-
operator,
185+
operator: operator as babel.AssignmentExpression['operator'],
186186
...node.sourceSpan,
187187
},
188188
{ hasParentParens: isInParentParens },

0 commit comments

Comments
 (0)