swc/crates/swc_ecma_parser/tests/tsc/callSignatureAssignabilityInInheritance3.json
2022-02-04 17:08:38 +09:00

6944 lines
309 KiB
JSON

{
"type": "Script",
"span": {
"start": 120,
"end": 4468,
"ctxt": 0
},
"body": [
{
"type": "TsModuleDeclaration",
"span": {
"start": 120,
"end": 4468,
"ctxt": 0
},
"declare": false,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 127,
"end": 133,
"ctxt": 0
},
"value": "Errors",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 134,
"end": 4468,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 147,
"end": 151,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"declare": false,
"span": {
"start": 141,
"end": 168,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 154,
"end": 166,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 154,
"end": 157,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 157,
"end": 165,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 159,
"end": 165,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 180,
"end": 187,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"declare": false,
"span": {
"start": 174,
"end": 217,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 203,
"end": 215,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 203,
"end": 206,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 206,
"end": 214,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 208,
"end": 214,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 196,
"end": 200,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 229,
"end": 237,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"declare": false,
"span": {
"start": 223,
"end": 270,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 256,
"end": 268,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 256,
"end": 259,
"ctxt": 0
},
"value": "baz",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 259,
"end": 267,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 261,
"end": 267,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 246,
"end": 253,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 282,
"end": 294,
"ctxt": 0
},
"value": "OtherDerived",
"optional": false
},
"declare": false,
"span": {
"start": 276,
"end": 325,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 310,
"end": 323,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 310,
"end": 314,
"ctxt": 0
},
"value": "bing",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 314,
"end": 322,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 316,
"end": 322,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 303,
"end": 307,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "TsModuleDeclaration",
"span": {
"start": 333,
"end": 3980,
"ctxt": 0
},
"declare": false,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 340,
"end": 374,
"ctxt": 0
},
"value": "WithNonGenericSignaturesInBaseType",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 375,
"end": 3980,
"ctxt": 0
},
"body": [
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 441,
"end": 1811,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 451,
"end": 452,
"ctxt": 0
},
"value": "A",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 453,
"end": 1811,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 468,
"end": 496,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 468,
"end": 470,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 470,
"end": 495,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 472,
"end": 495,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 473,
"end": 482,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 474,
"end": 482,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 476,
"end": 482,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 484,
"end": 495,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 487,
"end": 495,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 487,
"end": 493,
"ctxt": 0
},
"kind": "string"
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 510,
"end": 567,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 510,
"end": 512,
"ctxt": 0
},
"value": "a7",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 512,
"end": 566,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 514,
"end": 566,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 515,
"end": 540,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 516,
"end": 540,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 518,
"end": 540,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 519,
"end": 528,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 522,
"end": 528,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 524,
"end": 528,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 524,
"end": 528,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 530,
"end": 540,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 533,
"end": 540,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 533,
"end": 540,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 542,
"end": 566,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 545,
"end": 566,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 546,
"end": 553,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 547,
"end": 553,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 549,
"end": 553,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 549,
"end": 553,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 555,
"end": 566,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 558,
"end": 566,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 558,
"end": 566,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 581,
"end": 665,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 581,
"end": 583,
"ctxt": 0
},
"value": "a8",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 583,
"end": 664,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 585,
"end": 664,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 586,
"end": 611,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 587,
"end": 611,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 589,
"end": 611,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 590,
"end": 599,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 593,
"end": 599,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 595,
"end": 599,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 595,
"end": 599,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 601,
"end": 611,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 604,
"end": 611,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 604,
"end": 611,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 613,
"end": 639,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 614,
"end": 639,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 616,
"end": 639,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 617,
"end": 627,
"ctxt": 0
},
"value": "arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 621,
"end": 627,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 623,
"end": 627,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 623,
"end": 627,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 629,
"end": 639,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 632,
"end": 639,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 632,
"end": 639,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 641,
"end": 664,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 644,
"end": 664,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 645,
"end": 652,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 646,
"end": 652,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 648,
"end": 652,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 648,
"end": 652,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 654,
"end": 664,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 657,
"end": 664,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 657,
"end": 664,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 679,
"end": 707,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 679,
"end": 682,
"ctxt": 0
},
"value": "a10",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 682,
"end": 706,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 684,
"end": 706,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 685,
"end": 697,
"ctxt": 0
},
"rest": {
"start": 685,
"end": 688,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 688,
"end": 689,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 689,
"end": 697,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 691,
"end": 697,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 691,
"end": 695,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 691,
"end": 695,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 699,
"end": 706,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 702,
"end": 706,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 702,
"end": 706,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 721,
"end": 788,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 721,
"end": 724,
"ctxt": 0
},
"value": "a11",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 724,
"end": 787,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 726,
"end": 787,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 727,
"end": 745,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 728,
"end": 745,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 730,
"end": 745,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 732,
"end": 743,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 732,
"end": 735,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 735,
"end": 743,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 737,
"end": 743,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 747,
"end": 778,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 748,
"end": 778,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 750,
"end": 778,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 752,
"end": 764,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 752,
"end": 755,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 755,
"end": 763,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 757,
"end": 763,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 765,
"end": 776,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 765,
"end": 768,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 768,
"end": 776,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 770,
"end": 776,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 780,
"end": 787,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 783,
"end": 787,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 783,
"end": 787,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 802,
"end": 862,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 802,
"end": 805,
"ctxt": 0
},
"value": "a12",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 805,
"end": 861,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 807,
"end": 861,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 808,
"end": 822,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 809,
"end": 822,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 811,
"end": 822,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 811,
"end": 816,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 816,
"end": 822,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 817,
"end": 821,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 817,
"end": 821,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 824,
"end": 842,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 825,
"end": 842,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 827,
"end": 842,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 827,
"end": 832,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 832,
"end": 842,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 833,
"end": 841,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 833,
"end": 841,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
]
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 844,
"end": 861,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 847,
"end": 861,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 847,
"end": 852,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 852,
"end": 861,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 853,
"end": 860,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 853,
"end": 860,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
]
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 876,
"end": 978,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 876,
"end": 879,
"ctxt": 0
},
"value": "a14",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 879,
"end": 977,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 881,
"end": 977,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 900,
"end": 922,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 901,
"end": 910,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 902,
"end": 910,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 904,
"end": 910,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 911,
"end": 921,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 913,
"end": 921,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 913,
"end": 919,
"ctxt": 0
},
"kind": "number"
}
}
},
"typeParams": null
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 940,
"end": 962,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 941,
"end": 950,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 942,
"end": 950,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 944,
"end": 950,
"ctxt": 0
},
"kind": "string"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 951,
"end": 961,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 953,
"end": 961,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 953,
"end": 959,
"ctxt": 0
},
"kind": "string"
}
}
},
"typeParams": null
}
]
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 992,
"end": 1037,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 992,
"end": 995,
"ctxt": 0
},
"value": "a15",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 995,
"end": 1036,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 997,
"end": 1036,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 998,
"end": 1025,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 999,
"end": 1025,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1001,
"end": 1025,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1003,
"end": 1013,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1003,
"end": 1004,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1004,
"end": 1012,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1006,
"end": 1012,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1014,
"end": 1023,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1014,
"end": 1015,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1015,
"end": 1023,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1017,
"end": 1023,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1027,
"end": 1036,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1030,
"end": 1036,
"ctxt": 0
},
"kind": "number"
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1051,
"end": 1463,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1051,
"end": 1054,
"ctxt": 0
},
"value": "a16",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1054,
"end": 1462,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1056,
"end": 1462,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1182,
"end": 1303,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1183,
"end": 1291,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1184,
"end": 1291,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1186,
"end": 1291,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1209,
"end": 1229,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1210,
"end": 1219,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1211,
"end": 1219,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1213,
"end": 1219,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1220,
"end": 1228,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1222,
"end": 1228,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1251,
"end": 1272,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1252,
"end": 1262,
"ctxt": 0
},
"value": "a",
"optional": true,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1254,
"end": 1262,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1256,
"end": 1262,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1263,
"end": 1271,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1265,
"end": 1271,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1292,
"end": 1302,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1294,
"end": 1302,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1294,
"end": 1300,
"ctxt": 0
},
"kind": "number"
}
}
},
"typeParams": null
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1321,
"end": 1447,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1322,
"end": 1434,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1323,
"end": 1434,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1325,
"end": 1434,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1348,
"end": 1370,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1349,
"end": 1359,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1350,
"end": 1359,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1352,
"end": 1359,
"ctxt": 0
},
"kind": "boolean"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1360,
"end": 1369,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1362,
"end": 1369,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1392,
"end": 1415,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1393,
"end": 1404,
"ctxt": 0
},
"value": "a",
"optional": true,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1395,
"end": 1404,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1397,
"end": 1404,
"ctxt": 0
},
"kind": "boolean"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1405,
"end": 1414,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1407,
"end": 1414,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1435,
"end": 1446,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1437,
"end": 1446,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1437,
"end": 1444,
"ctxt": 0
},
"kind": "boolean"
}
}
},
"typeParams": null
}
]
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1477,
"end": 1800,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1477,
"end": 1480,
"ctxt": 0
},
"value": "a17",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1480,
"end": 1799,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1482,
"end": 1799,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1501,
"end": 1633,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1502,
"end": 1624,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1503,
"end": 1624,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1505,
"end": 1624,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1528,
"end": 1557,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1548,
"end": 1552,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1549,
"end": 1552,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1551,
"end": 1552,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1551,
"end": 1552,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1553,
"end": 1556,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1555,
"end": 1556,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1555,
"end": 1556,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1528,
"end": 1547,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1529,
"end": 1546,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1529,
"end": 1530,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1539,
"end": 1546,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1539,
"end": 1546,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1579,
"end": 1605,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1596,
"end": 1600,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1597,
"end": 1600,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1599,
"end": 1600,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1599,
"end": 1600,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1601,
"end": 1604,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1603,
"end": 1604,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1603,
"end": 1604,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1579,
"end": 1595,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1580,
"end": 1594,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1580,
"end": 1581,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1590,
"end": 1594,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1590,
"end": 1594,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1625,
"end": 1632,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1627,
"end": 1632,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1627,
"end": 1630,
"ctxt": 0
},
"kind": "any"
}
}
},
"typeParams": null
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1651,
"end": 1784,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1652,
"end": 1775,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1653,
"end": 1775,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1655,
"end": 1775,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1678,
"end": 1708,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1699,
"end": 1703,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1700,
"end": 1703,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1702,
"end": 1703,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1702,
"end": 1703,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1704,
"end": 1707,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1706,
"end": 1707,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1706,
"end": 1707,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1678,
"end": 1698,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1679,
"end": 1697,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1679,
"end": 1680,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1689,
"end": 1697,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1689,
"end": 1697,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1730,
"end": 1756,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1747,
"end": 1751,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1748,
"end": 1751,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1750,
"end": 1751,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1750,
"end": 1751,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1752,
"end": 1755,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1754,
"end": 1755,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1754,
"end": 1755,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1730,
"end": 1746,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1731,
"end": 1745,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1731,
"end": 1732,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1741,
"end": 1745,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1741,
"end": 1745,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1776,
"end": 1783,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1778,
"end": 1783,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1778,
"end": 1781,
"ctxt": 0
},
"kind": "any"
}
}
},
"typeParams": null
}
]
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 1823,
"end": 2006,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1833,
"end": 1834,
"ctxt": 0
},
"value": "I",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 1843,
"end": 1844,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1843,
"end": 1844,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 1845,
"end": 2006,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 1860,
"end": 1884,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1860,
"end": 1862,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1862,
"end": 1883,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1864,
"end": 1883,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1871,
"end": 1875,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1872,
"end": 1875,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1874,
"end": 1875,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1874,
"end": 1875,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1864,
"end": 1870,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1865,
"end": 1866,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1865,
"end": 1866,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1868,
"end": 1869,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1868,
"end": 1869,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1877,
"end": 1883,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1880,
"end": 1883,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1880,
"end": 1881,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1880,
"end": 1881,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2018,
"end": 2166,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2028,
"end": 2030,
"ctxt": 0
},
"value": "I2",
"optional": false
},
"declare": false,
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2030,
"end": 2036,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2031,
"end": 2032,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2031,
"end": 2032,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2034,
"end": 2035,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2034,
"end": 2035,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2045,
"end": 2046,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2045,
"end": 2046,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2047,
"end": 2166,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 2062,
"end": 2080,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2062,
"end": 2064,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2064,
"end": 2079,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2066,
"end": 2079,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2067,
"end": 2071,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2068,
"end": 2071,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2070,
"end": 2071,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2070,
"end": 2071,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2073,
"end": 2079,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2076,
"end": 2079,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 2076,
"end": 2077,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2076,
"end": 2077,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2178,
"end": 2390,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2188,
"end": 2190,
"ctxt": 0
},
"value": "I3",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2199,
"end": 2200,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2199,
"end": 2200,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2201,
"end": 2390,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 2286,
"end": 2379,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2286,
"end": 2288,
"ctxt": 0
},
"value": "a7",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2288,
"end": 2378,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2290,
"end": 2378,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2346,
"end": 2362,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2347,
"end": 2362,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2349,
"end": 2362,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2350,
"end": 2356,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2353,
"end": 2356,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2355,
"end": 2356,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2355,
"end": 2356,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2358,
"end": 2362,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2361,
"end": 2362,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2361,
"end": 2362,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2290,
"end": 2345,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2291,
"end": 2305,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2291,
"end": 2292,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2301,
"end": 2305,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2301,
"end": 2305,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2307,
"end": 2324,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2307,
"end": 2308,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2317,
"end": 2324,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2317,
"end": 2324,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2326,
"end": 2344,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2326,
"end": 2327,
"ctxt": 0
},
"value": "V",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2336,
"end": 2344,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2336,
"end": 2344,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2364,
"end": 2378,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2367,
"end": 2378,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2368,
"end": 2372,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2369,
"end": 2372,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2371,
"end": 2372,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2371,
"end": 2372,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2374,
"end": 2378,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2377,
"end": 2378,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2377,
"end": 2378,
"ctxt": 0
},
"value": "V",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2402,
"end": 2582,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2412,
"end": 2414,
"ctxt": 0
},
"value": "I4",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2423,
"end": 2424,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2423,
"end": 2424,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2425,
"end": 2582,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 2440,
"end": 2547,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2440,
"end": 2442,
"ctxt": 0
},
"value": "a8",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2442,
"end": 2546,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2444,
"end": 2546,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2480,
"end": 2496,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2481,
"end": 2496,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2483,
"end": 2496,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2484,
"end": 2490,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2487,
"end": 2490,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2489,
"end": 2490,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2489,
"end": 2490,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2492,
"end": 2496,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2495,
"end": 2496,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2495,
"end": 2496,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 2498,
"end": 2530,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2499,
"end": 2530,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2501,
"end": 2530,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2502,
"end": 2524,
"ctxt": 0
},
"value": "arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2506,
"end": 2524,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2508,
"end": 2524,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2510,
"end": 2522,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2510,
"end": 2513,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2513,
"end": 2521,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2515,
"end": 2521,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2526,
"end": 2530,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2529,
"end": 2530,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2529,
"end": 2530,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2444,
"end": 2479,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2445,
"end": 2459,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2445,
"end": 2446,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2455,
"end": 2459,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2455,
"end": 2459,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2461,
"end": 2478,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2461,
"end": 2462,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2471,
"end": 2478,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2471,
"end": 2478,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2532,
"end": 2546,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2535,
"end": 2546,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2536,
"end": 2540,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2537,
"end": 2540,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2539,
"end": 2540,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2539,
"end": 2540,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2542,
"end": 2546,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2545,
"end": 2546,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2545,
"end": 2546,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2594,
"end": 2768,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2604,
"end": 2607,
"ctxt": 0
},
"value": "I4B",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2616,
"end": 2617,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2616,
"end": 2617,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2618,
"end": 2768,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 2633,
"end": 2674,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2633,
"end": 2636,
"ctxt": 0
},
"value": "a10",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2636,
"end": 2673,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2638,
"end": 2673,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 2658,
"end": 2667,
"ctxt": 0
},
"rest": {
"start": 2658,
"end": 2661,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2661,
"end": 2662,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2662,
"end": 2667,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2664,
"end": 2667,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 2664,
"end": 2665,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2664,
"end": 2665,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2638,
"end": 2657,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2639,
"end": 2656,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2639,
"end": 2640,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2649,
"end": 2656,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2649,
"end": 2656,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2669,
"end": 2673,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2672,
"end": 2673,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2672,
"end": 2673,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2780,
"end": 2980,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2790,
"end": 2793,
"ctxt": 0
},
"value": "I4C",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2802,
"end": 2803,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2802,
"end": 2803,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2804,
"end": 2980,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 2819,
"end": 2861,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2819,
"end": 2822,
"ctxt": 0
},
"value": "a11",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2822,
"end": 2860,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2824,
"end": 2860,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2844,
"end": 2848,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2845,
"end": 2848,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2847,
"end": 2848,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2847,
"end": 2848,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 2850,
"end": 2854,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2851,
"end": 2854,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2853,
"end": 2854,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2853,
"end": 2854,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2824,
"end": 2843,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2825,
"end": 2842,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2825,
"end": 2826,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2835,
"end": 2842,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2835,
"end": 2842,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2856,
"end": 2860,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2859,
"end": 2860,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2859,
"end": 2860,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2992,
"end": 3171,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3002,
"end": 3005,
"ctxt": 0
},
"value": "I4E",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 3014,
"end": 3015,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 3014,
"end": 3015,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 3016,
"end": 3171,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 3031,
"end": 3101,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3031,
"end": 3034,
"ctxt": 0
},
"value": "a12",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3034,
"end": 3100,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 3036,
"end": 3100,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3064,
"end": 3078,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3065,
"end": 3078,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3067,
"end": 3078,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3067,
"end": 3072,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 3072,
"end": 3078,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 3073,
"end": 3077,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3073,
"end": 3077,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 3080,
"end": 3094,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3081,
"end": 3094,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3083,
"end": 3094,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3083,
"end": 3088,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 3088,
"end": 3094,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 3089,
"end": 3093,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3089,
"end": 3093,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3036,
"end": 3063,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3037,
"end": 3062,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3037,
"end": 3038,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 3047,
"end": 3062,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3047,
"end": 3052,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 3052,
"end": 3062,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 3053,
"end": 3061,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3053,
"end": 3061,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
]
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3096,
"end": 3100,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3099,
"end": 3100,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3099,
"end": 3100,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 3183,
"end": 3321,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3193,
"end": 3195,
"ctxt": 0
},
"value": "I6",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 3204,
"end": 3205,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 3204,
"end": 3205,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 3206,
"end": 3321,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 3221,
"end": 3254,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3221,
"end": 3224,
"ctxt": 0
},
"value": "a15",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3224,
"end": 3253,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 3226,
"end": 3253,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3230,
"end": 3247,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3231,
"end": 3247,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3233,
"end": 3247,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3235,
"end": 3240,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3235,
"end": 3236,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3236,
"end": 3239,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3238,
"end": 3239,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3238,
"end": 3239,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3241,
"end": 3245,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3241,
"end": 3242,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3242,
"end": 3245,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3244,
"end": 3245,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3244,
"end": 3245,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3226,
"end": 3229,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3227,
"end": 3228,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3227,
"end": 3228,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3249,
"end": 3253,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3252,
"end": 3253,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3252,
"end": 3253,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 3333,
"end": 3509,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3343,
"end": 3345,
"ctxt": 0
},
"value": "I7",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 3354,
"end": 3355,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 3354,
"end": 3355,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 3356,
"end": 3509,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 3371,
"end": 3422,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3371,
"end": 3374,
"ctxt": 0
},
"value": "a15",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3374,
"end": 3421,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 3376,
"end": 3421,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3393,
"end": 3410,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3394,
"end": 3410,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3396,
"end": 3410,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3398,
"end": 3403,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3398,
"end": 3399,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3399,
"end": 3402,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3401,
"end": 3402,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3401,
"end": 3402,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3404,
"end": 3408,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3404,
"end": 3405,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3405,
"end": 3408,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3407,
"end": 3408,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3407,
"end": 3408,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3376,
"end": 3392,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3377,
"end": 3391,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3377,
"end": 3378,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 3387,
"end": 3391,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3387,
"end": 3391,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3412,
"end": 3421,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3415,
"end": 3421,
"ctxt": 0
},
"kind": "number"
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 3521,
"end": 3762,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3531,
"end": 3533,
"ctxt": 0
},
"value": "I8",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 3542,
"end": 3543,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 3542,
"end": 3543,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 3544,
"end": 3762,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 3719,
"end": 3751,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3719,
"end": 3722,
"ctxt": 0
},
"value": "a16",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3722,
"end": 3750,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 3724,
"end": 3750,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3728,
"end": 3742,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3729,
"end": 3742,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 3731,
"end": 3742,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3732,
"end": 3736,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3733,
"end": 3736,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3735,
"end": 3736,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3735,
"end": 3736,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3738,
"end": 3742,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3741,
"end": 3742,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3741,
"end": 3742,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3724,
"end": 3727,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3725,
"end": 3726,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3725,
"end": 3726,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3744,
"end": 3750,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3747,
"end": 3750,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3747,
"end": 3748,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3747,
"end": 3748,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 3774,
"end": 3973,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3784,
"end": 3786,
"ctxt": 0
},
"value": "I9",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 3795,
"end": 3796,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 3795,
"end": 3796,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 3797,
"end": 3973,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 3812,
"end": 3846,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3812,
"end": 3815,
"ctxt": 0
},
"value": "a17",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3815,
"end": 3845,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 3817,
"end": 3845,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3821,
"end": 3835,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3822,
"end": 3835,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 3824,
"end": 3835,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3825,
"end": 3829,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3826,
"end": 3829,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3828,
"end": 3829,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3828,
"end": 3829,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3831,
"end": 3835,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3834,
"end": 3835,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3834,
"end": 3835,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3817,
"end": 3820,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3818,
"end": 3819,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3818,
"end": 3819,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3837,
"end": 3845,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3840,
"end": 3845,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3840,
"end": 3843,
"ctxt": 0
},
"kind": "any"
}
}
}
}
},
"typeParams": null
}
]
}
}
]
}
},
{
"type": "TsModuleDeclaration",
"span": {
"start": 3988,
"end": 4465,
"ctxt": 0
},
"declare": false,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 3995,
"end": 4026,
"ctxt": 0
},
"value": "WithGenericSignaturesInBaseType",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 4027,
"end": 4465,
"ctxt": 0
},
"body": [
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 4087,
"end": 4146,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4097,
"end": 4098,
"ctxt": 0
},
"value": "B",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 4099,
"end": 4146,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 4114,
"end": 4135,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 4114,
"end": 4116,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4116,
"end": 4134,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 4118,
"end": 4134,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 4122,
"end": 4126,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4123,
"end": 4126,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4125,
"end": 4126,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4125,
"end": 4126,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4118,
"end": 4121,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4119,
"end": 4120,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4119,
"end": 4120,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4128,
"end": 4134,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 4131,
"end": 4134,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 4131,
"end": 4132,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4131,
"end": 4132,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 4158,
"end": 4242,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4168,
"end": 4170,
"ctxt": 0
},
"value": "I6",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 4179,
"end": 4180,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4179,
"end": 4180,
"ctxt": 0
},
"value": "B",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 4181,
"end": 4242,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 4196,
"end": 4222,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 4196,
"end": 4198,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4198,
"end": 4221,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 4200,
"end": 4221,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 4204,
"end": 4208,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4205,
"end": 4208,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4207,
"end": 4208,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4207,
"end": 4208,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4200,
"end": 4203,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4201,
"end": 4202,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4201,
"end": 4202,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4210,
"end": 4221,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 4213,
"end": 4221,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 4213,
"end": 4219,
"ctxt": 0
},
"kind": "string"
}
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 4303,
"end": 4367,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4313,
"end": 4314,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 4315,
"end": 4367,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 4330,
"end": 4356,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 4330,
"end": 4332,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4332,
"end": 4355,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 4334,
"end": 4355,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 4338,
"end": 4342,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4339,
"end": 4342,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4341,
"end": 4342,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4341,
"end": 4342,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4334,
"end": 4337,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4335,
"end": 4336,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4335,
"end": 4336,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4344,
"end": 4355,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 4347,
"end": 4355,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 4347,
"end": 4353,
"ctxt": 0
},
"kind": "string"
}
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 4379,
"end": 4458,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4389,
"end": 4391,
"ctxt": 0
},
"value": "I7",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 4400,
"end": 4401,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4400,
"end": 4401,
"ctxt": 0
},
"value": "C",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 4402,
"end": 4458,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 4417,
"end": 4438,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 4417,
"end": 4419,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4419,
"end": 4437,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 4421,
"end": 4437,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 4425,
"end": 4429,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4426,
"end": 4429,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4428,
"end": 4429,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4428,
"end": 4429,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4421,
"end": 4424,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4422,
"end": 4423,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4422,
"end": 4423,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4431,
"end": 4437,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 4434,
"end": 4437,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 4434,
"end": 4435,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4434,
"end": 4435,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
},
"typeParams": null
}
]
}
}
]
}
}
]
}
}
],
"interpreter": null
}