2021-01-15 13:30:44 +03:00
|
|
|
{
|
|
|
|
"type": "Script",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 23,
|
|
|
|
"end": 514,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 23,
|
|
|
|
"end": 63,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 28,
|
|
|
|
"end": 30,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 33,
|
|
|
|
"end": 62,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 39,
|
|
|
|
"end": 50,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 39,
|
|
|
|
"end": 40,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 40,
|
|
|
|
"end": 49,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 42,
|
|
|
|
"end": 49,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 42,
|
|
|
|
"end": 44,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 42,
|
|
|
|
"end": 44,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 45,
|
|
|
|
"end": 48,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 45,
|
|
|
|
"end": 48,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"x\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 65,
|
|
|
|
"end": 141,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 70,
|
|
|
|
"end": 72,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 72,
|
|
|
|
"end": 93,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 73,
|
|
|
|
"end": 92,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 73,
|
|
|
|
"end": 74,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"constraint": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 83,
|
|
|
|
"end": 92,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 83,
|
|
|
|
"end": 86,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 83,
|
|
|
|
"end": 86,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"x\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 89,
|
|
|
|
"end": 92,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 89,
|
|
|
|
"end": 92,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"y\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 96,
|
|
|
|
"end": 141,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 102,
|
|
|
|
"end": 114,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 102,
|
|
|
|
"end": 103,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 103,
|
|
|
|
"end": 113,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 105,
|
|
|
|
"end": 113,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 105,
|
|
|
|
"end": 110,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 105,
|
|
|
|
"end": 107,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 107,
|
|
|
|
"end": 110,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 108,
|
|
|
|
"end": 109,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 108,
|
|
|
|
"end": 109,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 111,
|
|
|
|
"end": 112,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 111,
|
|
|
|
"end": 112,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 129,
|
|
|
|
"end": 139,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 129,
|
|
|
|
"end": 130,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 130,
|
|
|
|
"end": 138,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 132,
|
|
|
|
"end": 138,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 143,
|
|
|
|
"end": 167,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "let",
|
|
|
|
"declare": true,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 155,
|
|
|
|
"end": 166,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 155,
|
|
|
|
"end": 157,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x2",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 157,
|
|
|
|
"end": 166,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 159,
|
|
|
|
"end": 166,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 159,
|
|
|
|
"end": 161,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 161,
|
|
|
|
"end": 166,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 162,
|
|
|
|
"end": 165,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 162,
|
|
|
|
"end": 165,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"x\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 168,
|
|
|
|
"end": 183,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "let",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 172,
|
|
|
|
"end": 182,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 172,
|
|
|
|
"end": 175,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x2x",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 178,
|
|
|
|
"end": 182,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 178,
|
|
|
|
"end": 180,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 181,
|
|
|
|
"end": 182,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsInterfaceDeclaration",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 185,
|
|
|
|
"end": 233,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 195,
|
|
|
|
"end": 197,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T3",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 197,
|
|
|
|
"end": 214,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 198,
|
|
|
|
"end": 213,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 198,
|
|
|
|
"end": 199,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 208,
|
|
|
|
"end": 213,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 208,
|
|
|
|
"end": 210,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T3",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 210,
|
|
|
|
"end": 213,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 211,
|
|
|
|
"end": 212,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 211,
|
|
|
|
"end": 212,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"extends": [],
|
|
|
|
"body": {
|
|
|
|
"type": "TsInterfaceBody",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 215,
|
|
|
|
"end": 233,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 221,
|
|
|
|
"end": 231,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 221,
|
|
|
|
"end": 222,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 222,
|
|
|
|
"end": 230,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 224,
|
|
|
|
"end": 230,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 224,
|
|
|
|
"end": 225,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 224,
|
|
|
|
"end": 225,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 226,
|
|
|
|
"end": 229,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 226,
|
|
|
|
"end": 229,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"x\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsInterfaceDeclaration",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 235,
|
|
|
|
"end": 297,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 245,
|
|
|
|
"end": 247,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T4",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 247,
|
|
|
|
"end": 264,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 248,
|
|
|
|
"end": 263,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 248,
|
|
|
|
"end": 249,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 258,
|
|
|
|
"end": 263,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 258,
|
|
|
|
"end": 260,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T4",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 260,
|
|
|
|
"end": 263,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 261,
|
|
|
|
"end": 262,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 261,
|
|
|
|
"end": 262,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"extends": [],
|
|
|
|
"body": {
|
|
|
|
"type": "TsInterfaceBody",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 265,
|
|
|
|
"end": 297,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 271,
|
|
|
|
"end": 285,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 271,
|
|
|
|
"end": 272,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 272,
|
|
|
|
"end": 284,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 274,
|
|
|
|
"end": 284,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 274,
|
|
|
|
"end": 279,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 274,
|
|
|
|
"end": 276,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T4",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 276,
|
|
|
|
"end": 279,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 277,
|
|
|
|
"end": 278,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 277,
|
|
|
|
"end": 278,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 280,
|
|
|
|
"end": 283,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 280,
|
|
|
|
"end": 283,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"x\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 305,
|
|
|
|
"end": 307,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "C1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 299,
|
|
|
|
"end": 337,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 314,
|
|
|
|
"end": 325,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 314,
|
|
|
|
"end": 315,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 315,
|
|
|
|
"end": 324,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 317,
|
|
|
|
"end": 324,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 317,
|
|
|
|
"end": 319,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 317,
|
|
|
|
"end": 319,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "C1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 320,
|
|
|
|
"end": 323,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 320,
|
|
|
|
"end": 323,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"x\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"isStatic": false,
|
|
|
|
"decorators": [],
|
|
|
|
"accessibility": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"isOptional": false,
|
2021-04-06 20:06:18 +03:00
|
|
|
"isOverride": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"readonly": false,
|
|
|
|
"declare": false,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"superClass": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"typeParams": null,
|
|
|
|
"superTypeParams": null,
|
|
|
|
"implements": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 345,
|
|
|
|
"end": 347,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "C2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 339,
|
|
|
|
"end": 405,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 354,
|
|
|
|
"end": 367,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 354,
|
|
|
|
"end": 355,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 355,
|
|
|
|
"end": 366,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 357,
|
|
|
|
"end": 366,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsThisType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 357,
|
|
|
|
"end": 361,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 362,
|
|
|
|
"end": 365,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 362,
|
|
|
|
"end": 365,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"y\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"isStatic": false,
|
|
|
|
"decorators": [],
|
|
|
|
"accessibility": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"isOptional": false,
|
2021-04-06 20:06:18 +03:00
|
|
|
"isOverride": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"readonly": false,
|
|
|
|
"declare": false,
|
|
|
|
"definite": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 372,
|
|
|
|
"end": 385,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 372,
|
|
|
|
"end": 373,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 373,
|
|
|
|
"end": 384,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 375,
|
|
|
|
"end": 384,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsThisType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 375,
|
|
|
|
"end": 379,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 380,
|
|
|
|
"end": 383,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 380,
|
|
|
|
"end": 383,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "z",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"z\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"isStatic": false,
|
|
|
|
"decorators": [],
|
|
|
|
"accessibility": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"isOptional": false,
|
2021-04-06 20:06:18 +03:00
|
|
|
"isOverride": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"readonly": false,
|
|
|
|
"declare": false,
|
|
|
|
"definite": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 390,
|
|
|
|
"end": 403,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 390,
|
|
|
|
"end": 391,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "z",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 391,
|
|
|
|
"end": 402,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 393,
|
|
|
|
"end": 402,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsThisType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 393,
|
|
|
|
"end": 397,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 398,
|
|
|
|
"end": 401,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 398,
|
|
|
|
"end": 401,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"x\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"isStatic": false,
|
|
|
|
"decorators": [],
|
|
|
|
"accessibility": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"isOptional": false,
|
2021-04-06 20:06:18 +03:00
|
|
|
"isOverride": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"readonly": false,
|
|
|
|
"declare": false,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"superClass": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"typeParams": null,
|
|
|
|
"superTypeParams": null,
|
|
|
|
"implements": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsInterfaceDeclaration",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 429,
|
|
|
|
"end": 466,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 439,
|
|
|
|
"end": 442,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Foo",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"typeParams": null,
|
|
|
|
"extends": [],
|
|
|
|
"body": {
|
|
|
|
"type": "TsInterfaceBody",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 443,
|
|
|
|
"end": 466,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 449,
|
|
|
|
"end": 464,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 449,
|
|
|
|
"end": 454,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "hello",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 454,
|
|
|
|
"end": 463,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 456,
|
|
|
|
"end": 463,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 477,
|
|
|
|
"end": 480,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 468,
|
|
|
|
"end": 514,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 511,
|
|
|
|
"end": 514,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": []
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 480,
|
|
|
|
"end": 508,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 481,
|
|
|
|
"end": 507,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 481,
|
|
|
|
"end": 482,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"constraint": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 491,
|
|
|
|
"end": 507,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 491,
|
|
|
|
"end": 494,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 491,
|
|
|
|
"end": 494,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Foo",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 497,
|
|
|
|
"end": 507,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 497,
|
|
|
|
"end": 498,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 497,
|
|
|
|
"end": 498,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 499,
|
|
|
|
"end": 506,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-02-04 14:17:42 +03:00
|
|
|
"start": 499,
|
|
|
|
"end": 506,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "hello",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"hello\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": null
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|