Files

51 lines
1.8 KiB
JSON

{
"type": "File",
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
"errors": [
"SyntaxError: `declare module` cannot be used inside another `declare module`. (1:27)"
],
"program": {
"type": "Program",
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "DeclareModule",
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
"id": {
"type": "Identifier",
"start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"A"},
"name": "A"
},
"body": {
"type": "BlockStatement",
"start":17,"end":40,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":40,"index":40}},
"body": [
{
"type": "DeclareModule",
"start":19,"end":38,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":38,"index":38}},
"id": {
"type": "Identifier",
"start":34,"end":35,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":35,"index":35},"identifierName":"B"},
"name": "B"
},
"body": {
"type": "BlockStatement",
"start":36,"end":38,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":38,"index":38}},
"body": []
},
"kind": "CommonJS"
}
]
},
"kind": "CommonJS"
}
],
"directives": [],
"extra": {
"topLevelAwait": false
}
}
}