{ "type": "Script", "span": { "start": 65, "end": 1138, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 74, "end": 77, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 98, "end": 102, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 98, "end": 102, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 99, "end": 102, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 101, "end": 102, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 101, "end": 102, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } } } ], "decorators": [], "span": { "start": 65, "end": 120, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 107, "end": 120, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 109, "end": 118, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 116, "end": 117, "ctxt": 0 }, "value": "x", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": { "type": "TsTypeParameterDeclaration", "span": { "start": 77, "end": 97, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 78, "end": 96, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 78, "end": 79, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": { "type": "TsTypeReference", "span": { "start": 88, "end": 96, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 88, "end": 96, "ctxt": 0 }, "value": "Function", "optional": false }, "typeParams": null }, "default": null } ] }, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 103, "end": 106, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 105, "end": 106, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 105, "end": 106, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } }, { "type": "TsInterfaceDeclaration", "span": { "start": 122, "end": 153, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 132, "end": 133, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 134, "end": 153, "ctxt": 0 }, "body": [ { "type": "TsCallSignatureDeclaration", "span": { "start": 140, "end": 151, "ctxt": 0 }, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 142, "end": 150, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 144, "end": 150, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 154, "end": 163, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 158, "end": 162, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 158, "end": 159, "ctxt": 0 }, "value": "i", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 159, "end": 162, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 161, "end": 162, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 161, "end": 162, "ctxt": 0 }, "value": "I", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 171, "end": 172, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 165, "end": 193, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 179, "end": 191, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 179, "end": 182, "ctxt": 0 }, "value": "foo", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 182, "end": 190, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 184, "end": 190, "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": "VariableDeclaration", "span": { "start": 195, "end": 217, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 199, "end": 216, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 199, "end": 200, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 200, "end": 216, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 202, "end": 216, "ctxt": 0 }, "members": [ { "type": "TsCallSignatureDeclaration", "span": { "start": 204, "end": 214, "ctxt": 0 }, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 206, "end": 214, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 208, "end": 214, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 218, "end": 244, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 222, "end": 243, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 222, "end": 223, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 223, "end": 243, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 225, "end": 243, "ctxt": 0 }, "members": [ { "type": "TsConstructSignatureDeclaration", "span": { "start": 227, "end": 241, "ctxt": 0 }, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 233, "end": 241, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 235, "end": 241, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 245, "end": 280, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 249, "end": 279, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 249, "end": 250, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 250, "end": 279, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 252, "end": 279, "ctxt": 0 }, "members": [ { "type": "TsCallSignatureDeclaration", "span": { "start": 254, "end": 265, "ctxt": 0 }, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 256, "end": 264, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 258, "end": 264, "ctxt": 0 }, "kind": "string" } }, "typeParams": null }, { "type": "TsCallSignatureDeclaration", "span": { "start": 266, "end": 277, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 267, "end": 268, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 269, "end": 277, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 271, "end": 277, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 282, "end": 310, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 286, "end": 309, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 286, "end": 287, "ctxt": 0 }, "value": "r", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 290, "end": 309, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 290, "end": 293, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "NewExpression", "span": { "start": 294, "end": 308, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 298, "end": 306, "ctxt": 0 }, "value": "Function", "optional": false }, "arguments": [], "typeArguments": null } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 311, "end": 334, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 315, "end": 333, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 315, "end": 317, "ctxt": 0 }, "value": "r1", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 320, "end": 333, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 320, "end": 323, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "ArrowFunctionExpression", "span": { "start": 324, "end": 332, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 325, "end": 326, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null } ], "body": { "type": "Identifier", "span": { "start": 331, "end": 332, "ctxt": 0 }, "value": "x", "optional": false }, "async": false, "generator": false, "typeParameters": null, "returnType": null } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 335, "end": 368, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 339, "end": 367, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 339, "end": 341, "ctxt": 0 }, "value": "r2", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 344, "end": 367, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 344, "end": 347, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "ArrowFunctionExpression", "span": { "start": 348, "end": 366, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 349, "end": 360, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 350, "end": 360, "ctxt": 0 }, "typeAnnotation": { "type": "TsArrayType", "span": { "start": 352, "end": 360, "ctxt": 0 }, "elemType": { "type": "TsKeywordType", "span": { "start": 352, "end": 358, "ctxt": 0 }, "kind": "string" } } } } ], "body": { "type": "Identifier", "span": { "start": 365, "end": 366, "ctxt": 0 }, "value": "x", "optional": false }, "async": false, "generator": false, "typeParameters": null, "returnType": null } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 369, "end": 409, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 373, "end": 408, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 373, "end": 375, "ctxt": 0 }, "value": "r3", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 378, "end": 408, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 378, "end": 381, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "FunctionExpression", "identifier": null, "params": [ { "type": "Parameter", "span": { "start": 392, "end": 393, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 392, "end": 393, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 382, "end": 407, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 395, "end": 407, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 397, "end": 405, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 404, "end": 405, "ctxt": 0 }, "value": "x", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 410, "end": 460, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 414, "end": 459, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 414, "end": 416, "ctxt": 0 }, "value": "r4", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 419, "end": 459, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 419, "end": 422, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "FunctionExpression", "identifier": null, "params": [ { "type": "Parameter", "span": { "start": 433, "end": 444, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 433, "end": 444, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 434, "end": 444, "ctxt": 0 }, "typeAnnotation": { "type": "TsArrayType", "span": { "start": 436, "end": 444, "ctxt": 0 }, "elemType": { "type": "TsKeywordType", "span": { "start": 436, "end": 442, "ctxt": 0 }, "kind": "string" } } } } } ], "decorators": [], "span": { "start": 423, "end": 458, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 446, "end": 458, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 448, "end": 456, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 455, "end": 456, "ctxt": 0 }, "value": "x", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 461, "end": 477, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 465, "end": 476, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 465, "end": 467, "ctxt": 0 }, "value": "r5", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 470, "end": 476, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 470, "end": 473, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 474, "end": 475, "ctxt": 0 }, "value": "i", "optional": false } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 478, "end": 494, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 482, "end": 493, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 482, "end": 484, "ctxt": 0 }, "value": "r6", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 487, "end": 493, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 487, "end": 490, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 491, "end": 492, "ctxt": 0 }, "value": "C", "optional": false } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 495, "end": 511, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 499, "end": 510, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 499, "end": 501, "ctxt": 0 }, "value": "r7", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 504, "end": 510, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 504, "end": 507, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 508, "end": 509, "ctxt": 0 }, "value": "b", "optional": false } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 512, "end": 528, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 516, "end": 527, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 516, "end": 518, "ctxt": 0 }, "value": "r8", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 521, "end": 527, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 521, "end": 524, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 525, "end": 526, "ctxt": 0 }, "value": "c", "optional": false } } ], "typeArguments": null }, "definite": false } ] }, { "type": "TsInterfaceDeclaration", "span": { "start": 530, "end": 564, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 540, "end": 542, "ctxt": 0 }, "value": "I2", "optional": false }, "declare": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 542, "end": 545, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 543, "end": 544, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 543, "end": 544, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null } ] }, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 546, "end": 564, "ctxt": 0 }, "body": [ { "type": "TsCallSignatureDeclaration", "span": { "start": 552, "end": 562, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 553, "end": 557, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 554, "end": 557, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 556, "end": 557, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 556, "end": 557, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 558, "end": 561, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 560, "end": 561, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 560, "end": 561, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 565, "end": 584, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 569, "end": 583, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 569, "end": 571, "ctxt": 0 }, "value": "i2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 571, "end": 583, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 573, "end": 583, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 573, "end": 575, "ctxt": 0 }, "value": "I2", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 575, "end": 583, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 576, "end": 582, "ctxt": 0 }, "kind": "string" } ] } } } }, "init": null, "definite": false } ] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 592, "end": 594, "ctxt": 0 }, "value": "C2", "optional": false }, "declare": false, "span": { "start": 586, "end": 613, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 604, "end": 611, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 604, "end": 607, "ctxt": 0 }, "value": "foo", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 607, "end": 610, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 609, "end": 610, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 609, "end": 610, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false } ], "superClass": null, "isAbstract": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 594, "end": 597, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 595, "end": 596, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 595, "end": 596, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null } ] }, "superTypeParams": null, "implements": [] }, { "type": "VariableDeclaration", "span": { "start": 615, "end": 640, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 619, "end": 639, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 619, "end": 621, "ctxt": 0 }, "value": "a2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 621, "end": 639, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 623, "end": 639, "ctxt": 0 }, "members": [ { "type": "TsCallSignatureDeclaration", "span": { "start": 625, "end": 637, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 629, "end": 633, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 630, "end": 633, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 632, "end": 633, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 632, "end": 633, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 634, "end": 637, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 636, "end": 637, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 636, "end": 637, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 625, "end": 628, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 626, "end": 627, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 626, "end": 627, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null } ] } } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 641, "end": 670, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 645, "end": 669, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 645, "end": 647, "ctxt": 0 }, "value": "b2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 647, "end": 669, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 649, "end": 669, "ctxt": 0 }, "members": [ { "type": "TsConstructSignatureDeclaration", "span": { "start": 651, "end": 667, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 659, "end": 663, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 660, "end": 663, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 662, "end": 663, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 662, "end": 663, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 664, "end": 667, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 666, "end": 667, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 666, "end": 667, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 655, "end": 658, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 656, "end": 657, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 656, "end": 657, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null } ] } } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 671, "end": 716, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 675, "end": 715, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 675, "end": 677, "ctxt": 0 }, "value": "c2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 677, "end": 715, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 679, "end": 715, "ctxt": 0 }, "members": [ { "type": "TsCallSignatureDeclaration", "span": { "start": 681, "end": 694, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 685, "end": 689, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 686, "end": 689, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 688, "end": 689, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 688, "end": 689, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 690, "end": 693, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 692, "end": 693, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 692, "end": 693, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 681, "end": 684, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 682, "end": 683, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 682, "end": 683, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null } ] } }, { "type": "TsCallSignatureDeclaration", "span": { "start": 695, "end": 713, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 699, "end": 703, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 700, "end": 703, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 702, "end": 703, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 702, "end": 703, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } }, { "type": "Identifier", "span": { "start": 705, "end": 709, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 706, "end": 709, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 708, "end": 709, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 708, "end": 709, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 710, "end": 713, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 712, "end": 713, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 712, "end": 713, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 695, "end": 698, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 696, "end": 697, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 696, "end": 697, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null } ] } } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 718, "end": 747, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 722, "end": 746, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 722, "end": 724, "ctxt": 0 }, "value": "r9", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 727, "end": 746, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 727, "end": 730, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "ArrowFunctionExpression", "span": { "start": 731, "end": 745, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 735, "end": 739, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 736, "end": 739, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 738, "end": 739, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 738, "end": 739, "ctxt": 0 }, "value": "U", "optional": false }, "typeParams": null } } } ], "body": { "type": "Identifier", "span": { "start": 744, "end": 745, "ctxt": 0 }, "value": "x", "optional": false }, "async": false, "generator": false, "typeParameters": { "type": "TsTypeParameterDeclaration", "span": { "start": 731, "end": 734, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 732, "end": 733, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 732, "end": 733, "ctxt": 0 }, "value": "U", "optional": false }, "constraint": null, "default": null } ] }, "returnType": null } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 748, "end": 796, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 752, "end": 795, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 752, "end": 755, "ctxt": 0 }, "value": "r10", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 758, "end": 795, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 758, "end": 761, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "FunctionExpression", "identifier": null, "params": [ { "type": "Parameter", "span": { "start": 775, "end": 779, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 775, "end": 779, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 776, "end": 779, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 778, "end": 779, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 778, "end": 779, "ctxt": 0 }, "value": "U", "optional": false }, "typeParams": null } } } } ], "decorators": [], "span": { "start": 762, "end": 794, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 781, "end": 794, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 783, "end": 792, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 790, "end": 791, "ctxt": 0 }, "value": "x", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": { "type": "TsTypeParameterDeclaration", "span": { "start": 771, "end": 774, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 772, "end": 773, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 772, "end": 773, "ctxt": 0 }, "value": "U", "optional": false }, "constraint": null, "default": null } ] }, "returnType": null } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 797, "end": 840, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 801, "end": 839, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 801, "end": 804, "ctxt": 0 }, "value": "r11", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 807, "end": 839, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 807, "end": 810, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "ArrowFunctionExpression", "span": { "start": 811, "end": 838, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 828, "end": 832, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 829, "end": 832, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 831, "end": 832, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 831, "end": 832, "ctxt": 0 }, "value": "U", "optional": false }, "typeParams": null } } } ], "body": { "type": "Identifier", "span": { "start": 837, "end": 838, "ctxt": 0 }, "value": "x", "optional": false }, "async": false, "generator": false, "typeParameters": { "type": "TsTypeParameterDeclaration", "span": { "start": 811, "end": 827, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 812, "end": 826, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 812, "end": 813, "ctxt": 0 }, "value": "U", "optional": false }, "constraint": { "type": "TsTypeReference", "span": { "start": 822, "end": 826, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 822, "end": 826, "ctxt": 0 }, "value": "Date", "optional": false }, "typeParams": null }, "default": null } ] }, "returnType": null } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 841, "end": 880, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 845, "end": 879, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 845, "end": 848, "ctxt": 0 }, "value": "r12", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 851, "end": 879, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 851, "end": 854, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "ArrowFunctionExpression", "span": { "start": 855, "end": 878, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 862, "end": 866, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 863, "end": 866, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 865, "end": 866, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 865, "end": 866, "ctxt": 0 }, "value": "U", "optional": false }, "typeParams": null } } }, { "type": "Identifier", "span": { "start": 868, "end": 872, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 869, "end": 872, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 871, "end": 872, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 871, "end": 872, "ctxt": 0 }, "value": "V", "optional": false }, "typeParams": null } } } ], "body": { "type": "Identifier", "span": { "start": 877, "end": 878, "ctxt": 0 }, "value": "x", "optional": false }, "async": false, "generator": false, "typeParameters": { "type": "TsTypeParameterDeclaration", "span": { "start": 855, "end": 861, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 856, "end": 857, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 856, "end": 857, "ctxt": 0 }, "value": "U", "optional": false }, "constraint": null, "default": null }, { "type": "TsTypeParameter", "span": { "start": 859, "end": 860, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 859, "end": 860, "ctxt": 0 }, "value": "V", "optional": false }, "constraint": null, "default": null } ] }, "returnType": null } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 881, "end": 899, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 885, "end": 898, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 885, "end": 888, "ctxt": 0 }, "value": "r13", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 891, "end": 898, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 891, "end": 894, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 895, "end": 897, "ctxt": 0 }, "value": "i2", "optional": false } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 900, "end": 918, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 904, "end": 917, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 904, "end": 907, "ctxt": 0 }, "value": "r14", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 910, "end": 917, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 910, "end": 913, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 914, "end": 916, "ctxt": 0 }, "value": "C2", "optional": false } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 919, "end": 937, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 923, "end": 936, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 923, "end": 926, "ctxt": 0 }, "value": "r15", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 929, "end": 936, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 929, "end": 932, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 933, "end": 935, "ctxt": 0 }, "value": "b2", "optional": false } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 938, "end": 956, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 942, "end": 955, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 942, "end": 945, "ctxt": 0 }, "value": "r16", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 948, "end": 955, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 948, "end": 951, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 952, "end": 954, "ctxt": 0 }, "value": "c2", "optional": false } } ], "typeArguments": null }, "definite": false } ] }, { "type": "TsInterfaceDeclaration", "span": { "start": 958, "end": 1004, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 968, "end": 970, "ctxt": 0 }, "value": "F2", "optional": false }, "declare": false, "typeParams": null, "extends": [ { "type": "TsExpressionWithTypeArguments", "span": { "start": 979, "end": 987, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 979, "end": 987, "ctxt": 0 }, "value": "Function", "optional": false }, "typeArguments": null } ], "body": { "type": "TsInterfaceBody", "span": { "start": 988, "end": 1004, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 990, "end": 1002, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 990, "end": 993, "ctxt": 0 }, "value": "foo", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 993, "end": 1001, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 995, "end": 1001, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 1005, "end": 1016, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1009, "end": 1015, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1009, "end": 1011, "ctxt": 0 }, "value": "f2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1011, "end": 1015, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1013, "end": 1015, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1013, "end": 1015, "ctxt": 0 }, "value": "F2", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 1017, "end": 1035, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1021, "end": 1034, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1021, "end": 1024, "ctxt": 0 }, "value": "r17", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 1027, "end": 1034, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1027, "end": 1030, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 1031, "end": 1033, "ctxt": 0 }, "value": "f2", "optional": false } } ], "typeArguments": null }, "definite": false } ] }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 1046, "end": 1050, "ctxt": 0 }, "value": "foo2", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 1099, "end": 1103, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 1099, "end": 1103, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1100, "end": 1103, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1102, "end": 1103, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1102, "end": 1103, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } } }, { "type": "Parameter", "span": { "start": 1105, "end": 1109, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 1105, "end": 1109, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1106, "end": 1109, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1108, "end": 1109, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1108, "end": 1109, "ctxt": 0 }, "value": "U", "optional": false }, "typeParams": null } } } } ], "decorators": [], "span": { "start": 1037, "end": 1138, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 1111, "end": 1138, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 1117, "end": 1124, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 1117, "end": 1123, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1117, "end": 1120, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 1121, "end": 1122, "ctxt": 0 }, "value": "x", "optional": false } } ], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 1129, "end": 1136, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 1129, "end": 1135, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1129, "end": 1132, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 1133, "end": 1134, "ctxt": 0 }, "value": "y", "optional": false } } ], "typeArguments": null } } ] }, "generator": false, "async": false, "typeParameters": { "type": "TsTypeParameterDeclaration", "span": { "start": 1050, "end": 1098, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 1051, "end": 1073, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 1051, "end": 1052, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": { "type": "TsTypeLiteral", "span": { "start": 1061, "end": 1073, "ctxt": 0 }, "members": [ { "type": "TsCallSignatureDeclaration", "span": { "start": 1063, "end": 1071, "ctxt": 0 }, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1065, "end": 1071, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 1067, "end": 1071, "ctxt": 0 }, "kind": "void" } }, "typeParams": null } ] }, "default": null }, { "type": "TsTypeParameter", "span": { "start": 1075, "end": 1097, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 1075, "end": 1076, "ctxt": 0 }, "value": "U", "optional": false }, "constraint": { "type": "TsTypeLiteral", "span": { "start": 1085, "end": 1097, "ctxt": 0 }, "members": [ { "type": "TsCallSignatureDeclaration", "span": { "start": 1087, "end": 1095, "ctxt": 0 }, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1089, "end": 1095, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 1091, "end": 1095, "ctxt": 0 }, "kind": "void" } }, "typeParams": null } ] }, "default": null } ] }, "returnType": null } ], "interpreter": null }