mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
59 lines
2.2 KiB
JSON
59 lines
2.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "TypeAlias",
|
|
"start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6},"identifierName":"T"},
|
|
"name": "T"
|
|
},
|
|
"typeParameters": null,
|
|
"right": {
|
|
"type": "ObjectTypeAnnotation",
|
|
"start":9,"end":23,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":23,"index":23}},
|
|
"callProperties": [],
|
|
"properties": [],
|
|
"indexers": [],
|
|
"internalSlots": [
|
|
{
|
|
"type": "ObjectTypeInternalSlot",
|
|
"start":11,"end":21,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":21,"index":21}},
|
|
"static": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":13,"end":16,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":16,"index":16},"identifierName":"foo"},
|
|
"name": "foo"
|
|
},
|
|
"method": false,
|
|
"value": {
|
|
"type": "GenericTypeAnnotation",
|
|
"start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21}},
|
|
"typeParameters": null,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"X"},
|
|
"name": "X"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"exact": false,
|
|
"inexact": false
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"extra": {
|
|
"topLevelAwait": false
|
|
}
|
|
}
|
|
}
|