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

53 lines
945 B
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 28,
"ctxt": 0
},
"body": [
{
"type": "TsEnumDeclaration",
"span": {
"start": 1,
"end": 28,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 6,
"end": 9,
"ctxt": 0
},
"value": "Bar",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 16,
"end": 25,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 16,
"end": 25,
"ctxt": 0
},
"value": "interface",
"optional": false
},
"init": null
}
]
}
],
"interpreter": null
}