Ensure locations in ObjectTypeAnnotations do not include semi or comma (#472)

This commit is contained in:
Brian Ng
2017-04-19 07:08:51 -05:00
committed by Daniel Tschinder
parent 17f2a2036c
commit 2ef436641e
31 changed files with 123 additions and 129 deletions

View File

@@ -80,7 +80,7 @@
{
"type": "ObjectTypeCallProperty",
"start": 33,
"end": 49,
"end": 48,
"loc": {
"start": {
"line": 3,
@@ -88,7 +88,7 @@
},
"end": {
"line": 3,
"column": 18
"column": 17
}
},
"static": true,
@@ -131,7 +131,7 @@
{
"type": "ObjectTypeProperty",
"start": 19,
"end": 30,
"end": 29,
"loc": {
"start": {
"line": 2,
@@ -139,7 +139,7 @@
},
"end": {
"line": 2,
"column": 13
"column": 12
}
},
"key": {
@@ -181,7 +181,7 @@
{
"type": "ObjectTypeProperty",
"start": 52,
"end": 70,
"end": 69,
"loc": {
"start": {
"line": 4,
@@ -189,7 +189,7 @@
},
"end": {
"line": 4,
"column": 20
"column": 19
}
},
"key": {

View File

@@ -81,7 +81,7 @@
{
"type": "ObjectTypeProperty",
"start": 14,
"end": 32,
"end": 31,
"loc": {
"start": {
"line": 1,
@@ -89,7 +89,7 @@
},
"end": {
"line": 1,
"column": 32
"column": 31
}
},
"key": {

View File

@@ -81,7 +81,7 @@
{
"type": "ObjectTypeProperty",
"start": 48,
"end": 63,
"end": 62,
"loc": {
"start": {
"line": 1,
@@ -89,7 +89,7 @@
},
"end": {
"line": 1,
"column": 63
"column": 62
}
},
"key": {