mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
144 lines
3.4 KiB
JSON
144 lines
3.4 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 93,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "TsInterfaceDeclaration",
|
|
"span": {
|
|
"start": 16,
|
|
"end": 93,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26,
|
|
"end": 27,
|
|
"ctxt": 0
|
|
},
|
|
"value": "I",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"typeParams": null,
|
|
"extends": [],
|
|
"body": {
|
|
"type": "TsInterfaceBody",
|
|
"span": {
|
|
"start": 28,
|
|
"end": 93,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "TsPropertySignature",
|
|
"span": {
|
|
"start": 34,
|
|
"end": 63,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 35,
|
|
"end": 53,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 35,
|
|
"end": 41,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Symbol",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 42,
|
|
"end": 53,
|
|
"ctxt": 0
|
|
},
|
|
"value": "unscopables",
|
|
"optional": false
|
|
}
|
|
},
|
|
"computed": true,
|
|
"optional": false,
|
|
"init": null,
|
|
"params": [],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 54,
|
|
"end": 62,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 56,
|
|
"end": 62,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
},
|
|
"typeParams": null
|
|
},
|
|
{
|
|
"type": "TsMethodSignature",
|
|
"span": {
|
|
"start": 68,
|
|
"end": 91,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 69,
|
|
"end": 87,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 69,
|
|
"end": 75,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Symbol",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 76,
|
|
"end": 87,
|
|
"ctxt": 0
|
|
},
|
|
"value": "toPrimitive",
|
|
"optional": false
|
|
}
|
|
},
|
|
"computed": true,
|
|
"optional": false,
|
|
"params": [],
|
|
"typeAnn": null,
|
|
"typeParams": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|