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

42 lines
695 B
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 23,
"ctxt": 0
},
"body": [
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 1,
"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
}