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

42 lines
694 B
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 24,
"ctxt": 0
},
"body": [
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 1,
"end": 24,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 19,
"end": 20,
"ctxt": 0
},
"value": "I",
"optional": false
},
"declare": true,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 21,
"end": 24,
"ctxt": 0
},
"body": []
}
}
],
"interpreter": null
}