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

50 lines
899 B
JSON

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