2021-01-15 13:30:44 +03:00
|
|
|
{
|
|
|
|
"type": "Script",
|
|
|
|
"span": {
|
|
|
|
"start": 97,
|
|
|
|
"end": 458,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 103,
|
|
|
|
"end": 104,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "C",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
|
|
|
"start": 97,
|
|
|
|
"end": 121,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
|
|
|
"start": 114,
|
|
|
|
"end": 119,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 114,
|
|
|
|
"end": 115,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "a",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 115,
|
|
|
|
"end": 118,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 117,
|
|
|
|
"end": 118,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 117,
|
|
|
|
"end": 118,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 104,
|
|
|
|
"end": 107,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
|
|
|
"start": 105,
|
|
|
|
"end": 106,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 105,
|
|
|
|
"end": 106,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"superTypeParams": null,
|
|
|
|
"implements": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 129,
|
|
|
|
"end": 131,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "C2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
|
|
|
"start": 123,
|
|
|
|
"end": 148,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
|
|
|
"start": 141,
|
|
|
|
"end": 146,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 141,
|
|
|
|
"end": 142,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "b",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 142,
|
|
|
|
"end": 145,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 144,
|
|
|
|
"end": 145,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 144,
|
|
|
|
"end": 145,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 131,
|
|
|
|
"end": 134,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
|
|
|
"start": 132,
|
|
|
|
"end": 133,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 132,
|
|
|
|
"end": 133,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"superTypeParams": null,
|
|
|
|
"implements": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 156,
|
|
|
|
"end": 158,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "C3",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
|
|
|
"start": 150,
|
|
|
|
"end": 175,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
|
|
|
"start": 168,
|
|
|
|
"end": 173,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 168,
|
|
|
|
"end": 169,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "c",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 169,
|
|
|
|
"end": 172,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 171,
|
|
|
|
"end": 172,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 171,
|
|
|
|
"end": 172,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 158,
|
|
|
|
"end": 161,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
|
|
|
"start": 159,
|
|
|
|
"end": 160,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 159,
|
|
|
|
"end": 160,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"superTypeParams": null,
|
|
|
|
"implements": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 183,
|
|
|
|
"end": 185,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "C4",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
|
|
|
"start": 177,
|
|
|
|
"end": 202,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
|
|
|
"start": 195,
|
|
|
|
"end": 200,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 195,
|
|
|
|
"end": 196,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "d",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 196,
|
|
|
|
"end": 199,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 198,
|
|
|
|
"end": 199,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 198,
|
|
|
|
"end": 199,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 185,
|
|
|
|
"end": 188,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
|
|
|
"start": 186,
|
|
|
|
"end": 187,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 186,
|
|
|
|
"end": 187,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"superTypeParams": null,
|
|
|
|
"implements": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsInterfaceDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 204,
|
|
|
|
"end": 271,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 214,
|
|
|
|
"end": 215,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 215,
|
|
|
|
"end": 218,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
|
|
|
"start": 216,
|
|
|
|
"end": 217,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 216,
|
|
|
|
"end": 217,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
{
|
|
|
|
"type": "TsExpressionWithTypeArguments",
|
|
|
|
"span": {
|
|
|
|
"start": 227,
|
|
|
|
"end": 236,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 227,
|
|
|
|
"end": 228,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "C",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeArguments": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
|
|
|
"start": 228,
|
|
|
|
"end": 236,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 229,
|
|
|
|
"end": 235,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsExpressionWithTypeArguments",
|
|
|
|
"span": {
|
|
|
|
"start": 238,
|
|
|
|
"end": 248,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 238,
|
|
|
|
"end": 240,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "C3",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeArguments": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
|
|
|
"start": 240,
|
|
|
|
"end": 248,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 241,
|
|
|
|
"end": 247,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"body": {
|
|
|
|
"type": "TsInterfaceBody",
|
|
|
|
"span": {
|
|
|
|
"start": 249,
|
|
|
|
"end": 271,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
|
|
|
"start": 264,
|
|
|
|
"end": 269,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 264,
|
|
|
|
"end": 265,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 265,
|
|
|
|
"end": 268,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 267,
|
|
|
|
"end": 268,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 267,
|
|
|
|
"end": 268,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsInterfaceDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 273,
|
|
|
|
"end": 331,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 283,
|
|
|
|
"end": 284,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 284,
|
|
|
|
"end": 287,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
|
|
|
"start": 285,
|
|
|
|
"end": 286,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 285,
|
|
|
|
"end": 286,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
{
|
|
|
|
"type": "TsExpressionWithTypeArguments",
|
|
|
|
"span": {
|
|
|
|
"start": 296,
|
|
|
|
"end": 305,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 296,
|
|
|
|
"end": 297,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "C",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeArguments": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
|
|
|
"start": 297,
|
|
|
|
"end": 305,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 298,
|
|
|
|
"end": 304,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsExpressionWithTypeArguments",
|
|
|
|
"span": {
|
|
|
|
"start": 307,
|
|
|
|
"end": 317,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 307,
|
|
|
|
"end": 309,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "C4",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeArguments": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
|
|
|
"start": 309,
|
|
|
|
"end": 317,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 310,
|
|
|
|
"end": 316,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"body": {
|
|
|
|
"type": "TsInterfaceBody",
|
|
|
|
"span": {
|
|
|
|
"start": 318,
|
|
|
|
"end": 331,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
|
|
|
"start": 324,
|
|
|
|
"end": 329,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 324,
|
|
|
|
"end": 325,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "z",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 325,
|
|
|
|
"end": 328,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 327,
|
|
|
|
"end": 328,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 327,
|
|
|
|
"end": 328,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 339,
|
|
|
|
"end": 340,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "D",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
|
|
|
"start": 333,
|
|
|
|
"end": 458,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
|
|
|
"start": 369,
|
|
|
|
"end": 379,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 369,
|
|
|
|
"end": 370,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "a",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 370,
|
|
|
|
"end": 378,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 372,
|
|
|
|
"end": 378,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": {
|
|
|
|
"start": 384,
|
|
|
|
"end": 394,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 384,
|
|
|
|
"end": 385,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "b",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 385,
|
|
|
|
"end": 393,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 387,
|
|
|
|
"end": 393,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": {
|
|
|
|
"start": 399,
|
|
|
|
"end": 409,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 399,
|
|
|
|
"end": 400,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "c",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 400,
|
|
|
|
"end": 408,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 402,
|
|
|
|
"end": 408,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": {
|
|
|
|
"start": 414,
|
|
|
|
"end": 424,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 414,
|
|
|
|
"end": 415,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "d",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 415,
|
|
|
|
"end": 423,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 417,
|
|
|
|
"end": 423,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": {
|
|
|
|
"start": 429,
|
|
|
|
"end": 440,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 429,
|
|
|
|
"end": 430,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 430,
|
|
|
|
"end": 439,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 432,
|
|
|
|
"end": 439,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": {
|
|
|
|
"start": 445,
|
|
|
|
"end": 456,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 445,
|
|
|
|
"end": 446,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "z",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 446,
|
|
|
|
"end": 455,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 448,
|
|
|
|
"end": 455,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": "TsExpressionWithTypeArguments",
|
|
|
|
"span": {
|
|
|
|
"start": 352,
|
|
|
|
"end": 362,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 352,
|
|
|
|
"end": 353,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeArguments": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
|
|
|
"start": 353,
|
|
|
|
"end": 362,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 354,
|
|
|
|
"end": 361,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|