mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
88 lines
1.9 KiB
JSON
88 lines
1.9 KiB
JSON
|
{
|
||
|
"type": "Script",
|
||
|
"span": {
|
||
|
"start": 0,
|
||
|
"end": 26,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"body": [
|
||
|
{
|
||
|
"type": "TsInterfaceDeclaration",
|
||
|
"span": {
|
||
|
"start": 0,
|
||
|
"end": 26,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"id": {
|
||
|
"type": "Identifier",
|
||
|
"span": {
|
||
|
"start": 10,
|
||
|
"end": 11,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"value": "I",
|
||
|
"optional": false
|
||
|
},
|
||
|
"declare": false,
|
||
|
"typeParams": null,
|
||
|
"extends": [],
|
||
|
"body": {
|
||
|
"type": "TsInterfaceBody",
|
||
|
"span": {
|
||
|
"start": 12,
|
||
|
"end": 26,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"body": [
|
||
|
{
|
||
|
"type": "TsPropertySignature",
|
||
|
"span": {
|
||
|
"start": 16,
|
||
|
"end": 24,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"readonly": false,
|
||
|
"key": {
|
||
|
"type": "StringLiteral",
|
||
|
"span": {
|
||
|
"start": 16,
|
||
|
"end": 19,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"value": "G",
|
||
|
"hasEscape": false,
|
||
|
"kind": {
|
||
|
"type": "normal",
|
||
|
"containsQuote": true
|
||
|
}
|
||
|
},
|
||
|
"computed": false,
|
||
|
"optional": false,
|
||
|
"init": null,
|
||
|
"params": [],
|
||
|
"typeAnnotation": {
|
||
|
"type": "TsTypeAnnotation",
|
||
|
"span": {
|
||
|
"start": 19,
|
||
|
"end": 23,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"typeAnnotation": {
|
||
|
"type": "TsKeywordType",
|
||
|
"span": {
|
||
|
"start": 20,
|
||
|
"end": 23,
|
||
|
"ctxt": 0
|
||
|
},
|
||
|
"kind": "any"
|
||
|
}
|
||
|
},
|
||
|
"typeParams": null
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"interpreter": null
|
||
|
}
|