55 lines
2.0 KiB
JSON
55 lines
2.0 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":23,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":23,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "TypeAlias",
|
|
"start":0,"end":23,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":5,"end":6,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6},"identifierName":"T"},
|
|
"name": "T"
|
|
},
|
|
"typeParameters": null,
|
|
"right": {
|
|
"type": "ObjectTypeAnnotation",
|
|
"start":9,"end":23,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":23}},
|
|
"callProperties": [],
|
|
"properties": [],
|
|
"indexers": [],
|
|
"internalSlots": [
|
|
{
|
|
"type": "ObjectTypeInternalSlot",
|
|
"start":11,"end":21,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":21}},
|
|
"static": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":13,"end":16,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":16},"identifierName":"foo"},
|
|
"name": "foo"
|
|
},
|
|
"method": false,
|
|
"value": {
|
|
"type": "GenericTypeAnnotation",
|
|
"start":20,"end":21,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":21}},
|
|
"typeParameters": null,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":20,"end":21,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":21},"identifierName":"X"},
|
|
"name": "X"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"exact": false,
|
|
"inexact": false
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |