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

50 lines
899 B
JSON

{
"type": "Module",
"span": {
"start": 0,
"end": 22,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 0,
"end": 22,
"ctxt": 0
},
"declaration": {
"type": "TsInterfaceDeclaration",
"span": {
"start": 7,
"end": 22,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 17,
"end": 18,
"ctxt": 0
},
"value": "I",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 19,
"end": 22,
"ctxt": 0
},
"body": []
}
}
}
],
"interpreter": null
}