| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":113,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":11,"column":2,"index":113}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":113,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":11,"column":2,"index":113}}, |
| 7 |
"sourceType": "module", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "TypeAlias", |
| 12 |
"start":8,"end":26,"loc":{"start":{"line":2,"column":0,"index":8},"end":{"line":2,"column":18,"index":26}}, |
| 13 |
"id": { |
| 14 |
"type": "Identifier", |
| 15 |
"start":13,"end":14,"loc":{"start":{"line":2,"column":5,"index":13},"end":{"line":2,"column":6,"index":14},"identifierName":"T"}, |
| 16 |
"name": "T" |
| 17 |
}, |
| 18 |
"typeParameters": null, |
| 19 |
"right": { |
| 20 |
"type": "ObjectTypeAnnotation", |
| 21 |
"start":17,"end":25,"loc":{"start":{"line":2,"column":9,"index":17},"end":{"line":2,"column":17,"index":25}}, |
| 22 |
"callProperties": [], |
| 23 |
"properties": [], |
| 24 |
"indexers": [], |
| 25 |
"internalSlots": [], |
| 26 |
"exact": false, |
| 27 |
"inexact": true |
| 28 |
}, |
| 29 |
"leadingComments": [ |
| 30 |
{ |
| 31 |
"type": "CommentLine", |
| 32 |
"value": "@flow", |
| 33 |
"start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}} |
| 34 |
} |
| 35 |
] |
| 36 |
}, |
| 37 |
{ |
| 38 |
"type": "TypeAlias", |
| 39 |
"start":27,"end":45,"loc":{"start":{"line":3,"column":0,"index":27},"end":{"line":3,"column":18,"index":45}}, |
| 40 |
"id": { |
| 41 |
"type": "Identifier", |
| 42 |
"start":32,"end":33,"loc":{"start":{"line":3,"column":5,"index":32},"end":{"line":3,"column":6,"index":33},"identifierName":"U"}, |
| 43 |
"name": "U" |
| 44 |
}, |
| 45 |
"typeParameters": null, |
| 46 |
"right": { |
| 47 |
"type": "ObjectTypeAnnotation", |
| 48 |
"start":36,"end":44,"loc":{"start":{"line":3,"column":9,"index":36},"end":{"line":3,"column":17,"index":44}}, |
| 49 |
"callProperties": [], |
| 50 |
"properties": [], |
| 51 |
"indexers": [], |
| 52 |
"internalSlots": [], |
| 53 |
"exact": false, |
| 54 |
"inexact": true |
| 55 |
} |
| 56 |
}, |
| 57 |
{ |
| 58 |
"type": "TypeAlias", |
| 59 |
"start":46,"end":79,"loc":{"start":{"line":4,"column":0,"index":46},"end":{"line":7,"column":2,"index":79}}, |
| 60 |
"id": { |
| 61 |
"type": "Identifier", |
| 62 |
"start":51,"end":52,"loc":{"start":{"line":4,"column":5,"index":51},"end":{"line":4,"column":6,"index":52},"identifierName":"V"}, |
| 63 |
"name": "V" |
| 64 |
}, |
| 65 |
"typeParameters": null, |
| 66 |
"right": { |
| 67 |
"type": "ObjectTypeAnnotation", |
| 68 |
"start":55,"end":78,"loc":{"start":{"line":4,"column":9,"index":55},"end":{"line":7,"column":1,"index":78}}, |
| 69 |
"callProperties": [], |
| 70 |
"properties": [ |
| 71 |
{ |
| 72 |
"type": "ObjectTypeProperty", |
| 73 |
"start":59,"end":68,"loc":{"start":{"line":5,"column":2,"index":59},"end":{"line":5,"column":11,"index":68}}, |
| 74 |
"key": { |
| 75 |
"type": "Identifier", |
| 76 |
"start":59,"end":60,"loc":{"start":{"line":5,"column":2,"index":59},"end":{"line":5,"column":3,"index":60},"identifierName":"x"}, |
| 77 |
"name": "x" |
| 78 |
}, |
| 79 |
"static": false, |
| 80 |
"proto": false, |
| 81 |
"kind": "init", |
| 82 |
"method": false, |
| 83 |
"value": { |
| 84 |
"type": "NumberTypeAnnotation", |
| 85 |
"start":62,"end":68,"loc":{"start":{"line":5,"column":5,"index":62},"end":{"line":5,"column":11,"index":68}} |
| 86 |
}, |
| 87 |
"variance": null, |
| 88 |
"optional": false |
| 89 |
} |
| 90 |
], |
| 91 |
"indexers": [], |
| 92 |
"internalSlots": [], |
| 93 |
"exact": false, |
| 94 |
"inexact": true |
| 95 |
} |
| 96 |
}, |
| 97 |
{ |
| 98 |
"type": "TypeAlias", |
| 99 |
"start":80,"end":113,"loc":{"start":{"line":8,"column":0,"index":80},"end":{"line":11,"column":2,"index":113}}, |
| 100 |
"id": { |
| 101 |
"type": "Identifier", |
| 102 |
"start":85,"end":86,"loc":{"start":{"line":8,"column":5,"index":85},"end":{"line":8,"column":6,"index":86},"identifierName":"W"}, |
| 103 |
"name": "W" |
| 104 |
}, |
| 105 |
"typeParameters": null, |
| 106 |
"right": { |
| 107 |
"type": "ObjectTypeAnnotation", |
| 108 |
"start":89,"end":112,"loc":{"start":{"line":8,"column":9,"index":89},"end":{"line":11,"column":1,"index":112}}, |
| 109 |
"callProperties": [], |
| 110 |
"properties": [ |
| 111 |
{ |
| 112 |
"type": "ObjectTypeProperty", |
| 113 |
"start":93,"end":102,"loc":{"start":{"line":9,"column":2,"index":93},"end":{"line":9,"column":11,"index":102}}, |
| 114 |
"key": { |
| 115 |
"type": "Identifier", |
| 116 |
"start":93,"end":94,"loc":{"start":{"line":9,"column":2,"index":93},"end":{"line":9,"column":3,"index":94},"identifierName":"x"}, |
| 117 |
"name": "x" |
| 118 |
}, |
| 119 |
"static": false, |
| 120 |
"proto": false, |
| 121 |
"kind": "init", |
| 122 |
"method": false, |
| 123 |
"value": { |
| 124 |
"type": "NumberTypeAnnotation", |
| 125 |
"start":96,"end":102,"loc":{"start":{"line":9,"column":5,"index":96},"end":{"line":9,"column":11,"index":102}} |
| 126 |
}, |
| 127 |
"variance": null, |
| 128 |
"optional": false |
| 129 |
} |
| 130 |
], |
| 131 |
"indexers": [], |
| 132 |
"internalSlots": [], |
| 133 |
"exact": false, |
| 134 |
"inexact": true |
| 135 |
} |
| 136 |
} |
| 137 |
], |
| 138 |
"directives": [] |
| 139 |
}, |
| 140 |
"comments": [ |
| 141 |
{ |
| 142 |
"type": "CommentLine", |
| 143 |
"value": "@flow", |
| 144 |
"start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}} |
| 145 |
} |
| 146 |
] |
| 147 |
} |