Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
fix(syntax): add missing assignment operator /=
Browse files Browse the repository at this point in the history
  • Loading branch information
Conaclos committed Feb 14, 2023
1 parent 65325e5 commit 61efc3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/rome_js_syntax/src/expr_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ pub enum JsAssignmentOperator {
AddAssign,
SubtractAssign,
TimesAssign,
SlashAssign,
RemainderAssign,
ExponentAssign,
LeftShiftAssign,
Expand All @@ -473,6 +474,7 @@ impl JsAssignmentExpression {
T![+=] => JsAssignmentOperator::AddAssign,
T![-=] => JsAssignmentOperator::SubtractAssign,
T![*=] => JsAssignmentOperator::TimesAssign,
T![/=] => JsAssignmentOperator::SlashAssign,
T![%=] => JsAssignmentOperator::RemainderAssign,
T![**=] => JsAssignmentOperator::ExponentAssign,
T![>>=] => JsAssignmentOperator::LeftShiftAssign,
Expand Down

0 comments on commit 61efc3b

Please sign in to comment.