Changed Non-existent RestPattern to RestElement which is what is actually parsed (#409) [skip ci]

This commit is contained in:
James Browning 2017-03-14 10:27:16 +13:00 committed by Henry Zhu
parent 4a813dc51a
commit a5386433e1

View File

@ -967,7 +967,7 @@ interface AssignmentProperty <: ObjectProperty {
interface ObjectPattern <: Pattern {
type: "ObjectPattern";
properties: [ AssignmentProperty | RestPattern ];
properties: [ AssignmentProperty | RestElement ];
}
```