fix(isolated-declarations): declare modifier of PropertyDefinition should 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!
This commit is contained in:
Dunqing 2024-08-16 22:11:43 +08:00 committed by GitHub
parent 8e80f593fd
commit d3bbc620cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,7 +98,7 @@ impl<'a> IsolatedDeclarations<'a> {
value,
property.computed,
property.r#static,
property.declare,
false,
property.r#override,
property.optional,
property.definite,