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

41 lines
669 B
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 25,
"ctxt": 0
},
"body": [
{
"type": "TsModuleDeclaration",
"span": {
"start": 1,
"end": 25,
"ctxt": 0
},
"declare": true,
"global": false,
"id": {
"type": "StringLiteral",
"span": {
"start": 16,
"end": 21,
"ctxt": 0
},
"value": "Foo",
"raw": "\"Foo\""
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 22,
"end": 25,
"ctxt": 0
},
"body": []
}
}
],
"interpreter": null
}