2021-01-15 13:30:44 +03:00
|
|
|
{
|
|
|
|
"type": "Script",
|
|
|
|
"span": {
|
|
|
|
"start": 15,
|
|
|
|
"end": 61,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsInterfaceDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 15,
|
|
|
|
"end": 61,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 25,
|
|
|
|
"end": 26,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "I",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"typeParams": null,
|
|
|
|
"extends": [],
|
|
|
|
"body": {
|
|
|
|
"type": "TsInterfaceBody",
|
|
|
|
"span": {
|
|
|
|
"start": 27,
|
|
|
|
"end": 61,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
|
|
|
"start": 33,
|
|
|
|
"end": 59,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 34,
|
|
|
|
"end": 49,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 34,
|
|
|
|
"end": 40,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Symbol",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 41,
|
|
|
|
"end": 49,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "iterator",
|
|
|
|
"optional": false
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"computed": true,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 50,
|
|
|
|
"end": 58,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 52,
|
|
|
|
"end": 58,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|