swc/crates/swc_ecma_parser/tests/tsc/parserExportAssignment6.json

60 lines
1.1 KiB
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 39,
"ctxt": 0
},
"body": [
{
"type": "TsModuleDeclaration",
"span": {
"start": 1,
"end": 39,
"ctxt": 0
},
"declare": true,
"global": false,
"id": {
"type": "StringLiteral",
"span": {
"start": 16,
"end": 19,
"ctxt": 0
},
"value": "M",
"raw": "\"M\""
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 20,
"end": 39,
"ctxt": 0
},
"body": [
{
"type": "TsExportAssignment",
"span": {
"start": 26,
"end": 37,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 35,
"end": 36,
"ctxt": 0
},
"value": "A",
"optional": false
}
}
]
}
}
],
"interpreter": null
}