swc/crates/swc_ecma_parser/tests/tsc/constructSignatureAssignabilityInInheritance3.json

6628 lines
287 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 118,
"end": 4287,
"ctxt": 0
},
"body": [
{
"type": "TsModuleDeclaration",
"span": {
"start": 118,
"end": 4287,
"ctxt": 0
},
"declare": false,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 125,
"end": 131,
"ctxt": 0
},
"value": "Errors",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 132,
"end": 4287,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 144,
"end": 148,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"declare": false,
"span": {
"start": 138,
"end": 165,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 151,
"end": 163,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 151,
"end": 154,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 154,
"end": 162,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 156,
"end": 162,
"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": 176,
"end": 183,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"declare": false,
"span": {
"start": 170,
"end": 213,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 199,
"end": 211,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 199,
"end": 202,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 202,
"end": 210,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 204,
"end": 210,
"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": 192,
"end": 196,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 224,
"end": 232,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"declare": false,
"span": {
"start": 218,
"end": 265,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 251,
"end": 263,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 251,
"end": 254,
"ctxt": 0
},
"value": "baz",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 254,
"end": 262,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 256,
"end": 262,
"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": 241,
"end": 248,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 276,
"end": 288,
"ctxt": 0
},
"value": "OtherDerived",
"optional": false
},
"declare": false,
"span": {
"start": 270,
"end": 319,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 304,
"end": 317,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 304,
"end": 308,
"ctxt": 0
},
"value": "bing",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 308,
"end": 316,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 310,
"end": 316,
"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": 297,
"end": 301,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "TsModuleDeclaration",
"span": {
"start": 325,
"end": 3460,
"ctxt": 0
},
"declare": false,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 332,
"end": 366,
"ctxt": 0
},
"value": "WithNonGenericSignaturesInBaseType",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 367,
"end": 3460,
"ctxt": 0
},
"body": [
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 431,
"end": 1501,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 441,
"end": 442,
"ctxt": 0
},
"value": "A",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 443,
"end": 1501,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 457,
"end": 489,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 457,
"end": 459,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 459,
"end": 488,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 461,
"end": 488,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 466,
"end": 475,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 467,
"end": 475,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 469,
"end": 475,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 477,
"end": 488,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 480,
"end": 488,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 480,
"end": 486,
"ctxt": 0
},
"kind": "string"
}
}
},
"isAbstract": false
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 502,
"end": 563,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 502,
"end": 504,
"ctxt": 0
},
"value": "a7",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 504,
"end": 562,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 506,
"end": 562,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 511,
"end": 536,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 512,
"end": 536,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 514,
"end": 536,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 515,
"end": 524,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 518,
"end": 524,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 520,
"end": 524,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 520,
"end": 524,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 526,
"end": 536,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 529,
"end": 536,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 529,
"end": 536,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 538,
"end": 562,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 541,
"end": 562,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 542,
"end": 549,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 543,
"end": 549,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 545,
"end": 549,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 545,
"end": 549,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 551,
"end": 562,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 554,
"end": 562,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 554,
"end": 562,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
}
}
},
"isAbstract": false
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 576,
"end": 664,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 576,
"end": 578,
"ctxt": 0
},
"value": "a8",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 578,
"end": 663,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 580,
"end": 663,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 585,
"end": 610,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 586,
"end": 610,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 588,
"end": 610,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 589,
"end": 598,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 592,
"end": 598,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 594,
"end": 598,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 594,
"end": 598,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 600,
"end": 610,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 603,
"end": 610,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 603,
"end": 610,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 612,
"end": 638,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 613,
"end": 638,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 615,
"end": 638,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 616,
"end": 626,
"ctxt": 0
},
"value": "arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 620,
"end": 626,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 622,
"end": 626,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 622,
"end": 626,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 628,
"end": 638,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 631,
"end": 638,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 631,
"end": 638,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 640,
"end": 663,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 643,
"end": 663,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 644,
"end": 651,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 645,
"end": 651,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 647,
"end": 651,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 647,
"end": 651,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 653,
"end": 663,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 656,
"end": 663,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 656,
"end": 663,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
},
"isAbstract": false
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 677,
"end": 709,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 677,
"end": 680,
"ctxt": 0
},
"value": "a10",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 680,
"end": 708,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 682,
"end": 708,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 687,
"end": 699,
"ctxt": 0
},
"rest": {
"start": 687,
"end": 690,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 690,
"end": 691,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 691,
"end": 699,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 693,
"end": 699,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 693,
"end": 697,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 693,
"end": 697,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 701,
"end": 708,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 704,
"end": 708,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 704,
"end": 708,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 722,
"end": 793,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 722,
"end": 725,
"ctxt": 0
},
"value": "a11",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 725,
"end": 792,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 727,
"end": 792,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 732,
"end": 750,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 733,
"end": 750,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 735,
"end": 750,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 737,
"end": 748,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 737,
"end": 740,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 740,
"end": 748,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 742,
"end": 748,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 752,
"end": 783,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 753,
"end": 783,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 755,
"end": 783,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 757,
"end": 769,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 757,
"end": 760,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 760,
"end": 768,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 762,
"end": 768,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 770,
"end": 781,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 770,
"end": 773,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 773,
"end": 781,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 775,
"end": 781,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 785,
"end": 792,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 788,
"end": 792,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 788,
"end": 792,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 806,
"end": 870,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 806,
"end": 809,
"ctxt": 0
},
"value": "a12",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 809,
"end": 869,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 811,
"end": 869,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 816,
"end": 830,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 817,
"end": 830,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 819,
"end": 830,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 819,
"end": 824,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 824,
"end": 830,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 825,
"end": 829,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 825,
"end": 829,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 832,
"end": 850,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 833,
"end": 850,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 835,
"end": 850,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 835,
"end": 840,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 840,
"end": 850,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 841,
"end": 849,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 841,
"end": 849,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
]
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 852,
"end": 869,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 855,
"end": 869,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 855,
"end": 860,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 860,
"end": 869,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 861,
"end": 868,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 861,
"end": 868,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
]
}
}
},
"isAbstract": false
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 883,
"end": 990,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 883,
"end": 886,
"ctxt": 0
},
"value": "a14",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 886,
"end": 989,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 888,
"end": 989,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 906,
"end": 932,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 911,
"end": 920,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 912,
"end": 920,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 914,
"end": 920,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 921,
"end": 931,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 923,
"end": 931,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 923,
"end": 929,
"ctxt": 0
},
"kind": "number"
}
}
},
"typeParams": null
},
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 949,
"end": 975,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 954,
"end": 963,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 955,
"end": 963,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 957,
"end": 963,
"ctxt": 0
},
"kind": "string"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 964,
"end": 974,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 966,
"end": 974,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 966,
"end": 972,
"ctxt": 0
},
"kind": "string"
}
}
},
"typeParams": null
}
]
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1003,
"end": 1052,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1003,
"end": 1006,
"ctxt": 0
},
"value": "a15",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1006,
"end": 1051,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1008,
"end": 1051,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1013,
"end": 1040,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1014,
"end": 1040,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1016,
"end": 1040,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1018,
"end": 1028,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1018,
"end": 1019,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1019,
"end": 1027,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1021,
"end": 1027,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1029,
"end": 1038,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1029,
"end": 1030,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1030,
"end": 1038,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1032,
"end": 1038,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1042,
"end": 1051,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1045,
"end": 1051,
"ctxt": 0
},
"kind": "number"
}
},
"isAbstract": false
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1065,
"end": 1491,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1065,
"end": 1068,
"ctxt": 0
},
"value": "a16",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1068,
"end": 1490,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1070,
"end": 1490,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1194,
"end": 1324,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1199,
"end": 1312,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1200,
"end": 1312,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1202,
"end": 1312,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1224,
"end": 1248,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1229,
"end": 1238,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1230,
"end": 1238,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1232,
"end": 1238,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1239,
"end": 1247,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1241,
"end": 1247,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1269,
"end": 1294,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1274,
"end": 1284,
"ctxt": 0
},
"value": "a",
"optional": true,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1276,
"end": 1284,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1278,
"end": 1284,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1285,
"end": 1293,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1287,
"end": 1293,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1313,
"end": 1323,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1315,
"end": 1323,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1315,
"end": 1321,
"ctxt": 0
},
"kind": "number"
}
}
},
"typeParams": null
},
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1341,
"end": 1476,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1346,
"end": 1463,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1347,
"end": 1463,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1349,
"end": 1463,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1371,
"end": 1397,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1376,
"end": 1386,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1377,
"end": 1386,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1379,
"end": 1386,
"ctxt": 0
},
"kind": "boolean"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1387,
"end": 1396,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1389,
"end": 1396,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
},
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 1418,
"end": 1445,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1423,
"end": 1434,
"ctxt": 0
},
"value": "a",
"optional": true,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1425,
"end": 1434,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1427,
"end": 1434,
"ctxt": 0
},
"kind": "boolean"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1435,
"end": 1444,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1437,
"end": 1444,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1464,
"end": 1475,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1466,
"end": 1475,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1466,
"end": 1473,
"ctxt": 0
},
"kind": "boolean"
}
}
},
"typeParams": null
}
]
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 1511,
"end": 1696,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1521,
"end": 1522,
"ctxt": 0
},
"value": "I",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 1531,
"end": 1532,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1531,
"end": 1532,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 1533,
"end": 1696,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 1547,
"end": 1575,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1547,
"end": 1549,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1549,
"end": 1574,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1551,
"end": 1574,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1562,
"end": 1566,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1563,
"end": 1566,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1565,
"end": 1566,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1565,
"end": 1566,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1555,
"end": 1561,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1556,
"end": 1557,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1556,
"end": 1557,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1559,
"end": 1560,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1559,
"end": 1560,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1568,
"end": 1574,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1571,
"end": 1574,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1571,
"end": 1572,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1571,
"end": 1572,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 1706,
"end": 1856,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1716,
"end": 1718,
"ctxt": 0
},
"value": "I2",
"optional": false
},
"declare": false,
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1718,
"end": 1724,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1719,
"end": 1720,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1719,
"end": 1720,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1722,
"end": 1723,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1722,
"end": 1723,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 1733,
"end": 1734,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1733,
"end": 1734,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 1735,
"end": 1856,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 1749,
"end": 1771,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1749,
"end": 1751,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1751,
"end": 1770,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1753,
"end": 1770,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1758,
"end": 1762,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1759,
"end": 1762,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1761,
"end": 1762,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1761,
"end": 1762,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1764,
"end": 1770,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1767,
"end": 1770,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1767,
"end": 1768,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1767,
"end": 1768,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 1866,
"end": 2079,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1876,
"end": 1878,
"ctxt": 0
},
"value": "I3",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 1887,
"end": 1888,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1887,
"end": 1888,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 1889,
"end": 2079,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 1972,
"end": 2069,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1972,
"end": 1974,
"ctxt": 0
},
"value": "a7",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1974,
"end": 2068,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 1976,
"end": 2068,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2036,
"end": 2052,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2037,
"end": 2052,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2039,
"end": 2052,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2040,
"end": 2046,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2043,
"end": 2046,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2045,
"end": 2046,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2045,
"end": 2046,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2048,
"end": 2052,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2051,
"end": 2052,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2051,
"end": 2052,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1980,
"end": 2035,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1981,
"end": 1995,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1981,
"end": 1982,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1991,
"end": 1995,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1991,
"end": 1995,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1997,
"end": 2014,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1997,
"end": 1998,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2007,
"end": 2014,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2007,
"end": 2014,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2016,
"end": 2034,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2016,
"end": 2017,
"ctxt": 0
},
"value": "V",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2026,
"end": 2034,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2026,
"end": 2034,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2054,
"end": 2068,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2057,
"end": 2068,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2058,
"end": 2062,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2059,
"end": 2062,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2061,
"end": 2062,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2061,
"end": 2062,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2064,
"end": 2068,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2067,
"end": 2068,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2067,
"end": 2068,
"ctxt": 0
},
"value": "V",
"optional": false
},
"typeParams": null
}
}
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2089,
"end": 2271,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2099,
"end": 2101,
"ctxt": 0
},
"value": "I4",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2110,
"end": 2111,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2110,
"end": 2111,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2112,
"end": 2271,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 2126,
"end": 2237,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2126,
"end": 2128,
"ctxt": 0
},
"value": "a8",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2128,
"end": 2236,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2130,
"end": 2236,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2170,
"end": 2186,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2171,
"end": 2186,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2173,
"end": 2186,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2174,
"end": 2180,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2177,
"end": 2180,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2179,
"end": 2180,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2179,
"end": 2180,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2182,
"end": 2186,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2185,
"end": 2186,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2185,
"end": 2186,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 2188,
"end": 2220,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2189,
"end": 2220,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2191,
"end": 2220,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2192,
"end": 2214,
"ctxt": 0
},
"value": "arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2196,
"end": 2214,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2198,
"end": 2214,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2200,
"end": 2212,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2200,
"end": 2203,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2203,
"end": 2211,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2205,
"end": 2211,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2216,
"end": 2220,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2219,
"end": 2220,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2219,
"end": 2220,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2134,
"end": 2169,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2135,
"end": 2149,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2135,
"end": 2136,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2145,
"end": 2149,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2145,
"end": 2149,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2151,
"end": 2168,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2151,
"end": 2152,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2161,
"end": 2168,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2161,
"end": 2168,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2222,
"end": 2236,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2225,
"end": 2236,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2226,
"end": 2230,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2227,
"end": 2230,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2229,
"end": 2230,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2229,
"end": 2230,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2232,
"end": 2236,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2235,
"end": 2236,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2235,
"end": 2236,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2281,
"end": 2457,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2291,
"end": 2294,
"ctxt": 0
},
"value": "I4B",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2303,
"end": 2304,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2303,
"end": 2304,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2305,
"end": 2457,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 2319,
"end": 2364,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2319,
"end": 2322,
"ctxt": 0
},
"value": "a10",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2322,
"end": 2363,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2324,
"end": 2363,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 2348,
"end": 2357,
"ctxt": 0
},
"rest": {
"start": 2348,
"end": 2351,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2351,
"end": 2352,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2352,
"end": 2357,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2354,
"end": 2357,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 2354,
"end": 2355,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2354,
"end": 2355,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2328,
"end": 2347,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2329,
"end": 2346,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2329,
"end": 2330,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2339,
"end": 2346,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2339,
"end": 2346,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2359,
"end": 2363,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2362,
"end": 2363,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2362,
"end": 2363,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2467,
"end": 2669,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2477,
"end": 2480,
"ctxt": 0
},
"value": "I4C",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2489,
"end": 2490,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2489,
"end": 2490,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2491,
"end": 2669,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 2505,
"end": 2551,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2505,
"end": 2508,
"ctxt": 0
},
"value": "a11",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2508,
"end": 2550,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2510,
"end": 2550,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2534,
"end": 2538,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2535,
"end": 2538,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2537,
"end": 2538,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2537,
"end": 2538,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 2540,
"end": 2544,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2541,
"end": 2544,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2543,
"end": 2544,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2543,
"end": 2544,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2514,
"end": 2533,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2515,
"end": 2532,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2515,
"end": 2516,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2525,
"end": 2532,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2525,
"end": 2532,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2546,
"end": 2550,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2549,
"end": 2550,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2549,
"end": 2550,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2679,
"end": 2860,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2689,
"end": 2692,
"ctxt": 0
},
"value": "I4E",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2701,
"end": 2702,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2701,
"end": 2702,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2703,
"end": 2860,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 2717,
"end": 2791,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2717,
"end": 2720,
"ctxt": 0
},
"value": "a12",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2720,
"end": 2790,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2722,
"end": 2790,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2754,
"end": 2768,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2755,
"end": 2768,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2757,
"end": 2768,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2757,
"end": 2762,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2762,
"end": 2768,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2763,
"end": 2767,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2763,
"end": 2767,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 2770,
"end": 2784,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2771,
"end": 2784,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2773,
"end": 2784,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2773,
"end": 2778,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2778,
"end": 2784,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2779,
"end": 2783,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2779,
"end": 2783,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2726,
"end": 2753,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2727,
"end": 2752,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2727,
"end": 2728,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2737,
"end": 2752,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2737,
"end": 2742,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2742,
"end": 2752,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2743,
"end": 2751,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2743,
"end": 2751,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
]
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2786,
"end": 2790,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2789,
"end": 2790,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2789,
"end": 2790,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2870,
"end": 3010,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2880,
"end": 2882,
"ctxt": 0
},
"value": "I6",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2891,
"end": 2892,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2891,
"end": 2892,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2893,
"end": 3010,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 2907,
"end": 2944,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2907,
"end": 2910,
"ctxt": 0
},
"value": "a15",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2910,
"end": 2943,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 2912,
"end": 2943,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2920,
"end": 2937,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2921,
"end": 2937,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2923,
"end": 2937,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2925,
"end": 2930,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2925,
"end": 2926,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2926,
"end": 2929,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2928,
"end": 2929,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2928,
"end": 2929,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2931,
"end": 2935,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2931,
"end": 2932,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2932,
"end": 2935,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2934,
"end": 2935,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2934,
"end": 2935,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2916,
"end": 2919,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2917,
"end": 2918,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2917,
"end": 2918,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2939,
"end": 2943,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2942,
"end": 2943,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2942,
"end": 2943,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 3020,
"end": 3198,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3030,
"end": 3032,
"ctxt": 0
},
"value": "I7",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 3041,
"end": 3042,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 3041,
"end": 3042,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 3043,
"end": 3198,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 3057,
"end": 3112,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3057,
"end": 3060,
"ctxt": 0
},
"value": "a15",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3060,
"end": 3111,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3062,
"end": 3111,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3083,
"end": 3100,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3084,
"end": 3100,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3086,
"end": 3100,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3088,
"end": 3093,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3088,
"end": 3089,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3089,
"end": 3092,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3091,
"end": 3092,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3091,
"end": 3092,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3094,
"end": 3098,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3094,
"end": 3095,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3095,
"end": 3098,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3097,
"end": 3098,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3097,
"end": 3098,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3066,
"end": 3082,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3067,
"end": 3081,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3067,
"end": 3068,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 3077,
"end": 3081,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3077,
"end": 3081,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3102,
"end": 3111,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3105,
"end": 3111,
"ctxt": 0
},
"kind": "number"
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 3208,
"end": 3454,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3218,
"end": 3220,
"ctxt": 0
},
"value": "I8",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 3229,
"end": 3230,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 3229,
"end": 3230,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 3231,
"end": 3454,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 3404,
"end": 3444,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3404,
"end": 3407,
"ctxt": 0
},
"value": "a16",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3407,
"end": 3443,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3409,
"end": 3443,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3417,
"end": 3435,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3418,
"end": 3435,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3420,
"end": 3435,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3425,
"end": 3429,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3426,
"end": 3429,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3428,
"end": 3429,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3428,
"end": 3429,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3431,
"end": 3435,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3434,
"end": 3435,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3434,
"end": 3435,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"isAbstract": false
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3413,
"end": 3416,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3414,
"end": 3415,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3414,
"end": 3415,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3437,
"end": 3443,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3440,
"end": 3443,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3440,
"end": 3441,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3440,
"end": 3441,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
}
]
}
},
{
"type": "TsModuleDeclaration",
"span": {
"start": 3466,
"end": 4285,
"ctxt": 0
},
"declare": false,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 3473,
"end": 3504,
"ctxt": 0
},
"value": "WithGenericSignaturesInBaseType",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 3505,
"end": 4285,
"ctxt": 0
},
"body": [
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 3563,
"end": 3624,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3573,
"end": 3574,
"ctxt": 0
},
"value": "B",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 3575,
"end": 3624,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 3589,
"end": 3614,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3589,
"end": 3591,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3591,
"end": 3613,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3593,
"end": 3613,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3601,
"end": 3605,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3602,
"end": 3605,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3604,
"end": 3605,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3604,
"end": 3605,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3597,
"end": 3600,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3598,
"end": 3599,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3598,
"end": 3599,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3607,
"end": 3613,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3610,
"end": 3613,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3610,
"end": 3611,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3610,
"end": 3611,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 3634,
"end": 3720,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3644,
"end": 3646,
"ctxt": 0
},
"value": "I6",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 3655,
"end": 3656,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 3655,
"end": 3656,
"ctxt": 0
},
"value": "B",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 3657,
"end": 3720,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 3671,
"end": 3701,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3671,
"end": 3673,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3673,
"end": 3700,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3675,
"end": 3700,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3683,
"end": 3687,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3684,
"end": 3687,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3686,
"end": 3687,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3686,
"end": 3687,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3679,
"end": 3682,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3680,
"end": 3681,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3680,
"end": 3681,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3689,
"end": 3700,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3692,
"end": 3700,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3692,
"end": 3698,
"ctxt": 0
},
"kind": "string"
}
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 3778,
"end": 3844,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3788,
"end": 3789,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 3790,
"end": 3844,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 3804,
"end": 3834,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3804,
"end": 3806,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3806,
"end": 3833,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3808,
"end": 3833,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3816,
"end": 3820,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3817,
"end": 3820,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3819,
"end": 3820,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3819,
"end": 3820,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3812,
"end": 3815,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3813,
"end": 3814,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3813,
"end": 3814,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3822,
"end": 3833,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3825,
"end": 3833,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3825,
"end": 3831,
"ctxt": 0
},
"kind": "string"
}
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 3854,
"end": 3935,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3864,
"end": 3866,
"ctxt": 0
},
"value": "I7",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 3875,
"end": 3876,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 3875,
"end": 3876,
"ctxt": 0
},
"value": "C",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 3877,
"end": 3935,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 3891,
"end": 3916,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3891,
"end": 3893,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3893,
"end": 3915,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 3895,
"end": 3915,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3903,
"end": 3907,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3904,
"end": 3907,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3906,
"end": 3907,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3906,
"end": 3907,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3899,
"end": 3902,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3900,
"end": 3901,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3900,
"end": 3901,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3909,
"end": 3915,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3912,
"end": 3915,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3912,
"end": 3913,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3912,
"end": 3913,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 4010,
"end": 4178,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4020,
"end": 4021,
"ctxt": 0
},
"value": "D",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 4022,
"end": 4178,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 4036,
"end": 4168,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 4036,
"end": 4039,
"ctxt": 0
},
"value": "a14",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4039,
"end": 4167,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 4041,
"end": 4167,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 4059,
"end": 4099,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 4083,
"end": 4087,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4084,
"end": 4087,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4086,
"end": 4087,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4086,
"end": 4087,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4088,
"end": 4098,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 4090,
"end": 4098,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 4090,
"end": 4096,
"ctxt": 0
},
"kind": "number"
}
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4063,
"end": 4082,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4064,
"end": 4081,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4064,
"end": 4065,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 4074,
"end": 4081,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4074,
"end": 4081,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 4116,
"end": 4153,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 4137,
"end": 4141,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4138,
"end": 4141,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4140,
"end": 4141,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4140,
"end": 4141,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4142,
"end": 4152,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 4144,
"end": 4152,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 4144,
"end": 4150,
"ctxt": 0
},
"kind": "number"
}
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4120,
"end": 4136,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4121,
"end": 4135,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4121,
"end": 4122,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 4131,
"end": 4135,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4131,
"end": 4135,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 4188,
"end": 4279,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4198,
"end": 4200,
"ctxt": 0
},
"value": "I8",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 4209,
"end": 4210,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4209,
"end": 4210,
"ctxt": 0
},
"value": "D",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 4211,
"end": 4279,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 4225,
"end": 4269,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 4225,
"end": 4228,
"ctxt": 0
},
"value": "a14",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4228,
"end": 4268,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 4230,
"end": 4268,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 4251,
"end": 4255,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4252,
"end": 4255,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4254,
"end": 4255,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4254,
"end": 4255,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4234,
"end": 4250,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4235,
"end": 4249,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4235,
"end": 4236,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 4245,
"end": 4249,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4245,
"end": 4249,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4257,
"end": 4268,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 4260,
"end": 4268,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 4260,
"end": 4266,
"ctxt": 0
},
"kind": "number"
}
}
},
"isAbstract": false
}
},
"typeParams": null
}
]
}
}
]
}
}
]
}
}
],
"interpreter": null
}