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

6590 lines
220 KiB
JSON

{
"type": "Script",
"span": {
"start": 208,
"end": 2536,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 214,
"end": 218,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"declare": false,
"span": {
"start": 208,
"end": 235,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 221,
"end": 233,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 221,
"end": 224,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 224,
"end": 232,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 226,
"end": 232,
"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": 242,
"end": 249,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"declare": false,
"span": {
"start": 236,
"end": 279,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 265,
"end": 277,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 265,
"end": 268,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 268,
"end": 276,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 270,
"end": 276,
"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": 258,
"end": 262,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 286,
"end": 294,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"declare": false,
"span": {
"start": 280,
"end": 327,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 313,
"end": 325,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 313,
"end": 316,
"ctxt": 0
},
"value": "baz",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 316,
"end": 324,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 318,
"end": 324,
"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": 310,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 334,
"end": 346,
"ctxt": 0
},
"value": "OtherDerived",
"optional": false
},
"declare": false,
"span": {
"start": 328,
"end": 377,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 362,
"end": 375,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 362,
"end": 366,
"ctxt": 0
},
"value": "bing",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 366,
"end": 374,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 368,
"end": 374,
"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": 355,
"end": 359,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 379,
"end": 1168,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 389,
"end": 390,
"ctxt": 0
},
"value": "A",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 391,
"end": 1168,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 413,
"end": 440,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 413,
"end": 414,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 414,
"end": 439,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 416,
"end": 439,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 417,
"end": 426,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 418,
"end": 426,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 420,
"end": 426,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 428,
"end": 439,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 431,
"end": 439,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 431,
"end": 437,
"ctxt": 0
},
"kind": "number"
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 445,
"end": 473,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 445,
"end": 447,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 447,
"end": 472,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 449,
"end": 472,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 450,
"end": 459,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 451,
"end": 459,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 453,
"end": 459,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 461,
"end": 472,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 464,
"end": 472,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 464,
"end": 470,
"ctxt": 0
},
"kind": "string"
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 478,
"end": 502,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 478,
"end": 480,
"ctxt": 0
},
"value": "a3",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 480,
"end": 501,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 482,
"end": 501,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 483,
"end": 492,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 484,
"end": 492,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 486,
"end": 492,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 494,
"end": 501,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 497,
"end": 501,
"ctxt": 0
},
"kind": "void"
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 507,
"end": 544,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 507,
"end": 509,
"ctxt": 0
},
"value": "a4",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 509,
"end": 543,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 511,
"end": 543,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 512,
"end": 521,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 513,
"end": 521,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 515,
"end": 521,
"ctxt": 0
},
"kind": "string"
}
}
},
{
"type": "Identifier",
"span": {
"start": 523,
"end": 532,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 524,
"end": 532,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 526,
"end": 532,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 534,
"end": 543,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 537,
"end": 543,
"ctxt": 0
},
"kind": "string"
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 549,
"end": 592,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 549,
"end": 551,
"ctxt": 0
},
"value": "a5",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 551,
"end": 591,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 553,
"end": 591,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 554,
"end": 580,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 555,
"end": 580,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 557,
"end": 580,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 558,
"end": 569,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 561,
"end": 569,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 563,
"end": 569,
"ctxt": 0
},
"kind": "string"
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 571,
"end": 580,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 574,
"end": 580,
"ctxt": 0
},
"kind": "number"
}
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 582,
"end": 591,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 585,
"end": 591,
"ctxt": 0
},
"kind": "string"
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 597,
"end": 637,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 597,
"end": 599,
"ctxt": 0
},
"value": "a6",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 599,
"end": 636,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 601,
"end": 636,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 602,
"end": 627,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 603,
"end": 627,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 605,
"end": 627,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 606,
"end": 615,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 609,
"end": 615,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 611,
"end": 615,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 611,
"end": 615,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 617,
"end": 627,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 620,
"end": 627,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 620,
"end": 627,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 629,
"end": 636,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 632,
"end": 636,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 632,
"end": 636,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 642,
"end": 698,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 642,
"end": 644,
"ctxt": 0
},
"value": "a7",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 644,
"end": 697,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 646,
"end": 697,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 647,
"end": 672,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 648,
"end": 672,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 650,
"end": 672,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 651,
"end": 660,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 654,
"end": 660,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 656,
"end": 660,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 656,
"end": 660,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 662,
"end": 672,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 665,
"end": 672,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 665,
"end": 672,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 674,
"end": 697,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 677,
"end": 697,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 678,
"end": 685,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 679,
"end": 685,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 681,
"end": 685,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 681,
"end": 685,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 687,
"end": 697,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 690,
"end": 697,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 690,
"end": 697,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 703,
"end": 787,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 703,
"end": 705,
"ctxt": 0
},
"value": "a8",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 705,
"end": 786,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 707,
"end": 786,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 708,
"end": 733,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 709,
"end": 733,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 711,
"end": 733,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 712,
"end": 721,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 715,
"end": 721,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 717,
"end": 721,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 717,
"end": 721,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 723,
"end": 733,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 726,
"end": 733,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 726,
"end": 733,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 735,
"end": 761,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 736,
"end": 761,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 738,
"end": 761,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 739,
"end": 749,
"ctxt": 0
},
"value": "arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 743,
"end": 749,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 745,
"end": 749,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 745,
"end": 749,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 751,
"end": 761,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 754,
"end": 761,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 754,
"end": 761,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 763,
"end": 786,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 766,
"end": 786,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 767,
"end": 774,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 768,
"end": 774,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 770,
"end": 774,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 770,
"end": 774,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 776,
"end": 786,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 779,
"end": 786,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 779,
"end": 786,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 792,
"end": 876,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 792,
"end": 794,
"ctxt": 0
},
"value": "a9",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 794,
"end": 875,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 796,
"end": 875,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 797,
"end": 822,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 798,
"end": 822,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 800,
"end": 822,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 801,
"end": 810,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 804,
"end": 810,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 806,
"end": 810,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 806,
"end": 810,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 812,
"end": 822,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 815,
"end": 822,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 815,
"end": 822,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 824,
"end": 850,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 825,
"end": 850,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 827,
"end": 850,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 828,
"end": 838,
"ctxt": 0
},
"value": "arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 832,
"end": 838,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 834,
"end": 838,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 834,
"end": 838,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 840,
"end": 850,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 843,
"end": 850,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 843,
"end": 850,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 852,
"end": 875,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 855,
"end": 875,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 856,
"end": 863,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 857,
"end": 863,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 859,
"end": 863,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 859,
"end": 863,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 865,
"end": 875,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 868,
"end": 875,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 868,
"end": 875,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 881,
"end": 915,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 881,
"end": 884,
"ctxt": 0
},
"value": "a10",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 884,
"end": 914,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 886,
"end": 914,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 887,
"end": 902,
"ctxt": 0
},
"rest": {
"start": 887,
"end": 890,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 890,
"end": 891,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 891,
"end": 902,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 893,
"end": 902,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 893,
"end": 900,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 893,
"end": 900,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 904,
"end": 914,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 907,
"end": 914,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 907,
"end": 914,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 920,
"end": 987,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 920,
"end": 923,
"ctxt": 0
},
"value": "a11",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 923,
"end": 986,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 925,
"end": 986,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 926,
"end": 944,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 927,
"end": 944,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 929,
"end": 944,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 931,
"end": 942,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 931,
"end": 934,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 934,
"end": 942,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 936,
"end": 942,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 946,
"end": 977,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 947,
"end": 977,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 949,
"end": 977,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 951,
"end": 963,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 951,
"end": 954,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 954,
"end": 962,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 956,
"end": 962,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 964,
"end": 975,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 964,
"end": 967,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 967,
"end": 975,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 969,
"end": 975,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 979,
"end": 986,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 982,
"end": 986,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 982,
"end": 986,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 992,
"end": 1052,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 992,
"end": 995,
"ctxt": 0
},
"value": "a12",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 995,
"end": 1051,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 997,
"end": 1051,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 998,
"end": 1012,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 999,
"end": 1012,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1001,
"end": 1012,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1001,
"end": 1006,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 1006,
"end": 1012,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 1007,
"end": 1011,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1007,
"end": 1011,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 1014,
"end": 1032,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1015,
"end": 1032,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1017,
"end": 1032,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1017,
"end": 1022,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 1022,
"end": 1032,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 1023,
"end": 1031,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1023,
"end": 1031,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
]
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1034,
"end": 1051,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1037,
"end": 1051,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1037,
"end": 1042,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 1042,
"end": 1051,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 1043,
"end": 1050,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1043,
"end": 1050,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
]
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1057,
"end": 1116,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1057,
"end": 1060,
"ctxt": 0
},
"value": "a13",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1060,
"end": 1115,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1062,
"end": 1115,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1063,
"end": 1077,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1064,
"end": 1077,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1066,
"end": 1077,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1066,
"end": 1071,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 1071,
"end": 1077,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 1072,
"end": 1076,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1072,
"end": 1076,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 1079,
"end": 1096,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1080,
"end": 1096,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1082,
"end": 1096,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1082,
"end": 1087,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 1087,
"end": 1096,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 1088,
"end": 1095,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1088,
"end": 1095,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
]
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1098,
"end": 1115,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1101,
"end": 1115,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1101,
"end": 1106,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 1106,
"end": 1115,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 1107,
"end": 1114,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1107,
"end": 1114,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
]
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1121,
"end": 1166,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1121,
"end": 1124,
"ctxt": 0
},
"value": "a14",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1124,
"end": 1165,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1126,
"end": 1165,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1127,
"end": 1154,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1128,
"end": 1154,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1130,
"end": 1154,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1132,
"end": 1142,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1132,
"end": 1133,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1133,
"end": 1141,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1135,
"end": 1141,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1143,
"end": 1152,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1143,
"end": 1144,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1144,
"end": 1152,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1146,
"end": 1152,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1156,
"end": 1165,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1159,
"end": 1165,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1159,
"end": 1165,
"ctxt": 0
},
"value": "Object",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 1170,
"end": 1220,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1180,
"end": 1181,
"ctxt": 0
},
"value": "B",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 1190,
"end": 1191,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1190,
"end": 1191,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 1192,
"end": 1220,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 1198,
"end": 1218,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1198,
"end": 1199,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1199,
"end": 1217,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1201,
"end": 1217,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1205,
"end": 1209,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1206,
"end": 1209,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1208,
"end": 1209,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1208,
"end": 1209,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1201,
"end": 1204,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1202,
"end": 1203,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1202,
"end": 1203,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1211,
"end": 1217,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1214,
"end": 1217,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1214,
"end": 1215,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1214,
"end": 1215,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 1229,
"end": 2536,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1239,
"end": 1240,
"ctxt": 0
},
"value": "I",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 1249,
"end": 1250,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1249,
"end": 1250,
"ctxt": 0
},
"value": "B",
"optional": false
},
"typeArguments": null
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 1251,
"end": 2536,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 1268,
"end": 1288,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1268,
"end": 1269,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1269,
"end": 1287,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1271,
"end": 1287,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1275,
"end": 1279,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1276,
"end": 1279,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1278,
"end": 1279,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1278,
"end": 1279,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1271,
"end": 1274,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1272,
"end": 1273,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1272,
"end": 1273,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1281,
"end": 1287,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1284,
"end": 1287,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1284,
"end": 1285,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1284,
"end": 1285,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1350,
"end": 1376,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1350,
"end": 1352,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1352,
"end": 1375,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1354,
"end": 1375,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1358,
"end": 1362,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1359,
"end": 1362,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1361,
"end": 1362,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1361,
"end": 1362,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1354,
"end": 1357,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1355,
"end": 1356,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1355,
"end": 1356,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1364,
"end": 1375,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1367,
"end": 1375,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1367,
"end": 1373,
"ctxt": 0
},
"kind": "string"
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1387,
"end": 1406,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1387,
"end": 1389,
"ctxt": 0
},
"value": "a3",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1389,
"end": 1405,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1391,
"end": 1405,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1395,
"end": 1399,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1396,
"end": 1399,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1398,
"end": 1399,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1398,
"end": 1399,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1391,
"end": 1394,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1392,
"end": 1393,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1392,
"end": 1393,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1401,
"end": 1405,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1404,
"end": 1405,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1404,
"end": 1405,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1441,
"end": 1469,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1441,
"end": 1443,
"ctxt": 0
},
"value": "a4",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1443,
"end": 1468,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1445,
"end": 1468,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1452,
"end": 1456,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1453,
"end": 1456,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1455,
"end": 1456,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1455,
"end": 1456,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 1458,
"end": 1462,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1459,
"end": 1462,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1461,
"end": 1462,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1461,
"end": 1462,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1445,
"end": 1451,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1446,
"end": 1447,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1446,
"end": 1447,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1449,
"end": 1450,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1449,
"end": 1450,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1464,
"end": 1468,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1467,
"end": 1468,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1467,
"end": 1468,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1544,
"end": 1578,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1544,
"end": 1546,
"ctxt": 0
},
"value": "a5",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1546,
"end": 1577,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1548,
"end": 1577,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1555,
"end": 1571,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1556,
"end": 1571,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1558,
"end": 1571,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1559,
"end": 1565,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1562,
"end": 1565,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1564,
"end": 1565,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1564,
"end": 1565,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1567,
"end": 1571,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1570,
"end": 1571,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1570,
"end": 1571,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1548,
"end": 1554,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1549,
"end": 1550,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1549,
"end": 1550,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1552,
"end": 1553,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1552,
"end": 1553,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1573,
"end": 1577,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1576,
"end": 1577,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1576,
"end": 1577,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1645,
"end": 1708,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1645,
"end": 1647,
"ctxt": 0
},
"value": "a6",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1647,
"end": 1707,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1649,
"end": 1707,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1685,
"end": 1701,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1686,
"end": 1701,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1688,
"end": 1701,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1689,
"end": 1695,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1692,
"end": 1695,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1694,
"end": 1695,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1694,
"end": 1695,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1697,
"end": 1701,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1700,
"end": 1701,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1700,
"end": 1701,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1649,
"end": 1684,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1650,
"end": 1664,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1650,
"end": 1651,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1660,
"end": 1664,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1660,
"end": 1664,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1666,
"end": 1683,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1666,
"end": 1667,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1676,
"end": 1683,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1676,
"end": 1683,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1703,
"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": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1762,
"end": 1835,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1762,
"end": 1764,
"ctxt": 0
},
"value": "a7",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1764,
"end": 1834,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1766,
"end": 1834,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1802,
"end": 1818,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1803,
"end": 1818,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1805,
"end": 1818,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1806,
"end": 1812,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1809,
"end": 1812,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1811,
"end": 1812,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1811,
"end": 1812,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1814,
"end": 1818,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1817,
"end": 1818,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1817,
"end": 1818,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1766,
"end": 1801,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1767,
"end": 1781,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1767,
"end": 1768,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1777,
"end": 1781,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1777,
"end": 1781,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1783,
"end": 1800,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1783,
"end": 1784,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1793,
"end": 1800,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1793,
"end": 1800,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1820,
"end": 1834,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1823,
"end": 1834,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1824,
"end": 1828,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1825,
"end": 1828,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1827,
"end": 1828,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1827,
"end": 1828,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1830,
"end": 1834,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1833,
"end": 1834,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1833,
"end": 1834,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1846,
"end": 1938,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1846,
"end": 1848,
"ctxt": 0
},
"value": "a8",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1848,
"end": 1937,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1850,
"end": 1937,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1886,
"end": 1902,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1887,
"end": 1902,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1889,
"end": 1902,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1890,
"end": 1896,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1893,
"end": 1896,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1895,
"end": 1896,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1895,
"end": 1896,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1898,
"end": 1902,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1901,
"end": 1902,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1901,
"end": 1902,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 1904,
"end": 1921,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1905,
"end": 1921,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1907,
"end": 1921,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1908,
"end": 1915,
"ctxt": 0
},
"value": "arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1912,
"end": 1915,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1914,
"end": 1915,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1914,
"end": 1915,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1917,
"end": 1921,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1920,
"end": 1921,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1920,
"end": 1921,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1850,
"end": 1885,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1851,
"end": 1865,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1851,
"end": 1852,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1861,
"end": 1865,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1861,
"end": 1865,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1867,
"end": 1884,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1867,
"end": 1868,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1877,
"end": 1884,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1877,
"end": 1884,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1923,
"end": 1937,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1926,
"end": 1937,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1927,
"end": 1931,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1928,
"end": 1931,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1930,
"end": 1931,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1930,
"end": 1931,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1933,
"end": 1937,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1936,
"end": 1937,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1936,
"end": 1937,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1949,
"end": 2069,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1949,
"end": 1951,
"ctxt": 0
},
"value": "a9",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1951,
"end": 2068,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1953,
"end": 2068,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1989,
"end": 2005,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1990,
"end": 2005,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1992,
"end": 2005,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1993,
"end": 1999,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1996,
"end": 1999,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1998,
"end": 1999,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1998,
"end": 1999,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2001,
"end": 2005,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2004,
"end": 2005,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2004,
"end": 2005,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 2007,
"end": 2052,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2008,
"end": 2052,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2010,
"end": 2052,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2011,
"end": 2046,
"ctxt": 0
},
"value": "arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2015,
"end": 2046,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2017,
"end": 2046,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2019,
"end": 2031,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2019,
"end": 2022,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2022,
"end": 2030,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2024,
"end": 2030,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2032,
"end": 2044,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2032,
"end": 2036,
"ctxt": 0
},
"value": "bing",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2036,
"end": 2044,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2038,
"end": 2044,
"ctxt": 0
},
"kind": "number"
}
},
"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": 1953,
"end": 1988,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1954,
"end": 1968,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1954,
"end": 1955,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1964,
"end": 1968,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1964,
"end": 1968,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1970,
"end": 1987,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1970,
"end": 1971,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1980,
"end": 1987,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1980,
"end": 1987,
"ctxt": 0
},
"value": "Derived",
"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": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2123,
"end": 2164,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2123,
"end": 2126,
"ctxt": 0
},
"value": "a10",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2126,
"end": 2163,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2128,
"end": 2163,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 2148,
"end": 2157,
"ctxt": 0
},
"rest": {
"start": 2148,
"end": 2151,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2151,
"end": 2152,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2152,
"end": 2157,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2154,
"end": 2157,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 2154,
"end": 2155,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2154,
"end": 2155,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2128,
"end": 2147,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2129,
"end": 2146,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2129,
"end": 2130,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2139,
"end": 2146,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2139,
"end": 2146,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2159,
"end": 2163,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2162,
"end": 2163,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2162,
"end": 2163,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2175,
"end": 2214,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2175,
"end": 2178,
"ctxt": 0
},
"value": "a11",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2178,
"end": 2213,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2180,
"end": 2213,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2197,
"end": 2201,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2198,
"end": 2201,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2200,
"end": 2201,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2200,
"end": 2201,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 2203,
"end": 2207,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2204,
"end": 2207,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2206,
"end": 2207,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2206,
"end": 2207,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2180,
"end": 2196,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2181,
"end": 2195,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2181,
"end": 2182,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2191,
"end": 2195,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2191,
"end": 2195,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2209,
"end": 2213,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2212,
"end": 2213,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2212,
"end": 2213,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2225,
"end": 2294,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2225,
"end": 2228,
"ctxt": 0
},
"value": "a12",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2228,
"end": 2293,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2230,
"end": 2293,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2254,
"end": 2268,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2255,
"end": 2268,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2257,
"end": 2268,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2257,
"end": 2262,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2262,
"end": 2268,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2263,
"end": 2267,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2263,
"end": 2267,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 2270,
"end": 2274,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2271,
"end": 2274,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2273,
"end": 2274,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2273,
"end": 2274,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2230,
"end": 2253,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2231,
"end": 2252,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2231,
"end": 2232,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2241,
"end": 2252,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2241,
"end": 2246,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2246,
"end": 2252,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2247,
"end": 2251,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2247,
"end": 2251,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2276,
"end": 2293,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2279,
"end": 2293,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2279,
"end": 2284,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2284,
"end": 2293,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2285,
"end": 2292,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2285,
"end": 2292,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
]
}
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2335,
"end": 2394,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2335,
"end": 2338,
"ctxt": 0
},
"value": "a13",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2338,
"end": 2393,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2340,
"end": 2393,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2367,
"end": 2381,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2368,
"end": 2381,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2370,
"end": 2381,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2370,
"end": 2375,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2375,
"end": 2381,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2376,
"end": 2380,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2376,
"end": 2380,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 2383,
"end": 2387,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2384,
"end": 2387,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2386,
"end": 2387,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2386,
"end": 2387,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2340,
"end": 2366,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2341,
"end": 2365,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2341,
"end": 2342,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2351,
"end": 2365,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2351,
"end": 2356,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2356,
"end": 2365,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2357,
"end": 2364,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2357,
"end": 2364,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
]
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2389,
"end": 2393,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2392,
"end": 2393,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2392,
"end": 2393,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2492,
"end": 2528,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2492,
"end": 2495,
"ctxt": 0
},
"value": "a14",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2495,
"end": 2527,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2497,
"end": 2527,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2504,
"end": 2521,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2505,
"end": 2521,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2507,
"end": 2521,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2509,
"end": 2514,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2509,
"end": 2510,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2510,
"end": 2513,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2512,
"end": 2513,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2512,
"end": 2513,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2515,
"end": 2519,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2515,
"end": 2516,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2516,
"end": 2519,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2518,
"end": 2519,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2518,
"end": 2519,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2497,
"end": 2503,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2498,
"end": 2499,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2498,
"end": 2499,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 2501,
"end": 2502,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2501,
"end": 2502,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2523,
"end": 2527,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2526,
"end": 2527,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2526,
"end": 2527,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
}
]
}
}
],
"interpreter": null
}