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

7194 lines
315 KiB
JSON

{
"type": "Script",
"span": {
"start": 93,
"end": 3141,
"ctxt": 0
},
"body": [
{
"type": "TsModuleDeclaration",
"span": {
"start": 93,
"end": 3141,
"ctxt": 0
},
"declare": false,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 100,
"end": 106,
"ctxt": 0
},
"value": "Errors",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 107,
"end": 3141,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 119,
"end": 123,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"declare": false,
"span": {
"start": 113,
"end": 140,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 126,
"end": 138,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 126,
"end": 129,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 129,
"end": 137,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 131,
"end": 137,
"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": 151,
"end": 158,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"declare": false,
"span": {
"start": 145,
"end": 188,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 174,
"end": 186,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 174,
"end": 177,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 177,
"end": 185,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 179,
"end": 185,
"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": 167,
"end": 171,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 199,
"end": 207,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"declare": false,
"span": {
"start": 193,
"end": 240,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 226,
"end": 238,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 226,
"end": 229,
"ctxt": 0
},
"value": "baz",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 229,
"end": 237,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 231,
"end": 237,
"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": 216,
"end": 223,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 251,
"end": 263,
"ctxt": 0
},
"value": "OtherDerived",
"optional": false
},
"declare": false,
"span": {
"start": 245,
"end": 294,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 279,
"end": 292,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 279,
"end": 283,
"ctxt": 0
},
"value": "bing",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 283,
"end": 291,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 285,
"end": 291,
"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": 272,
"end": 276,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "TsModuleDeclaration",
"span": {
"start": 300,
"end": 2771,
"ctxt": 0
},
"declare": false,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 307,
"end": 341,
"ctxt": 0
},
"value": "WithNonGenericSignaturesInBaseType",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 342,
"end": 2771,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 408,
"end": 440,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 412,
"end": 439,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 412,
"end": 414,
"ctxt": 0
},
"value": "a2",
"optional": false,
"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": "string"
}
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 449,
"end": 510,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 453,
"end": 509,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 453,
"end": 455,
"ctxt": 0
},
"value": "a7",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 455,
"end": 509,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 457,
"end": 509,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 458,
"end": 483,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 459,
"end": 483,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 461,
"end": 483,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 462,
"end": 471,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 465,
"end": 471,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 467,
"end": 471,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 467,
"end": 471,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 473,
"end": 483,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 476,
"end": 483,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 476,
"end": 483,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 485,
"end": 509,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 488,
"end": 509,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 489,
"end": 496,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 490,
"end": 496,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 492,
"end": 496,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 492,
"end": 496,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 498,
"end": 509,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 501,
"end": 509,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 501,
"end": 509,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 519,
"end": 607,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 523,
"end": 606,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 523,
"end": 525,
"ctxt": 0
},
"value": "a8",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 525,
"end": 606,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 527,
"end": 606,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 528,
"end": 553,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 529,
"end": 553,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 531,
"end": 553,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 532,
"end": 541,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 535,
"end": 541,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 537,
"end": 541,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 537,
"end": 541,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 543,
"end": 553,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 546,
"end": 553,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 546,
"end": 553,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 555,
"end": 581,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 556,
"end": 581,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 558,
"end": 581,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 559,
"end": 569,
"ctxt": 0
},
"value": "arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 563,
"end": 569,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 565,
"end": 569,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 565,
"end": 569,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 571,
"end": 581,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 574,
"end": 581,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 574,
"end": 581,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 583,
"end": 606,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 586,
"end": 606,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 587,
"end": 594,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 588,
"end": 594,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 590,
"end": 594,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 590,
"end": 594,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 596,
"end": 606,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 599,
"end": 606,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 599,
"end": 606,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 616,
"end": 648,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 620,
"end": 647,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 620,
"end": 623,
"ctxt": 0
},
"value": "a10",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 623,
"end": 647,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 625,
"end": 647,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 626,
"end": 638,
"ctxt": 0
},
"rest": {
"start": 626,
"end": 629,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 629,
"end": 630,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 630,
"end": 638,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 632,
"end": 638,
"ctxt": 0
},
"elemType": {
"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,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 640,
"end": 647,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 643,
"end": 647,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 643,
"end": 647,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 657,
"end": 728,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 661,
"end": 727,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 661,
"end": 664,
"ctxt": 0
},
"value": "a11",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 664,
"end": 727,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 666,
"end": 727,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 667,
"end": 685,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 668,
"end": 685,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 670,
"end": 685,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 672,
"end": 683,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 672,
"end": 675,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 675,
"end": 683,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 677,
"end": 683,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
{
"type": "Identifier",
"span": {
"start": 687,
"end": 718,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 688,
"end": 718,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 690,
"end": 718,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 692,
"end": 704,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 692,
"end": 695,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 695,
"end": 703,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 697,
"end": 703,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 705,
"end": 716,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 705,
"end": 708,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 708,
"end": 716,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 710,
"end": 716,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 720,
"end": 727,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 723,
"end": 727,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 723,
"end": 727,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 737,
"end": 801,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 741,
"end": 800,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 741,
"end": 744,
"ctxt": 0
},
"value": "a12",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 744,
"end": 800,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 746,
"end": 800,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 747,
"end": 761,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 748,
"end": 761,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 750,
"end": 761,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 750,
"end": 755,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 755,
"end": 761,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 756,
"end": 760,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 756,
"end": 760,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 763,
"end": 781,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 764,
"end": 781,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 766,
"end": 781,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 766,
"end": 771,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 771,
"end": 781,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 772,
"end": 780,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 772,
"end": 780,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
]
}
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 783,
"end": 800,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 786,
"end": 800,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 786,
"end": 791,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 791,
"end": 800,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 792,
"end": 799,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 792,
"end": 799,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
]
}
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 810,
"end": 913,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 814,
"end": 912,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 814,
"end": 817,
"ctxt": 0
},
"value": "a14",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 817,
"end": 912,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 819,
"end": 912,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 837,
"end": 859,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 838,
"end": 847,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 839,
"end": 847,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 841,
"end": 847,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 848,
"end": 858,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 850,
"end": 858,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 850,
"end": 856,
"ctxt": 0
},
"kind": "number"
}
}
},
"typeParams": null
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 876,
"end": 898,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 877,
"end": 886,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 878,
"end": 886,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 880,
"end": 886,
"ctxt": 0
},
"kind": "string"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 887,
"end": 897,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 889,
"end": 897,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 889,
"end": 895,
"ctxt": 0
},
"kind": "string"
}
}
},
"typeParams": null
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 922,
"end": 971,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 926,
"end": 970,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 926,
"end": 929,
"ctxt": 0
},
"value": "a15",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 929,
"end": 970,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 931,
"end": 970,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 932,
"end": 959,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 933,
"end": 959,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 935,
"end": 959,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 937,
"end": 947,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 937,
"end": 938,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 938,
"end": 946,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 940,
"end": 946,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 948,
"end": 957,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 948,
"end": 949,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 949,
"end": 957,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 951,
"end": 957,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 961,
"end": 970,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 964,
"end": 970,
"ctxt": 0
},
"kind": "number"
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 980,
"end": 1280,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 984,
"end": 1279,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 984,
"end": 987,
"ctxt": 0
},
"value": "a16",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 987,
"end": 1279,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 989,
"end": 1279,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1007,
"end": 1125,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1008,
"end": 1113,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1009,
"end": 1113,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1011,
"end": 1113,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1033,
"end": 1053,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1034,
"end": 1043,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1035,
"end": 1043,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1037,
"end": 1043,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1044,
"end": 1052,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1046,
"end": 1052,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1074,
"end": 1095,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1075,
"end": 1085,
"ctxt": 0
},
"value": "a",
"optional": true,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1077,
"end": 1085,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1079,
"end": 1085,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1086,
"end": 1094,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1088,
"end": 1094,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1114,
"end": 1124,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1116,
"end": 1124,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1116,
"end": 1122,
"ctxt": 0
},
"kind": "number"
}
}
},
"typeParams": null
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1142,
"end": 1265,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1143,
"end": 1252,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1144,
"end": 1252,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1146,
"end": 1252,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1168,
"end": 1190,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1169,
"end": 1179,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1170,
"end": 1179,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1172,
"end": 1179,
"ctxt": 0
},
"kind": "boolean"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1180,
"end": 1189,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1182,
"end": 1189,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1211,
"end": 1234,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1212,
"end": 1223,
"ctxt": 0
},
"value": "a",
"optional": true,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1214,
"end": 1223,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1216,
"end": 1223,
"ctxt": 0
},
"kind": "boolean"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1224,
"end": 1233,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1226,
"end": 1233,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1253,
"end": 1264,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1255,
"end": 1264,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1255,
"end": 1262,
"ctxt": 0
},
"kind": "boolean"
}
}
},
"typeParams": null
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1289,
"end": 1607,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1293,
"end": 1606,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1293,
"end": 1296,
"ctxt": 0
},
"value": "a17",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1296,
"end": 1606,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1298,
"end": 1606,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1316,
"end": 1445,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1317,
"end": 1436,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1318,
"end": 1436,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1320,
"end": 1436,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1342,
"end": 1371,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1362,
"end": 1366,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1363,
"end": 1366,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1365,
"end": 1366,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1365,
"end": 1366,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1367,
"end": 1370,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1369,
"end": 1370,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1369,
"end": 1370,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1342,
"end": 1361,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1343,
"end": 1360,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1343,
"end": 1344,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1353,
"end": 1360,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1353,
"end": 1360,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1392,
"end": 1418,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1409,
"end": 1413,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1410,
"end": 1413,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1412,
"end": 1413,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1412,
"end": 1413,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1414,
"end": 1417,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1416,
"end": 1417,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1416,
"end": 1417,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1392,
"end": 1408,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1393,
"end": 1407,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1393,
"end": 1394,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1403,
"end": 1407,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1403,
"end": 1407,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1437,
"end": 1444,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1439,
"end": 1444,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1439,
"end": 1442,
"ctxt": 0
},
"kind": "any"
}
}
},
"typeParams": null
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1462,
"end": 1592,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1463,
"end": 1583,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1464,
"end": 1583,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1466,
"end": 1583,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1488,
"end": 1518,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1509,
"end": 1513,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1510,
"end": 1513,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1512,
"end": 1513,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1512,
"end": 1513,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1514,
"end": 1517,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1516,
"end": 1517,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1516,
"end": 1517,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1488,
"end": 1508,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1489,
"end": 1507,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1489,
"end": 1490,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1499,
"end": 1507,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1499,
"end": 1507,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
},
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 1539,
"end": 1565,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1556,
"end": 1560,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1557,
"end": 1560,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1559,
"end": 1560,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1559,
"end": 1560,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1561,
"end": 1564,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1563,
"end": 1564,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1563,
"end": 1564,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1539,
"end": 1555,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1540,
"end": 1554,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1540,
"end": 1541,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1550,
"end": 1554,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1550,
"end": 1554,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
}
}
]
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1584,
"end": 1591,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1586,
"end": 1591,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1586,
"end": 1589,
"ctxt": 0
},
"kind": "any"
}
}
},
"typeParams": null
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1617,
"end": 1645,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1621,
"end": 1644,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1621,
"end": 1623,
"ctxt": 0
},
"value": "b2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1623,
"end": 1644,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1625,
"end": 1644,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1632,
"end": 1636,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1633,
"end": 1636,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1635,
"end": 1636,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1635,
"end": 1636,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1625,
"end": 1631,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1626,
"end": 1627,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1626,
"end": 1627,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1629,
"end": 1630,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1629,
"end": 1630,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1638,
"end": 1644,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1641,
"end": 1644,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 1641,
"end": 1642,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1641,
"end": 1642,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1655,
"end": 1663,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1655,
"end": 1662,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1655,
"end": 1657,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1660,
"end": 1662,
"ctxt": 0
},
"value": "b2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1672,
"end": 1680,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1672,
"end": 1679,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1672,
"end": 1674,
"ctxt": 0
},
"value": "b2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1677,
"end": 1679,
"ctxt": 0
},
"value": "a2",
"optional": false
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1690,
"end": 1787,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1694,
"end": 1786,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1694,
"end": 1696,
"ctxt": 0
},
"value": "b7",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1696,
"end": 1786,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1698,
"end": 1786,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1754,
"end": 1770,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1755,
"end": 1770,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1757,
"end": 1770,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1758,
"end": 1764,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1761,
"end": 1764,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1763,
"end": 1764,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1763,
"end": 1764,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1766,
"end": 1770,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1769,
"end": 1770,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1769,
"end": 1770,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1698,
"end": 1753,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1699,
"end": 1713,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1699,
"end": 1700,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1709,
"end": 1713,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1709,
"end": 1713,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1715,
"end": 1732,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1715,
"end": 1716,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1725,
"end": 1732,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1725,
"end": 1732,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1734,
"end": 1752,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1734,
"end": 1735,
"ctxt": 0
},
"value": "V",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1744,
"end": 1752,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1744,
"end": 1752,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1772,
"end": 1786,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1775,
"end": 1786,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1776,
"end": 1780,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1777,
"end": 1780,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1779,
"end": 1780,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1779,
"end": 1780,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1782,
"end": 1786,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1785,
"end": 1786,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1785,
"end": 1786,
"ctxt": 0
},
"value": "V",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1796,
"end": 1804,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1796,
"end": 1803,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1796,
"end": 1798,
"ctxt": 0
},
"value": "a7",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1801,
"end": 1803,
"ctxt": 0
},
"value": "b7",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1813,
"end": 1821,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1813,
"end": 1820,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1813,
"end": 1815,
"ctxt": 0
},
"value": "b7",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1818,
"end": 1820,
"ctxt": 0
},
"value": "a7",
"optional": false
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1831,
"end": 1942,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1835,
"end": 1941,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1835,
"end": 1837,
"ctxt": 0
},
"value": "b8",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1837,
"end": 1941,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1839,
"end": 1941,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1875,
"end": 1891,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1876,
"end": 1891,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1878,
"end": 1891,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1879,
"end": 1885,
"ctxt": 0
},
"value": "arg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1882,
"end": 1885,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1884,
"end": 1885,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1884,
"end": 1885,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1887,
"end": 1891,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1890,
"end": 1891,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1890,
"end": 1891,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 1893,
"end": 1925,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1894,
"end": 1925,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1896,
"end": 1925,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1897,
"end": 1919,
"ctxt": 0
},
"value": "arg2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1901,
"end": 1919,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1903,
"end": 1919,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1905,
"end": 1917,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1905,
"end": 1908,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1908,
"end": 1916,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1910,
"end": 1916,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1921,
"end": 1925,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1924,
"end": 1925,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1924,
"end": 1925,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1839,
"end": 1874,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1840,
"end": 1854,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1840,
"end": 1841,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1850,
"end": 1854,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1850,
"end": 1854,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1856,
"end": 1873,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1856,
"end": 1857,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 1866,
"end": 1873,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1866,
"end": 1873,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1927,
"end": 1941,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 1930,
"end": 1941,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 1931,
"end": 1935,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1932,
"end": 1935,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1934,
"end": 1935,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1934,
"end": 1935,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1937,
"end": 1941,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1940,
"end": 1941,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1940,
"end": 1941,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1952,
"end": 1960,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1952,
"end": 1959,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1952,
"end": 1954,
"ctxt": 0
},
"value": "a8",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1957,
"end": 1959,
"ctxt": 0
},
"value": "b8",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2021,
"end": 2029,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2021,
"end": 2028,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2021,
"end": 2023,
"ctxt": 0
},
"value": "b8",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2026,
"end": 2028,
"ctxt": 0
},
"value": "a8",
"optional": false
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2100,
"end": 2145,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2104,
"end": 2144,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2104,
"end": 2107,
"ctxt": 0
},
"value": "b10",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2107,
"end": 2144,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2109,
"end": 2144,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 2129,
"end": 2138,
"ctxt": 0
},
"rest": {
"start": 2129,
"end": 2132,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2132,
"end": 2133,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2133,
"end": 2138,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2135,
"end": 2138,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 2135,
"end": 2136,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2135,
"end": 2136,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2109,
"end": 2128,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2110,
"end": 2127,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2110,
"end": 2111,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2120,
"end": 2127,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2120,
"end": 2127,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2140,
"end": 2144,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2143,
"end": 2144,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2143,
"end": 2144,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 2155,
"end": 2165,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2155,
"end": 2164,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2155,
"end": 2158,
"ctxt": 0
},
"value": "a10",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2161,
"end": 2164,
"ctxt": 0
},
"value": "b10",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2174,
"end": 2184,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2174,
"end": 2183,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2174,
"end": 2177,
"ctxt": 0
},
"value": "b10",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2180,
"end": 2183,
"ctxt": 0
},
"value": "a10",
"optional": false
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2194,
"end": 2240,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2198,
"end": 2239,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2198,
"end": 2201,
"ctxt": 0
},
"value": "b11",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2201,
"end": 2239,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2203,
"end": 2239,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2223,
"end": 2227,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2224,
"end": 2227,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2226,
"end": 2227,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2226,
"end": 2227,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "Identifier",
"span": {
"start": 2229,
"end": 2233,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2230,
"end": 2233,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2232,
"end": 2233,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2232,
"end": 2233,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2203,
"end": 2222,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2204,
"end": 2221,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2204,
"end": 2205,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2214,
"end": 2221,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2214,
"end": 2221,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2235,
"end": 2239,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2238,
"end": 2239,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2238,
"end": 2239,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 2250,
"end": 2260,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2250,
"end": 2259,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2250,
"end": 2253,
"ctxt": 0
},
"value": "a11",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2256,
"end": 2259,
"ctxt": 0
},
"value": "b11",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2269,
"end": 2279,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2269,
"end": 2278,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2269,
"end": 2272,
"ctxt": 0
},
"value": "b11",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2275,
"end": 2278,
"ctxt": 0
},
"value": "a11",
"optional": false
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2289,
"end": 2363,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2293,
"end": 2362,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2293,
"end": 2296,
"ctxt": 0
},
"value": "b12",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2296,
"end": 2362,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2298,
"end": 2362,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2326,
"end": 2340,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2327,
"end": 2340,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2329,
"end": 2340,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2329,
"end": 2334,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2334,
"end": 2340,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2335,
"end": 2339,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2335,
"end": 2339,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Identifier",
"span": {
"start": 2342,
"end": 2356,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2343,
"end": 2356,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2345,
"end": 2356,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2345,
"end": 2350,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2350,
"end": 2356,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2351,
"end": 2355,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2351,
"end": 2355,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
]
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2298,
"end": 2325,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2299,
"end": 2324,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2299,
"end": 2300,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2309,
"end": 2324,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2309,
"end": 2314,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2314,
"end": 2324,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2315,
"end": 2323,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2315,
"end": 2323,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
]
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2358,
"end": 2362,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2361,
"end": 2362,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2361,
"end": 2362,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 2373,
"end": 2383,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2373,
"end": 2382,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2373,
"end": 2376,
"ctxt": 0
},
"value": "a12",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2379,
"end": 2382,
"ctxt": 0
},
"value": "b12",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2392,
"end": 2402,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2392,
"end": 2401,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2392,
"end": 2395,
"ctxt": 0
},
"value": "b12",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2398,
"end": 2401,
"ctxt": 0
},
"value": "a12",
"optional": false
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2412,
"end": 2449,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2416,
"end": 2448,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2416,
"end": 2419,
"ctxt": 0
},
"value": "b15",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2419,
"end": 2448,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2421,
"end": 2448,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2425,
"end": 2442,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2426,
"end": 2442,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2428,
"end": 2442,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2430,
"end": 2435,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2430,
"end": 2431,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2431,
"end": 2434,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2433,
"end": 2434,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2433,
"end": 2434,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2436,
"end": 2440,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2436,
"end": 2437,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2437,
"end": 2440,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2439,
"end": 2440,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2439,
"end": 2440,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2421,
"end": 2424,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2422,
"end": 2423,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2422,
"end": 2423,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2444,
"end": 2448,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2447,
"end": 2448,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2447,
"end": 2448,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 2459,
"end": 2469,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2459,
"end": 2468,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2459,
"end": 2462,
"ctxt": 0
},
"value": "a15",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2465,
"end": 2468,
"ctxt": 0
},
"value": "b15",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2478,
"end": 2488,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2478,
"end": 2487,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2478,
"end": 2481,
"ctxt": 0
},
"value": "b15",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2484,
"end": 2487,
"ctxt": 0
},
"value": "a15",
"optional": false
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2498,
"end": 2554,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2502,
"end": 2553,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2502,
"end": 2506,
"ctxt": 0
},
"value": "b15a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2506,
"end": 2553,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2508,
"end": 2553,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2525,
"end": 2542,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2526,
"end": 2542,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2528,
"end": 2542,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2530,
"end": 2535,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2530,
"end": 2531,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2531,
"end": 2534,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2533,
"end": 2534,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2533,
"end": 2534,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2536,
"end": 2540,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2536,
"end": 2537,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2537,
"end": 2540,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2539,
"end": 2540,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2539,
"end": 2540,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2508,
"end": 2524,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2509,
"end": 2523,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2509,
"end": 2510,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 2519,
"end": 2523,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2519,
"end": 2523,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2544,
"end": 2553,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2547,
"end": 2553,
"ctxt": 0
},
"kind": "number"
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 2564,
"end": 2575,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2564,
"end": 2574,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2564,
"end": 2567,
"ctxt": 0
},
"value": "a15",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2570,
"end": 2574,
"ctxt": 0
},
"value": "b15a",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2584,
"end": 2595,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2584,
"end": 2594,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2584,
"end": 2588,
"ctxt": 0
},
"value": "b15a",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2591,
"end": 2594,
"ctxt": 0
},
"value": "a15",
"optional": false
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2605,
"end": 2641,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2609,
"end": 2640,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2609,
"end": 2612,
"ctxt": 0
},
"value": "b16",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2612,
"end": 2640,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2614,
"end": 2640,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2618,
"end": 2632,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2619,
"end": 2632,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2621,
"end": 2632,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2622,
"end": 2626,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2623,
"end": 2626,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2625,
"end": 2626,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2625,
"end": 2626,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2628,
"end": 2632,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2631,
"end": 2632,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2631,
"end": 2632,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2614,
"end": 2617,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2615,
"end": 2616,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2615,
"end": 2616,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2634,
"end": 2640,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2637,
"end": 2640,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 2637,
"end": 2638,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2637,
"end": 2638,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 2650,
"end": 2660,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2650,
"end": 2659,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2650,
"end": 2653,
"ctxt": 0
},
"value": "a16",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2656,
"end": 2659,
"ctxt": 0
},
"value": "b16",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2669,
"end": 2679,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2669,
"end": 2678,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2669,
"end": 2672,
"ctxt": 0
},
"value": "b16",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2675,
"end": 2678,
"ctxt": 0
},
"value": "a16",
"optional": false
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2689,
"end": 2727,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2693,
"end": 2726,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2693,
"end": 2696,
"ctxt": 0
},
"value": "b17",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2696,
"end": 2726,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2698,
"end": 2726,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2702,
"end": 2716,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2703,
"end": 2716,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2705,
"end": 2716,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2706,
"end": 2710,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2707,
"end": 2710,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2709,
"end": 2710,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2709,
"end": 2710,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2712,
"end": 2716,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2715,
"end": 2716,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2715,
"end": 2716,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2698,
"end": 2701,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2699,
"end": 2700,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2699,
"end": 2700,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2718,
"end": 2726,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2721,
"end": 2726,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2721,
"end": 2724,
"ctxt": 0
},
"kind": "any"
}
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 2736,
"end": 2746,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2736,
"end": 2745,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2736,
"end": 2739,
"ctxt": 0
},
"value": "a17",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2742,
"end": 2745,
"ctxt": 0
},
"value": "b17",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2755,
"end": 2765,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2755,
"end": 2764,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2755,
"end": 2758,
"ctxt": 0
},
"value": "b17",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2761,
"end": 2764,
"ctxt": 0
},
"value": "a17",
"optional": false
}
}
}
]
}
},
{
"type": "TsModuleDeclaration",
"span": {
"start": 2777,
"end": 3139,
"ctxt": 0
},
"declare": false,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 2784,
"end": 2815,
"ctxt": 0
},
"value": "WithGenericSignaturesInBaseType",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 2816,
"end": 3139,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 2876,
"end": 2901,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2880,
"end": 2900,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2880,
"end": 2882,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2882,
"end": 2900,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2884,
"end": 2900,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2888,
"end": 2892,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2889,
"end": 2892,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2891,
"end": 2892,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2891,
"end": 2892,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2884,
"end": 2887,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2885,
"end": 2886,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2885,
"end": 2886,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2894,
"end": 2900,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2897,
"end": 2900,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 2897,
"end": 2898,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2897,
"end": 2898,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2910,
"end": 2940,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2914,
"end": 2939,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2914,
"end": 2916,
"ctxt": 0
},
"value": "b2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2916,
"end": 2939,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 2918,
"end": 2939,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 2922,
"end": 2926,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2923,
"end": 2926,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2925,
"end": 2926,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2925,
"end": 2926,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2918,
"end": 2921,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2919,
"end": 2920,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2919,
"end": 2920,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2928,
"end": 2939,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2931,
"end": 2939,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2931,
"end": 2937,
"ctxt": 0
},
"kind": "string"
}
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 2949,
"end": 2957,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2949,
"end": 2956,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2949,
"end": 2951,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2954,
"end": 2956,
"ctxt": 0
},
"value": "b2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2966,
"end": 2974,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2966,
"end": 2973,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2966,
"end": 2968,
"ctxt": 0
},
"value": "b2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 2971,
"end": 2973,
"ctxt": 0
},
"value": "a2",
"optional": false
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 3034,
"end": 3064,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3038,
"end": 3063,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3038,
"end": 3040,
"ctxt": 0
},
"value": "a3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3040,
"end": 3063,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 3042,
"end": 3063,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3046,
"end": 3050,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3047,
"end": 3050,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3049,
"end": 3050,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3049,
"end": 3050,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3042,
"end": 3045,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3043,
"end": 3044,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3043,
"end": 3044,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3052,
"end": 3063,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3055,
"end": 3063,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3055,
"end": 3061,
"ctxt": 0
},
"kind": "string"
}
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3073,
"end": 3098,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3077,
"end": 3097,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3077,
"end": 3079,
"ctxt": 0
},
"value": "b3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3079,
"end": 3097,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 3081,
"end": 3097,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 3085,
"end": 3089,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3086,
"end": 3089,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3088,
"end": 3089,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3088,
"end": 3089,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3081,
"end": 3084,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3082,
"end": 3083,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3082,
"end": 3083,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3091,
"end": 3097,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3094,
"end": 3097,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 3094,
"end": 3095,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3094,
"end": 3095,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 3108,
"end": 3116,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 3108,
"end": 3115,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 3108,
"end": 3110,
"ctxt": 0
},
"value": "a3",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 3113,
"end": 3115,
"ctxt": 0
},
"value": "b3",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 3125,
"end": 3133,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 3125,
"end": 3132,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 3125,
"end": 3127,
"ctxt": 0
},
"value": "b3",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 3130,
"end": 3132,
"ctxt": 0
},
"value": "a3",
"optional": false
}
}
}
]
}
}
]
}
}
],
"interpreter": null
}