Changed Non-existent RestPattern to RestElement which is what is actually parsed (#409) [skip ci]
This commit is contained in:
parent
4a813dc51a
commit
a5386433e1
@ -967,7 +967,7 @@ interface AssignmentProperty <: ObjectProperty {
|
||||
|
||||
interface ObjectPattern <: Pattern {
|
||||
type: "ObjectPattern";
|
||||
properties: [ AssignmentProperty | RestPattern ];
|
||||
properties: [ AssignmentProperty | RestElement ];
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user