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

64 lines
1.2 KiB
JSON

{
"type": "Script",
"span": {
"start": 0,
"end": 38,
"ctxt": 0
},
"body": [
{
"type": "TsModuleDeclaration",
"span": {
"start": 0,
"end": 38,
"ctxt": 0
},
"declare": true,
"global": false,
"id": {
"type": "StringLiteral",
"span": {
"start": 15,
"end": 18,
"ctxt": 0
},
"value": "M",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 19,
"end": 38,
"ctxt": 0
},
"body": [
{
"type": "TsExportAssignment",
"span": {
"start": 25,
"end": 36,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 34,
"end": 35,
"ctxt": 0
},
"value": "A",
"optional": false
}
}
]
}
}
],
"interpreter": null
}