mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
88 lines
3.5 KiB
JSON
88 lines
3.5 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":38,"index":63}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":38,"index":63}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "DeclareTypeAlias",
|
|
"start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14},"identifierName":"A"},
|
|
"name": "A"
|
|
},
|
|
"typeParameters": null,
|
|
"right": {
|
|
"type": "StringTypeAnnotation",
|
|
"start":17,"end":23,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":23,"index":23}}
|
|
}
|
|
},
|
|
{
|
|
"type": "DeclareTypeAlias",
|
|
"start":25,"end":63,"loc":{"start":{"line":2,"column":0,"index":25},"end":{"line":2,"column":38,"index":63}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":38,"end":39,"loc":{"start":{"line":2,"column":13,"index":38},"end":{"line":2,"column":14,"index":39},"identifierName":"T"},
|
|
"name": "T"
|
|
},
|
|
"typeParameters": {
|
|
"type": "TypeParameterDeclaration",
|
|
"start":39,"end":42,"loc":{"start":{"line":2,"column":14,"index":39},"end":{"line":2,"column":17,"index":42}},
|
|
"params": [
|
|
{
|
|
"type": "TypeParameter",
|
|
"start":40,"end":41,"loc":{"start":{"line":2,"column":15,"index":40},"end":{"line":2,"column":16,"index":41}},
|
|
"name": "U",
|
|
"variance": null
|
|
}
|
|
]
|
|
},
|
|
"right": {
|
|
"type": "ObjectTypeAnnotation",
|
|
"start":45,"end":62,"loc":{"start":{"line":2,"column":20,"index":45},"end":{"line":2,"column":37,"index":62}},
|
|
"callProperties": [],
|
|
"properties": [],
|
|
"indexers": [
|
|
{
|
|
"type": "ObjectTypeIndexer",
|
|
"start":47,"end":60,"loc":{"start":{"line":2,"column":22,"index":47},"end":{"line":2,"column":35,"index":60}},
|
|
"static": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":48,"end":49,"loc":{"start":{"line":2,"column":23,"index":48},"end":{"line":2,"column":24,"index":49},"identifierName":"k"},
|
|
"name": "k"
|
|
},
|
|
"key": {
|
|
"type": "StringTypeAnnotation",
|
|
"start":50,"end":56,"loc":{"start":{"line":2,"column":25,"index":50},"end":{"line":2,"column":31,"index":56}}
|
|
},
|
|
"value": {
|
|
"type": "GenericTypeAnnotation",
|
|
"start":59,"end":60,"loc":{"start":{"line":2,"column":34,"index":59},"end":{"line":2,"column":35,"index":60}},
|
|
"typeParameters": null,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":59,"end":60,"loc":{"start":{"line":2,"column":34,"index":59},"end":{"line":2,"column":35,"index":60},"identifierName":"U"},
|
|
"name": "U"
|
|
}
|
|
},
|
|
"variance": null
|
|
}
|
|
],
|
|
"internalSlots": [],
|
|
"exact": false,
|
|
"inexact": false
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"extra": {
|
|
"topLevelAwait": false
|
|
}
|
|
}
|
|
}
|