| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":31,"index":39}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: Explicit inexact syntax must appear at the end of an inexact object. (2:21)" |
| 6 |
], |
| 7 |
"program": { |
| 8 |
"type": "Program", |
| 9 |
"start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":31,"index":39}}, |
| 10 |
"sourceType": "module", |
| 11 |
"interpreter": null, |
| 12 |
"body": [ |
| 13 |
{ |
| 14 |
"type": "TypeAlias", |
| 15 |
"start":8,"end":39,"loc":{"start":{"line":2,"column":0,"index":8},"end":{"line":2,"column":31,"index":39}}, |
| 16 |
"id": { |
| 17 |
"type": "Identifier", |
| 18 |
"start":13,"end":14,"loc":{"start":{"line":2,"column":5,"index":13},"end":{"line":2,"column":6,"index":14},"identifierName":"U"}, |
| 19 |
"name": "U" |
| 20 |
}, |
| 21 |
"typeParameters": null, |
| 22 |
"right": { |
| 23 |
"type": "ObjectTypeAnnotation", |
| 24 |
"start":17,"end":38,"loc":{"start":{"line":2,"column":9,"index":17},"end":{"line":2,"column":30,"index":38}}, |
| 25 |
"callProperties": [], |
| 26 |
"properties": [ |
| 27 |
{ |
| 28 |
"type": "ObjectTypeProperty", |
| 29 |
"start":18,"end":27,"loc":{"start":{"line":2,"column":10,"index":18},"end":{"line":2,"column":19,"index":27}}, |
| 30 |
"key": { |
| 31 |
"type": "Identifier", |
| 32 |
"start":18,"end":19,"loc":{"start":{"line":2,"column":10,"index":18},"end":{"line":2,"column":11,"index":19},"identifierName":"x"}, |
| 33 |
"name": "x" |
| 34 |
}, |
| 35 |
"static": false, |
| 36 |
"proto": false, |
| 37 |
"kind": "init", |
| 38 |
"method": false, |
| 39 |
"value": { |
| 40 |
"type": "NumberTypeAnnotation", |
| 41 |
"start":21,"end":27,"loc":{"start":{"line":2,"column":13,"index":21},"end":{"line":2,"column":19,"index":27}} |
| 42 |
}, |
| 43 |
"variance": null, |
| 44 |
"optional": false |
| 45 |
} |
| 46 |
], |
| 47 |
"indexers": [], |
| 48 |
"internalSlots": [], |
| 49 |
"exact": false, |
| 50 |
"inexact": true |
| 51 |
}, |
| 52 |
"leadingComments": [ |
| 53 |
{ |
| 54 |
"type": "CommentLine", |
| 55 |
"value": "@flow", |
| 56 |
"start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}} |
| 57 |
} |
| 58 |
] |
| 59 |
} |
| 60 |
], |
| 61 |
"directives": [] |
| 62 |
}, |
| 63 |
"comments": [ |
| 64 |
{ |
| 65 |
"type": "CommentLine", |
| 66 |
"value": "@flow", |
| 67 |
"start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}} |
| 68 |
} |
| 69 |
] |
| 70 |
} |