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

49 lines
870 B
JSON

{
"type": "Module",
"span": {
"start": 16,
"end": 45,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 16,
"end": 45,
"ctxt": 0
},
"declaration": {
"type": "TsModuleDeclaration",
"span": {
"start": 23,
"end": 45,
"ctxt": 0
},
"declare": true,
"global": false,
"id": {
"type": "StringLiteral",
"span": {
"start": 38,
"end": 41,
"ctxt": 0
},
"value": "M",
"raw": "\"M\""
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 42,
"end": 45,
"ctxt": 0
},
"body": []
}
}
}
],
"interpreter": null
}