61 lines
2.4 KiB
JSON
61 lines
2.4 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": "VariableDeclaration",
|
|
"start":0,"end":23,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":23}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":4,"end":23,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":23}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":4,"end":23,"loc":{"start":{"line":1,"column":4},"end":{"line":1,"column":23},"identifierName":"a"},
|
|
"name": "a",
|
|
"typeAnnotation": {
|
|
"type": "TypeAnnotation",
|
|
"start":6,"end":23,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":23}},
|
|
"typeAnnotation": {
|
|
"type": "ObjectTypeAnnotation",
|
|
"start":8,"end":23,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":23}},
|
|
"callProperties": [
|
|
{
|
|
"type": "ObjectTypeCallProperty",
|
|
"start":10,"end":20,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":20}},
|
|
"static": false,
|
|
"value": {
|
|
"type": "FunctionTypeAnnotation",
|
|
"start":10,"end":20,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":20}},
|
|
"params": [],
|
|
"rest": null,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "NumberTypeAnnotation",
|
|
"start":14,"end":20,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":20}}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"properties": [],
|
|
"indexers": [],
|
|
"internalSlots": [],
|
|
"exact": false,
|
|
"inexact": false
|
|
}
|
|
}
|
|
},
|
|
"init": null
|
|
}
|
|
],
|
|
"kind": "var"
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |