Skip to content

Commit

Permalink
fix(isolated-declarations): declare modifier of PropertyDefinition sh…
Browse files Browse the repository at this point in the history
…ould not be retained (#4941)

related: #4937

There are no tests/snapshots updates and seems we don't have a way to
test it until #4937 is merged. But I tested it locally and it worked!
  • Loading branch information
Dunqing authored Aug 16, 2024
1 parent 8e80f59 commit d3bbc62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_isolated_declarations/src/class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl<'a> IsolatedDeclarations<'a> {
value,
property.computed,
property.r#static,
property.declare,
false,
property.r#override,
property.optional,
property.definite,
Expand Down

0 comments on commit d3bbc62

Please sign in to comment.