{ "type": "Script", "span": { "start": 19, "end": 3451, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 19, "end": 53, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 33, "end": 52, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 33, "end": 37, "ctxt": 0 }, "value": "sym1", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 37, "end": 52, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeOperator", "span": { "start": 39, "end": 52, "ctxt": 0 }, "op": "unique", "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 46, "end": 52, "ctxt": 0 }, "kind": "symbol" } } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 54, "end": 88, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 68, "end": 87, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 68, "end": 72, "ctxt": 0 }, "value": "sym2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 72, "end": 87, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeOperator", "span": { "start": 74, "end": 87, "ctxt": 0 }, "op": "unique", "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 81, "end": 87, "ctxt": 0 }, "kind": "symbol" } } } }, "init": null, "definite": false } ] }, { "type": "TsTypeAliasDeclaration", "span": { "start": 90, "end": 113, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 95, "end": 97, "ctxt": 0 }, "value": "T1", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 100, "end": 112, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 100, "end": 106, "ctxt": 0 }, "kind": "string" }, { "type": "TsLiteralType", "span": { "start": 109, "end": 112, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 109, "end": 112, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 122, "end": 151, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 127, "end": 129, "ctxt": 0 }, "value": "T2", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 132, "end": 150, "ctxt": 0 }, "types": [ { "type": "TsLiteralType", "span": { "start": 132, "end": 135, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 132, "end": 135, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "TsKeywordType", "span": { "start": 138, "end": 144, "ctxt": 0 }, "kind": "string" }, { "type": "TsLiteralType", "span": { "start": 147, "end": 150, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 147, "end": 150, "ctxt": 0 }, "value": "b", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 162, "end": 184, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 167, "end": 169, "ctxt": 0 }, "value": "T3", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 172, "end": 183, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 172, "end": 178, "ctxt": 0 }, "kind": "number" }, { "type": "TsLiteralType", "span": { "start": 181, "end": 183, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 181, "end": 183, "ctxt": 0 }, "value": 10.0 } } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 192, "end": 219, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 197, "end": 199, "ctxt": 0 }, "value": "T4", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 202, "end": 218, "ctxt": 0 }, "types": [ { "type": "TsLiteralType", "span": { "start": 202, "end": 204, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 202, "end": 204, "ctxt": 0 }, "value": 10.0 } }, { "type": "TsKeywordType", "span": { "start": 207, "end": 213, "ctxt": 0 }, "kind": "number" }, { "type": "TsLiteralType", "span": { "start": 216, "end": 218, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 216, "end": 218, "ctxt": 0 }, "value": 20.0 } } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 230, "end": 261, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 235, "end": 237, "ctxt": 0 }, "value": "T5", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 240, "end": 260, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 240, "end": 246, "ctxt": 0 }, "kind": "symbol" }, { "type": "TsTypeQuery", "span": { "start": 249, "end": 260, "ctxt": 0 }, "exprName": { "type": "Identifier", "span": { "start": 256, "end": 260, "ctxt": 0 }, "value": "sym1", "optional": false } } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 278, "end": 323, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 283, "end": 285, "ctxt": 0 }, "value": "T6", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 288, "end": 322, "ctxt": 0 }, "types": [ { "type": "TsTypeQuery", "span": { "start": 288, "end": 299, "ctxt": 0 }, "exprName": { "type": "Identifier", "span": { "start": 295, "end": 299, "ctxt": 0 }, "value": "sym1", "optional": false } }, { "type": "TsKeywordType", "span": { "start": 302, "end": 308, "ctxt": 0 }, "kind": "symbol" }, { "type": "TsTypeQuery", "span": { "start": 311, "end": 322, "ctxt": 0 }, "exprName": { "type": "Identifier", "span": { "start": 318, "end": 322, "ctxt": 0 }, "value": "sym2", "optional": false } } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 334, "end": 394, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 339, "end": 341, "ctxt": 0 }, "value": "T7", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 344, "end": 393, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 344, "end": 350, "ctxt": 0 }, "kind": "string" }, { "type": "TsLiteralType", "span": { "start": 353, "end": 356, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 353, "end": 356, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "TsKeywordType", "span": { "start": 359, "end": 365, "ctxt": 0 }, "kind": "number" }, { "type": "TsLiteralType", "span": { "start": 368, "end": 370, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 368, "end": 370, "ctxt": 0 }, "value": 10.0 } }, { "type": "TsKeywordType", "span": { "start": 373, "end": 379, "ctxt": 0 }, "kind": "symbol" }, { "type": "TsTypeQuery", "span": { "start": 382, "end": 393, "ctxt": 0 }, "exprName": { "type": "Identifier", "span": { "start": 389, "end": 393, "ctxt": 0 }, "value": "sym1", "optional": false } } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 406, "end": 438, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 411, "end": 414, "ctxt": 0 }, "value": "T10", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 417, "end": 437, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 417, "end": 423, "ctxt": 0 }, "kind": "string" }, { "type": "TsParenthesizedType", "span": { "start": 426, "end": 437, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 427, "end": 436, "ctxt": 0 }, "types": [ { "type": "TsLiteralType", "span": { "start": 427, "end": 430, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 427, "end": 430, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "TsLiteralType", "span": { "start": 433, "end": 436, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 433, "end": 436, "ctxt": 0 }, "value": "b", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 453, "end": 495, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 458, "end": 461, "ctxt": 0 }, "value": "T11", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 464, "end": 494, "ctxt": 0 }, "types": [ { "type": "TsParenthesizedType", "span": { "start": 464, "end": 481, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 465, "end": 480, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 465, "end": 471, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 474, "end": 480, "ctxt": 0 }, "kind": "number" } ] } }, { "type": "TsParenthesizedType", "span": { "start": 484, "end": 494, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 485, "end": 493, "ctxt": 0 }, "types": [ { "type": "TsLiteralType", "span": { "start": 485, "end": 488, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 485, "end": 488, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "TsLiteralType", "span": { "start": 491, "end": 493, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 491, "end": 493, "ctxt": 0 }, "value": 10.0 } } ] } } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 510, "end": 530, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 515, "end": 517, "ctxt": 0 }, "value": "N1", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 520, "end": 529, "ctxt": 0 }, "types": [ { "type": "TsLiteralType", "span": { "start": 520, "end": 523, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 520, "end": 523, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "TsLiteralType", "span": { "start": 526, "end": 529, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 526, "end": 529, "ctxt": 0 }, "value": "b", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 531, "end": 562, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 536, "end": 538, "ctxt": 0 }, "value": "N2", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 541, "end": 561, "ctxt": 0 }, "types": [ { "type": "TsTypeLiteral", "span": { "start": 541, "end": 554, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 543, "end": 552, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 543, "end": 544, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 544, "end": 552, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 546, "end": 552, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] }, { "type": "TsKeywordType", "span": { "start": 557, "end": 561, "ctxt": 0 }, "kind": "null" } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 563, "end": 599, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 568, "end": 570, "ctxt": 0 }, "value": "N3", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 573, "end": 598, "ctxt": 0 }, "types": [ { "type": "TsTypeLiteral", "span": { "start": 573, "end": 586, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 575, "end": 584, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 575, "end": 576, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 576, "end": 584, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 578, "end": 584, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] }, { "type": "TsKeywordType", "span": { "start": 589, "end": 598, "ctxt": 0 }, "kind": "undefined" } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 600, "end": 626, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 605, "end": 607, "ctxt": 0 }, "value": "N4", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 610, "end": 625, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 610, "end": 616, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 619, "end": 625, "ctxt": 0 }, "kind": "number" } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 627, "end": 653, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 632, "end": 634, "ctxt": 0 }, "value": "N5", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 637, "end": 652, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 637, "end": 643, "ctxt": 0 }, "kind": "number" }, { "type": "TsKeywordType", "span": { "start": 646, "end": 652, "ctxt": 0 }, "kind": "object" } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 654, "end": 680, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 659, "end": 661, "ctxt": 0 }, "value": "N6", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 664, "end": 679, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 664, "end": 670, "ctxt": 0 }, "kind": "symbol" }, { "type": "TsKeywordType", "span": { "start": 673, "end": 679, "ctxt": 0 }, "kind": "string" } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 681, "end": 705, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 686, "end": 688, "ctxt": 0 }, "value": "N7", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 691, "end": 704, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 691, "end": 695, "ctxt": 0 }, "kind": "void" }, { "type": "TsKeywordType", "span": { "start": 698, "end": 704, "ctxt": 0 }, "kind": "string" } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 707, "end": 730, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 712, "end": 713, "ctxt": 0 }, "value": "X", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 716, "end": 729, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 718, "end": 727, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 718, "end": 719, "ctxt": 0 }, "value": "x", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 719, "end": 727, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 721, "end": 727, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 732, "end": 756, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 737, "end": 739, "ctxt": 0 }, "value": "X1", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 742, "end": 755, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 742, "end": 743, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 742, "end": 743, "ctxt": 0 }, "value": "X", "optional": false }, "typeParams": null }, { "type": "TsIntersectionType", "span": { "start": 746, "end": 755, "ctxt": 0 }, "types": [ { "type": "TsLiteralType", "span": { "start": 746, "end": 749, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 746, "end": 749, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "TsLiteralType", "span": { "start": 752, "end": 755, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 752, "end": 755, "ctxt": 0 }, "value": "b", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 757, "end": 792, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 762, "end": 764, "ctxt": 0 }, "value": "X2", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 767, "end": 791, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 767, "end": 768, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 767, "end": 768, "ctxt": 0 }, "value": "X", "optional": false }, "typeParams": null }, { "type": "TsIntersectionType", "span": { "start": 771, "end": 791, "ctxt": 0 }, "types": [ { "type": "TsTypeLiteral", "span": { "start": 771, "end": 784, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 773, "end": 782, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 773, "end": 774, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 774, "end": 782, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 776, "end": 782, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] }, { "type": "TsKeywordType", "span": { "start": 787, "end": 791, "ctxt": 0 }, "kind": "null" } ] } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 793, "end": 833, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 798, "end": 800, "ctxt": 0 }, "value": "X3", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 803, "end": 832, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 803, "end": 804, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 803, "end": 804, "ctxt": 0 }, "value": "X", "optional": false }, "typeParams": null }, { "type": "TsIntersectionType", "span": { "start": 807, "end": 832, "ctxt": 0 }, "types": [ { "type": "TsTypeLiteral", "span": { "start": 807, "end": 820, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 809, "end": 818, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 809, "end": 810, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 810, "end": 818, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 812, "end": 818, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] }, { "type": "TsKeywordType", "span": { "start": 823, "end": 832, "ctxt": 0 }, "kind": "undefined" } ] } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 834, "end": 864, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 839, "end": 841, "ctxt": 0 }, "value": "X4", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 844, "end": 863, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 844, "end": 845, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 844, "end": 845, "ctxt": 0 }, "value": "X", "optional": false }, "typeParams": null }, { "type": "TsIntersectionType", "span": { "start": 848, "end": 863, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 848, "end": 854, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 857, "end": 863, "ctxt": 0 }, "kind": "number" } ] } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 865, "end": 895, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 870, "end": 872, "ctxt": 0 }, "value": "X5", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 875, "end": 894, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 875, "end": 876, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 875, "end": 876, "ctxt": 0 }, "value": "X", "optional": false }, "typeParams": null }, { "type": "TsIntersectionType", "span": { "start": 879, "end": 894, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 879, "end": 885, "ctxt": 0 }, "kind": "number" }, { "type": "TsKeywordType", "span": { "start": 888, "end": 894, "ctxt": 0 }, "kind": "object" } ] } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 896, "end": 926, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 901, "end": 903, "ctxt": 0 }, "value": "X6", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 906, "end": 925, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 906, "end": 907, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 906, "end": 907, "ctxt": 0 }, "value": "X", "optional": false }, "typeParams": null }, { "type": "TsIntersectionType", "span": { "start": 910, "end": 925, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 910, "end": 916, "ctxt": 0 }, "kind": "symbol" }, { "type": "TsKeywordType", "span": { "start": 919, "end": 925, "ctxt": 0 }, "kind": "string" } ] } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 927, "end": 955, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 932, "end": 934, "ctxt": 0 }, "value": "X7", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 937, "end": 954, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 937, "end": 938, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 937, "end": 938, "ctxt": 0 }, "value": "X", "optional": false }, "typeParams": null }, { "type": "TsIntersectionType", "span": { "start": 941, "end": 954, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 941, "end": 945, "ctxt": 0 }, "kind": "void" }, { "type": "TsKeywordType", "span": { "start": 948, "end": 954, "ctxt": 0 }, "kind": "string" } ] } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 957, "end": 993, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 962, "end": 963, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 966, "end": 992, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 968, "end": 978, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 968, "end": 972, "ctxt": 0 }, "value": "kind", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 972, "end": 977, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 974, "end": 977, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 974, "end": 977, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 979, "end": 990, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 979, "end": 982, "ctxt": 0 }, "value": "foo", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 982, "end": 990, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 984, "end": 990, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 994, "end": 1030, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 999, "end": 1000, "ctxt": 0 }, "value": "B", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 1003, "end": 1029, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 1005, "end": 1015, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1005, "end": 1009, "ctxt": 0 }, "value": "kind", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1009, "end": 1014, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1011, "end": 1014, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 1011, "end": 1014, "ctxt": 0 }, "value": "b", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 1016, "end": 1027, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1016, "end": 1019, "ctxt": 0 }, "value": "foo", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1019, "end": 1027, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 1021, "end": 1027, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1031, "end": 1067, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1036, "end": 1037, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 1040, "end": 1066, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 1042, "end": 1052, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1042, "end": 1046, "ctxt": 0 }, "value": "kind", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1046, "end": 1051, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1048, "end": 1051, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 1048, "end": 1051, "ctxt": 0 }, "value": "c", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 1053, "end": 1064, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1053, "end": 1056, "ctxt": 0 }, "value": "foo", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1056, "end": 1064, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 1058, "end": 1064, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 1069, "end": 1091, "ctxt": 0 }, "kind": "let", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1081, "end": 1090, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1081, "end": 1083, "ctxt": 0 }, "value": "ab", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1083, "end": 1090, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 1085, "end": 1090, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1085, "end": 1086, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1085, "end": 1086, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1089, "end": 1090, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1089, "end": 1090, "ctxt": 0 }, "value": "B", "optional": false }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 1092, "end": 1100, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 1092, "end": 1099, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 1092, "end": 1094, "ctxt": 0 }, "value": "ab", "optional": false }, "property": { "type": "Identifier", "span": { "start": 1095, "end": 1099, "ctxt": 0 }, "value": "kind", "optional": false } } }, { "type": "VariableDeclaration", "span": { "start": 1112, "end": 1139, "ctxt": 0 }, "kind": "let", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1124, "end": 1138, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1124, "end": 1125, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1125, "end": 1138, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 1127, "end": 1138, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1127, "end": 1128, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1127, "end": 1128, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null }, { "type": "TsParenthesizedType", "span": { "start": 1131, "end": 1138, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 1132, "end": 1137, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1132, "end": 1133, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1132, "end": 1133, "ctxt": 0 }, "value": "B", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1136, "end": 1137, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1136, "end": 1137, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } ] } } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 1146, "end": 1159, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1150, "end": 1158, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1150, "end": 1151, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1151, "end": 1154, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1153, "end": 1154, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1153, "end": 1154, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null } } }, "init": { "type": "Identifier", "span": { "start": 1157, "end": 1158, "ctxt": 0 }, "value": "x", "optional": false }, "definite": false } ] }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1161, "end": 1177, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1166, "end": 1168, "ctxt": 0 }, "value": "AB", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 1171, "end": 1176, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1171, "end": 1172, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1171, "end": 1172, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1175, "end": 1176, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1175, "end": 1176, "ctxt": 0 }, "value": "B", "optional": false }, "typeParams": null } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1188, "end": 1204, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1193, "end": 1195, "ctxt": 0 }, "value": "BC", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 1198, "end": 1203, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1198, "end": 1199, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1198, "end": 1199, "ctxt": 0 }, "value": "B", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1202, "end": 1203, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1202, "end": 1203, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1216, "end": 1241, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1221, "end": 1223, "ctxt": 0 }, "value": "U1", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1226, "end": 1240, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1226, "end": 1233, "ctxt": 0 }, "value": "Partial", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 1233, "end": 1240, "ctxt": 0 }, "params": [ { "type": "TsIntersectionType", "span": { "start": 1234, "end": 1239, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1234, "end": 1235, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1234, "end": 1235, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1238, "end": 1239, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1238, "end": 1239, "ctxt": 0 }, "value": "B", "optional": false }, "typeParams": null } ] } ] } } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1252, "end": 1278, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1257, "end": 1259, "ctxt": 0 }, "value": "U2", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1262, "end": 1277, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1262, "end": 1270, "ctxt": 0 }, "value": "Readonly", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 1270, "end": 1277, "ctxt": 0 }, "params": [ { "type": "TsIntersectionType", "span": { "start": 1271, "end": 1276, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1271, "end": 1272, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1271, "end": 1272, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1275, "end": 1276, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1275, "end": 1276, "ctxt": 0 }, "value": "B", "optional": false }, "typeParams": null } ] } ] } } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1289, "end": 1315, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1294, "end": 1296, "ctxt": 0 }, "value": "U3", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIndexedAccessType", "span": { "start": 1299, "end": 1314, "ctxt": 0 }, "readonly": false, "objectType": { "type": "TsParenthesizedType", "span": { "start": 1299, "end": 1306, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 1300, "end": 1305, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1300, "end": 1301, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1300, "end": 1301, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1304, "end": 1305, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1304, "end": 1305, "ctxt": 0 }, "value": "B", "optional": false }, "typeParams": null } ] } }, "indexType": { "type": "TsLiteralType", "span": { "start": 1307, "end": 1313, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 1307, "end": 1313, "ctxt": 0 }, "value": "kind", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1326, "end": 1350, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1331, "end": 1333, "ctxt": 0 }, "value": "U4", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 1336, "end": 1349, "ctxt": 0 }, "types": [ { "type": "TsIntersectionType", "span": { "start": 1336, "end": 1341, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1336, "end": 1337, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1336, "end": 1337, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1340, "end": 1341, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1340, "end": 1341, "ctxt": 0 }, "value": "B", "optional": false }, "typeParams": null } ] }, { "type": "TsIntersectionType", "span": { "start": 1344, "end": 1349, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1344, "end": 1345, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1344, "end": 1345, "ctxt": 0 }, "value": "B", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1348, "end": 1349, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1348, "end": 1349, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } ] } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1361, "end": 1381, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1366, "end": 1368, "ctxt": 0 }, "value": "U5", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 1371, "end": 1380, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1371, "end": 1372, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1371, "end": 1372, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null }, { "type": "TsIntersectionType", "span": { "start": 1375, "end": 1380, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1375, "end": 1376, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1375, "end": 1376, "ctxt": 0 }, "value": "B", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1379, "end": 1380, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1379, "end": 1380, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } ] } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1389, "end": 1413, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1394, "end": 1396, "ctxt": 0 }, "value": "K1", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsTypeOperator", "span": { "start": 1399, "end": 1412, "ctxt": 0 }, "op": "keyof", "typeAnnotation": { "type": "TsParenthesizedType", "span": { "start": 1405, "end": 1412, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 1406, "end": 1411, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1406, "end": 1407, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1406, "end": 1407, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1410, "end": 1411, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1410, "end": 1411, "ctxt": 0 }, "value": "B", "optional": false }, "typeParams": null } ] } } } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1443, "end": 1471, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1448, "end": 1450, "ctxt": 0 }, "value": "K2", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 1453, "end": 1470, "ctxt": 0 }, "types": [ { "type": "TsTypeOperator", "span": { "start": 1453, "end": 1460, "ctxt": 0 }, "op": "keyof", "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1459, "end": 1460, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1459, "end": 1460, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null } }, { "type": "TsTypeOperator", "span": { "start": 1463, "end": 1470, "ctxt": 0 }, "op": "keyof", "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1469, "end": 1470, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1469, "end": 1470, "ctxt": 0 }, "value": "B", "optional": false }, "typeParams": null } } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1492, "end": 1579, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1497, "end": 1503, "ctxt": 0 }, "value": "Merge1", "optional": false }, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 1503, "end": 1509, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 1504, "end": 1505, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 1504, "end": 1505, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null }, { "type": "TsTypeParameter", "span": { "start": 1507, "end": 1508, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 1507, "end": 1508, "ctxt": 0 }, "value": "U", "optional": false }, "constraint": null, "default": null } ] }, "typeAnnotation": { "type": "TsMappedType", "span": { "start": 1512, "end": 1579, "ctxt": 0 }, "readonly": null, "typeParam": { "type": "TsTypeParameter", "span": { "start": 1515, "end": 1533, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 1515, "end": 1516, "ctxt": 0 }, "value": "P", "optional": false }, "constraint": { "type": "TsTypeOperator", "span": { "start": 1520, "end": 1533, "ctxt": 0 }, "op": "keyof", "typeAnnotation": { "type": "TsParenthesizedType", "span": { "start": 1526, "end": 1533, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 1527, "end": 1532, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1527, "end": 1528, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1527, "end": 1528, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 1531, "end": 1532, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1531, "end": 1532, "ctxt": 0 }, "value": "U", "optional": false }, "typeParams": null } ] } } }, "default": null }, "nameType": null, "optional": null, "typeAnnotation": { "type": "TsConditionalType", "span": { "start": 1536, "end": 1577, "ctxt": 0 }, "checkType": { "type": "TsTypeReference", "span": { "start": 1536, "end": 1537, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1536, "end": 1537, "ctxt": 0 }, "value": "P", "optional": false }, "typeParams": null }, "extendsType": { "type": "TsTypeOperator", "span": { "start": 1546, "end": 1553, "ctxt": 0 }, "op": "keyof", "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1552, "end": 1553, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1552, "end": 1553, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "trueType": { "type": "TsIndexedAccessType", "span": { "start": 1556, "end": 1560, "ctxt": 0 }, "readonly": false, "objectType": { "type": "TsTypeReference", "span": { "start": 1556, "end": 1557, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1556, "end": 1557, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null }, "indexType": { "type": "TsTypeReference", "span": { "start": 1558, "end": 1559, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1558, "end": 1559, "ctxt": 0 }, "value": "P", "optional": false }, "typeParams": null } }, "falseType": { "type": "TsIndexedAccessType", "span": { "start": 1563, "end": 1577, "ctxt": 0 }, "readonly": false, "objectType": { "type": "TsTypeReference", "span": { "start": 1563, "end": 1564, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1563, "end": 1564, "ctxt": 0 }, "value": "U", "optional": false }, "typeParams": null }, "indexType": { "type": "TsIntersectionType", "span": { "start": 1565, "end": 1576, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1565, "end": 1566, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1565, "end": 1566, "ctxt": 0 }, "value": "P", "optional": false }, "typeParams": null }, { "type": "TsTypeOperator", "span": { "start": 1569, "end": 1576, "ctxt": 0 }, "op": "keyof", "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1575, "end": 1576, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1575, "end": 1576, "ctxt": 0 }, "value": "U", "optional": false }, "typeParams": null } } ] } } } } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1580, "end": 1671, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1585, "end": 1591, "ctxt": 0 }, "value": "Merge2", "optional": false }, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 1591, "end": 1597, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 1592, "end": 1593, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 1592, "end": 1593, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null }, { "type": "TsTypeParameter", "span": { "start": 1595, "end": 1596, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 1595, "end": 1596, "ctxt": 0 }, "value": "U", "optional": false }, "constraint": null, "default": null } ] }, "typeAnnotation": { "type": "TsMappedType", "span": { "start": 1600, "end": 1671, "ctxt": 0 }, "readonly": null, "typeParam": { "type": "TsTypeParameter", "span": { "start": 1603, "end": 1625, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 1603, "end": 1604, "ctxt": 0 }, "value": "P", "optional": false }, "constraint": { "type": "TsUnionType", "span": { "start": 1608, "end": 1625, "ctxt": 0 }, "types": [ { "type": "TsTypeOperator", "span": { "start": 1608, "end": 1615, "ctxt": 0 }, "op": "keyof", "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1614, "end": 1615, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1614, "end": 1615, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, { "type": "TsTypeOperator", "span": { "start": 1618, "end": 1625, "ctxt": 0 }, "op": "keyof", "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1624, "end": 1625, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1624, "end": 1625, "ctxt": 0 }, "value": "U", "optional": false }, "typeParams": null } } ] }, "default": null }, "nameType": null, "optional": null, "typeAnnotation": { "type": "TsConditionalType", "span": { "start": 1628, "end": 1669, "ctxt": 0 }, "checkType": { "type": "TsTypeReference", "span": { "start": 1628, "end": 1629, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1628, "end": 1629, "ctxt": 0 }, "value": "P", "optional": false }, "typeParams": null }, "extendsType": { "type": "TsTypeOperator", "span": { "start": 1638, "end": 1645, "ctxt": 0 }, "op": "keyof", "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1644, "end": 1645, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1644, "end": 1645, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "trueType": { "type": "TsIndexedAccessType", "span": { "start": 1648, "end": 1652, "ctxt": 0 }, "readonly": false, "objectType": { "type": "TsTypeReference", "span": { "start": 1648, "end": 1649, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1648, "end": 1649, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null }, "indexType": { "type": "TsTypeReference", "span": { "start": 1650, "end": 1651, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1650, "end": 1651, "ctxt": 0 }, "value": "P", "optional": false }, "typeParams": null } }, "falseType": { "type": "TsIndexedAccessType", "span": { "start": 1655, "end": 1669, "ctxt": 0 }, "readonly": false, "objectType": { "type": "TsTypeReference", "span": { "start": 1655, "end": 1656, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1655, "end": 1656, "ctxt": 0 }, "value": "U", "optional": false }, "typeParams": null }, "indexType": { "type": "TsIntersectionType", "span": { "start": 1657, "end": 1668, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1657, "end": 1658, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1657, "end": 1658, "ctxt": 0 }, "value": "P", "optional": false }, "typeParams": null }, { "type": "TsTypeOperator", "span": { "start": 1661, "end": 1668, "ctxt": 0 }, "op": "keyof", "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1667, "end": 1668, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1667, "end": 1668, "ctxt": 0 }, "value": "U", "optional": false }, "typeParams": null } } ] } } } } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1673, "end": 1715, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1678, "end": 1680, "ctxt": 0 }, "value": "M1", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 1683, "end": 1714, "ctxt": 0 }, "types": [ { "type": "TsTypeLiteral", "span": { "start": 1683, "end": 1697, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 1685, "end": 1690, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1685, "end": 1686, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1686, "end": 1689, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1688, "end": 1689, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 1688, "end": 1689, "ctxt": 0 }, "value": 1.0 } } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 1691, "end": 1695, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1691, "end": 1692, "ctxt": 0 }, "value": "b", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1692, "end": 1695, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1694, "end": 1695, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 1694, "end": 1695, "ctxt": 0 }, "value": 2.0 } } }, "typeParams": null } ] }, { "type": "TsTypeLiteral", "span": { "start": 1700, "end": 1714, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 1702, "end": 1707, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1702, "end": 1703, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1703, "end": 1706, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1705, "end": 1706, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 1705, "end": 1706, "ctxt": 0 }, "value": 2.0 } } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 1708, "end": 1712, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1708, "end": 1709, "ctxt": 0 }, "value": "c", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1709, "end": 1712, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1711, "end": 1712, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 1711, "end": 1712, "ctxt": 0 }, "value": 3.0 } } }, "typeParams": null } ] } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1726, "end": 1775, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1731, "end": 1733, "ctxt": 0 }, "value": "M2", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1736, "end": 1774, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1736, "end": 1742, "ctxt": 0 }, "value": "Merge1", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 1742, "end": 1774, "ctxt": 0 }, "params": [ { "type": "TsTypeLiteral", "span": { "start": 1743, "end": 1757, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 1745, "end": 1750, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1745, "end": 1746, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1746, "end": 1749, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1748, "end": 1749, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 1748, "end": 1749, "ctxt": 0 }, "value": 1.0 } } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 1751, "end": 1755, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1751, "end": 1752, "ctxt": 0 }, "value": "b", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1752, "end": 1755, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1754, "end": 1755, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 1754, "end": 1755, "ctxt": 0 }, "value": 2.0 } } }, "typeParams": null } ] }, { "type": "TsTypeLiteral", "span": { "start": 1759, "end": 1773, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 1761, "end": 1766, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1761, "end": 1762, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1762, "end": 1765, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1764, "end": 1765, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 1764, "end": 1765, "ctxt": 0 }, "value": 2.0 } } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 1767, "end": 1771, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1767, "end": 1768, "ctxt": 0 }, "value": "c", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1768, "end": 1771, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1770, "end": 1771, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 1770, "end": 1771, "ctxt": 0 }, "value": 3.0 } } }, "typeParams": null } ] } ] } } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1783, "end": 1832, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1788, "end": 1790, "ctxt": 0 }, "value": "M3", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1793, "end": 1831, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1793, "end": 1799, "ctxt": 0 }, "value": "Merge2", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 1799, "end": 1831, "ctxt": 0 }, "params": [ { "type": "TsTypeLiteral", "span": { "start": 1800, "end": 1814, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 1802, "end": 1807, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1802, "end": 1803, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1803, "end": 1806, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1805, "end": 1806, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 1805, "end": 1806, "ctxt": 0 }, "value": 1.0 } } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 1808, "end": 1812, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1808, "end": 1809, "ctxt": 0 }, "value": "b", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1809, "end": 1812, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1811, "end": 1812, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 1811, "end": 1812, "ctxt": 0 }, "value": 2.0 } } }, "typeParams": null } ] }, { "type": "TsTypeLiteral", "span": { "start": 1816, "end": 1830, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 1818, "end": 1823, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1818, "end": 1819, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1819, "end": 1822, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1821, "end": 1822, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 1821, "end": 1822, "ctxt": 0 }, "value": 2.0 } } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 1824, "end": 1828, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1824, "end": 1825, "ctxt": 0 }, "value": "c", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1825, "end": 1828, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1827, "end": 1828, "ctxt": 0 }, "literal": { "type": "NumericLiteral", "span": { "start": 1827, "end": 1828, "ctxt": 0 }, "value": 3.0 } } }, "typeParams": null } ] } ] } } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1859, "end": 1896, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1864, "end": 1865, "ctxt": 0 }, "value": "D", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 1868, "end": 1895, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 1870, "end": 1880, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1870, "end": 1874, "ctxt": 0 }, "value": "kind", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1874, "end": 1879, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1876, "end": 1879, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 1876, "end": 1879, "ctxt": 0 }, "value": "d", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 1881, "end": 1893, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1881, "end": 1884, "ctxt": 0 }, "value": "foo", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1884, "end": 1893, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 1886, "end": 1893, "ctxt": 0 }, "kind": "unknown" } }, "typeParams": null } ] } }, { "type": "TsTypeAliasDeclaration", "span": { "start": 1897, "end": 1934, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 1902, "end": 1903, "ctxt": 0 }, "value": "E", "optional": false }, "typeParams": null, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 1906, "end": 1933, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 1908, "end": 1918, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1908, "end": 1912, "ctxt": 0 }, "value": "kind", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1912, "end": 1917, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 1914, "end": 1917, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 1914, "end": 1917, "ctxt": 0 }, "value": "e", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 1919, "end": 1931, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1919, "end": 1922, "ctxt": 0 }, "value": "foo", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1922, "end": 1931, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 1924, "end": 1931, "ctxt": 0 }, "kind": "unknown" } }, "typeParams": null } ] } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 1953, "end": 1956, "ctxt": 0 }, "value": "f10", "optional": false }, "declare": true, "params": [ { "type": "Parameter", "span": { "start": 1960, "end": 1973, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 1960, "end": 1973, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1961, "end": 1973, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 1963, "end": 1973, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 1965, "end": 1971, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 1965, "end": 1968, "ctxt": 0 }, "value": "foo", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1968, "end": 1971, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1970, "end": 1971, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1970, "end": 1971, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "typeParams": null } ] } } } } ], "decorators": [], "span": { "start": 1936, "end": 1978, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": { "type": "TsTypeParameterDeclaration", "span": { "start": 1956, "end": 1959, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 1957, "end": 1958, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 1957, "end": 1958, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null } ] }, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 1974, "end": 1977, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 1976, "end": 1977, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1976, "end": 1977, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } } }, { "type": "VariableDeclaration", "span": { "start": 1980, "end": 2002, "ctxt": 0 }, "kind": "let", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1992, "end": 2001, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1992, "end": 1994, "ctxt": 0 }, "value": "a1", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 1994, "end": 2001, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 1996, "end": 2001, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 1996, "end": 1997, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 1996, "end": 1997, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 2000, "end": 2001, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2000, "end": 2001, "ctxt": 0 }, "value": "D", "optional": false }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 2003, "end": 2029, "ctxt": 0 }, "kind": "let", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2015, "end": 2028, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2015, "end": 2017, "ctxt": 0 }, "value": "a2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2017, "end": 2028, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 2019, "end": 2028, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 2019, "end": 2020, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2019, "end": 2020, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null }, { "type": "TsIntersectionType", "span": { "start": 2023, "end": 2028, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 2023, "end": 2024, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2023, "end": 2024, "ctxt": 0 }, "value": "D", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 2027, "end": 2028, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2027, "end": 2028, "ctxt": 0 }, "value": "E", "optional": false }, "typeParams": null } ] } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 2031, "end": 2048, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2035, "end": 2047, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2035, "end": 2037, "ctxt": 0 }, "value": "r1", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 2040, "end": 2047, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 2040, "end": 2043, "ctxt": 0 }, "value": "f10", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 2044, "end": 2046, "ctxt": 0 }, "value": "a1", "optional": false } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 2061, "end": 2078, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2065, "end": 2077, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2065, "end": 2067, "ctxt": 0 }, "value": "r2", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 2070, "end": 2077, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 2070, "end": 2073, "ctxt": 0 }, "value": "f10", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 2074, "end": 2076, "ctxt": 0 }, "value": "a2", "optional": false } } ], "typeArguments": null }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 2113, "end": 2144, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2119, "end": 2143, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2119, "end": 2121, "ctxt": 0 }, "value": "x1", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 2124, "end": 2143, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 2126, "end": 2127, "ctxt": 0 }, "value": "a", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 2129, "end": 2134, "ctxt": 0 }, "value": "foo", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 2136, "end": 2137, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 2139, "end": 2141, "ctxt": 0 }, "value": 42.0 } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 2145, "end": 2178, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2151, "end": 2177, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2151, "end": 2153, "ctxt": 0 }, "value": "x2", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 2156, "end": 2177, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 2158, "end": 2159, "ctxt": 0 }, "value": "a", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 2161, "end": 2166, "ctxt": 0 }, "value": "foo", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 2168, "end": 2169, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "BooleanLiteral", "span": { "start": 2171, "end": 2175, "ctxt": 0 }, "value": true } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 2180, "end": 2205, "ctxt": 0 }, "kind": "let", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2192, "end": 2204, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2192, "end": 2193, "ctxt": 0 }, "value": "k", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2193, "end": 2204, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 2195, "end": 2204, "ctxt": 0 }, "types": [ { "type": "TsLiteralType", "span": { "start": 2195, "end": 2198, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2195, "end": 2198, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "TsLiteralType", "span": { "start": 2201, "end": 2204, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2201, "end": 2204, "ctxt": 0 }, "value": "b", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 2207, "end": 2228, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 2207, "end": 2227, "ctxt": 0 }, "operator": "=", "left": { "type": "MemberExpression", "span": { "start": 2207, "end": 2212, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 2207, "end": 2209, "ctxt": 0 }, "value": "x1", "optional": false }, "property": { "type": "Computed", "span": { "start": 2209, "end": 2212, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 2210, "end": 2211, "ctxt": 0 }, "value": "k", "optional": false } } }, "right": { "type": "TsAsExpression", "span": { "start": 2215, "end": 2227, "ctxt": 0 }, "expression": { "type": "StringLiteral", "span": { "start": 2215, "end": 2220, "ctxt": 0 }, "value": "bar", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 2224, "end": 2227, "ctxt": 0 }, "kind": "any" } } } }, { "type": "ExpressionStatement", "span": { "start": 2239, "end": 2260, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 2239, "end": 2259, "ctxt": 0 }, "operator": "=", "left": { "type": "MemberExpression", "span": { "start": 2239, "end": 2244, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 2239, "end": 2241, "ctxt": 0 }, "value": "x2", "optional": false }, "property": { "type": "Computed", "span": { "start": 2241, "end": 2244, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 2242, "end": 2243, "ctxt": 0 }, "value": "k", "optional": false } } }, "right": { "type": "TsAsExpression", "span": { "start": 2247, "end": 2259, "ctxt": 0 }, "expression": { "type": "StringLiteral", "span": { "start": 2247, "end": 2252, "ctxt": 0 }, "value": "bar", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 2256, "end": 2259, "ctxt": 0 }, "kind": "any" } } } }, { "type": "TsEnumDeclaration", "span": { "start": 2272, "end": 2290, "ctxt": 0 }, "declare": false, "isConst": true, "id": { "type": "Identifier", "span": { "start": 2283, "end": 2287, "ctxt": 0 }, "value": "Tag1", "optional": false }, "members": [] }, { "type": "TsEnumDeclaration", "span": { "start": 2291, "end": 2309, "ctxt": 0 }, "declare": false, "isConst": true, "id": { "type": "Identifier", "span": { "start": 2302, "end": 2306, "ctxt": 0 }, "value": "Tag2", "optional": false }, "members": [] }, { "type": "VariableDeclaration", "span": { "start": 2311, "end": 2341, "ctxt": 0 }, "kind": "let", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2323, "end": 2340, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2323, "end": 2325, "ctxt": 0 }, "value": "s1", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2325, "end": 2340, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 2327, "end": 2340, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 2327, "end": 2333, "ctxt": 0 }, "kind": "string" }, { "type": "TsTypeReference", "span": { "start": 2336, "end": 2340, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2336, "end": 2340, "ctxt": 0 }, "value": "Tag1", "optional": false }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 2342, "end": 2372, "ctxt": 0 }, "kind": "let", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2354, "end": 2371, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2354, "end": 2356, "ctxt": 0 }, "value": "s2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2356, "end": 2371, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 2358, "end": 2371, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 2358, "end": 2364, "ctxt": 0 }, "kind": "string" }, { "type": "TsTypeReference", "span": { "start": 2367, "end": 2371, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2367, "end": 2371, "ctxt": 0 }, "value": "Tag2", "optional": false }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 2374, "end": 2416, "ctxt": 0 }, "kind": "let", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2386, "end": 2415, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2386, "end": 2388, "ctxt": 0 }, "value": "t1", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2388, "end": 2415, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 2390, "end": 2415, "ctxt": 0 }, "types": [ { "type": "TsIntersectionType", "span": { "start": 2390, "end": 2403, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 2390, "end": 2396, "ctxt": 0 }, "kind": "string" }, { "type": "TsTypeReference", "span": { "start": 2399, "end": 2403, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2399, "end": 2403, "ctxt": 0 }, "value": "Tag1", "optional": false }, "typeParams": null } ] }, { "type": "TsKeywordType", "span": { "start": 2406, "end": 2415, "ctxt": 0 }, "kind": "undefined" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 2417, "end": 2459, "ctxt": 0 }, "kind": "let", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2429, "end": 2458, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2429, "end": 2431, "ctxt": 0 }, "value": "t2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2431, "end": 2458, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 2433, "end": 2458, "ctxt": 0 }, "types": [ { "type": "TsIntersectionType", "span": { "start": 2433, "end": 2446, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 2433, "end": 2439, "ctxt": 0 }, "kind": "string" }, { "type": "TsTypeReference", "span": { "start": 2442, "end": 2446, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2442, "end": 2446, "ctxt": 0 }, "value": "Tag2", "optional": false }, "typeParams": null } ] }, { "type": "TsKeywordType", "span": { "start": 2449, "end": 2458, "ctxt": 0 }, "kind": "undefined" } ] } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 2461, "end": 2469, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 2461, "end": 2468, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 2461, "end": 2463, "ctxt": 0 }, "value": "s1", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 2466, "end": 2468, "ctxt": 0 }, "value": "s2", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 2470, "end": 2478, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 2470, "end": 2477, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 2470, "end": 2472, "ctxt": 0 }, "value": "s2", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 2475, "end": 2477, "ctxt": 0 }, "value": "s1", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 2480, "end": 2488, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 2480, "end": 2487, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 2480, "end": 2482, "ctxt": 0 }, "value": "t1", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 2485, "end": 2487, "ctxt": 0 }, "value": "t2", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 2489, "end": 2497, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 2489, "end": 2496, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 2489, "end": 2491, "ctxt": 0 }, "value": "t2", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 2494, "end": 2496, "ctxt": 0 }, "value": "t1", "optional": false } } }, { "type": "VariableDeclaration", "span": { "start": 2521, "end": 2565, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2527, "end": 2564, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2527, "end": 2529, "ctxt": 0 }, "value": "f1", "optional": false, "typeAnnotation": null }, "init": { "type": "ArrowFunctionExpression", "span": { "start": 2532, "end": 2564, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 2533, "end": 2553, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2534, "end": 2553, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 2536, "end": 2553, "ctxt": 0 }, "types": [ { "type": "TsLiteralType", "span": { "start": 2536, "end": 2539, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2536, "end": 2539, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "TsParenthesizedType", "span": { "start": 2542, "end": 2553, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 2543, "end": 2552, "ctxt": 0 }, "types": [ { "type": "TsLiteralType", "span": { "start": 2543, "end": 2546, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2543, "end": 2546, "ctxt": 0 }, "value": "b", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "TsLiteralType", "span": { "start": 2549, "end": 2552, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2549, "end": 2552, "ctxt": 0 }, "value": "c", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } } ] } } } ], "body": { "type": "Identifier", "span": { "start": 2563, "end": 2564, "ctxt": 0 }, "value": "t", "optional": false }, "async": false, "generator": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 2554, "end": 2559, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 2556, "end": 2559, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2556, "end": 2559, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } } }, "definite": false } ] }, { "type": "TsTypeAliasDeclaration", "span": { "start": 2567, "end": 2624, "ctxt": 0 }, "declare": false, "id": { "type": "Identifier", "span": { "start": 2572, "end": 2581, "ctxt": 0 }, "value": "Container", "optional": false }, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 2581, "end": 2602, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 2582, "end": 2601, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 2582, "end": 2586, "ctxt": 0 }, "value": "Type", "optional": false }, "constraint": { "type": "TsKeywordType", "span": { "start": 2595, "end": 2601, "ctxt": 0 }, "kind": "string" }, "default": null } ] }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 2605, "end": 2624, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 2611, "end": 2622, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 2611, "end": 2615, "ctxt": 0 }, "value": "type", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2615, "end": 2621, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 2617, "end": 2621, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2617, "end": 2621, "ctxt": 0 }, "value": "Type", "optional": false }, "typeParams": null } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 2626, "end": 2714, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2632, "end": 2713, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2632, "end": 2634, "ctxt": 0 }, "value": "f2", "optional": false, "typeAnnotation": null }, "init": { "type": "ArrowFunctionExpression", "span": { "start": 2637, "end": 2713, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 2638, "end": 2691, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2639, "end": 2691, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 2641, "end": 2691, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 2641, "end": 2655, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2641, "end": 2650, "ctxt": 0 }, "value": "Container", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 2650, "end": 2655, "ctxt": 0 }, "params": [ { "type": "TsLiteralType", "span": { "start": 2651, "end": 2654, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2651, "end": 2654, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } }, { "type": "TsParenthesizedType", "span": { "start": 2658, "end": 2691, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 2659, "end": 2690, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 2659, "end": 2673, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2659, "end": 2668, "ctxt": 0 }, "value": "Container", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 2668, "end": 2673, "ctxt": 0 }, "params": [ { "type": "TsLiteralType", "span": { "start": 2669, "end": 2672, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2669, "end": 2672, "ctxt": 0 }, "value": "b", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } }, { "type": "TsTypeReference", "span": { "start": 2676, "end": 2690, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2676, "end": 2685, "ctxt": 0 }, "value": "Container", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 2685, "end": 2690, "ctxt": 0 }, "params": [ { "type": "TsLiteralType", "span": { "start": 2686, "end": 2689, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2686, "end": 2689, "ctxt": 0 }, "value": "c", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } } ] } } ] } } } ], "body": { "type": "Identifier", "span": { "start": 2712, "end": 2713, "ctxt": 0 }, "value": "t", "optional": false }, "async": false, "generator": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 2692, "end": 2708, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 2694, "end": 2708, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2694, "end": 2703, "ctxt": 0 }, "value": "Container", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 2703, "end": 2708, "ctxt": 0 }, "params": [ { "type": "TsLiteralType", "span": { "start": 2704, "end": 2707, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2704, "end": 2707, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } } } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 2715, "end": 2824, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2721, "end": 2823, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2721, "end": 2723, "ctxt": 0 }, "value": "f3", "optional": false, "typeAnnotation": null }, "init": { "type": "ArrowFunctionExpression", "span": { "start": 2726, "end": 2823, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 2727, "end": 2801, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2728, "end": 2801, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 2730, "end": 2801, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 2730, "end": 2744, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2730, "end": 2739, "ctxt": 0 }, "value": "Container", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 2739, "end": 2744, "ctxt": 0 }, "params": [ { "type": "TsLiteralType", "span": { "start": 2740, "end": 2743, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2740, "end": 2743, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } }, { "type": "TsParenthesizedType", "span": { "start": 2747, "end": 2801, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 2748, "end": 2800, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 2748, "end": 2762, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2748, "end": 2757, "ctxt": 0 }, "value": "Container", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 2757, "end": 2762, "ctxt": 0 }, "params": [ { "type": "TsLiteralType", "span": { "start": 2758, "end": 2761, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2758, "end": 2761, "ctxt": 0 }, "value": "b", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } }, { "type": "TsTypeLiteral", "span": { "start": 2765, "end": 2783, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 2767, "end": 2781, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 2767, "end": 2772, "ctxt": 0 }, "value": "dataB", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2772, "end": 2781, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 2774, "end": 2781, "ctxt": 0 }, "kind": "boolean" } }, "typeParams": null } ] }, { "type": "TsTypeReference", "span": { "start": 2786, "end": 2800, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2786, "end": 2795, "ctxt": 0 }, "value": "Container", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 2795, "end": 2800, "ctxt": 0 }, "params": [ { "type": "TsLiteralType", "span": { "start": 2796, "end": 2799, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2796, "end": 2799, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } } ] } } ] } } } ], "body": { "type": "Identifier", "span": { "start": 2822, "end": 2823, "ctxt": 0 }, "value": "t", "optional": false }, "async": false, "generator": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 2802, "end": 2818, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 2804, "end": 2818, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2804, "end": 2813, "ctxt": 0 }, "value": "Container", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 2813, "end": 2818, "ctxt": 0 }, "params": [ { "type": "TsLiteralType", "span": { "start": 2814, "end": 2817, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2814, "end": 2817, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } } } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 2825, "end": 2918, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 2831, "end": 2917, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2831, "end": 2833, "ctxt": 0 }, "value": "f4", "optional": false, "typeAnnotation": null }, "init": { "type": "ArrowFunctionExpression", "span": { "start": 2836, "end": 2917, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 2837, "end": 2903, "ctxt": 0 }, "value": "t", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2838, "end": 2903, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 2840, "end": 2903, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 2840, "end": 2846, "ctxt": 0 }, "kind": "number" }, { "type": "TsParenthesizedType", "span": { "start": 2849, "end": 2903, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 2850, "end": 2902, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 2850, "end": 2864, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2850, "end": 2859, "ctxt": 0 }, "value": "Container", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 2859, "end": 2864, "ctxt": 0 }, "params": [ { "type": "TsLiteralType", "span": { "start": 2860, "end": 2863, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2860, "end": 2863, "ctxt": 0 }, "value": "b", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } }, { "type": "TsTypeLiteral", "span": { "start": 2867, "end": 2885, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 2869, "end": 2883, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 2869, "end": 2874, "ctxt": 0 }, "value": "dataB", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2874, "end": 2883, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 2876, "end": 2883, "ctxt": 0 }, "kind": "boolean" } }, "typeParams": null } ] }, { "type": "TsTypeReference", "span": { "start": 2888, "end": 2902, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 2888, "end": 2897, "ctxt": 0 }, "value": "Container", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 2897, "end": 2902, "ctxt": 0 }, "params": [ { "type": "TsLiteralType", "span": { "start": 2898, "end": 2901, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2898, "end": 2901, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } } ] } } ] } } } ], "body": { "type": "Identifier", "span": { "start": 2916, "end": 2917, "ctxt": 0 }, "value": "t", "optional": false }, "async": false, "generator": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 2904, "end": 2912, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 2906, "end": 2912, "ctxt": 0 }, "kind": "number" } } }, "definite": false } ] }, { "type": "TsInterfaceDeclaration", "span": { "start": 2942, "end": 2988, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 2952, "end": 2954, "ctxt": 0 }, "value": "A2", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 2955, "end": 2988, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 2961, "end": 2971, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 2961, "end": 2965, "ctxt": 0 }, "value": "kind", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2965, "end": 2970, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 2967, "end": 2970, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 2967, "end": 2970, "ctxt": 0 }, "value": "A", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 2976, "end": 2986, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 2976, "end": 2977, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 2977, "end": 2985, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 2979, "end": 2985, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } }, { "type": "TsInterfaceDeclaration", "span": { "start": 2990, "end": 3036, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 3000, "end": 3002, "ctxt": 0 }, "value": "B2", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 3003, "end": 3036, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 3009, "end": 3019, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 3009, "end": 3013, "ctxt": 0 }, "value": "kind", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3013, "end": 3018, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 3015, "end": 3018, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 3015, "end": 3018, "ctxt": 0 }, "value": "B", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 3024, "end": 3034, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 3024, "end": 3025, "ctxt": 0 }, "value": "b", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3025, "end": 3033, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 3027, "end": 3033, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 3038, "end": 3078, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 3052, "end": 3077, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 3052, "end": 3061, "ctxt": 0 }, "value": "shouldBeB", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3061, "end": 3077, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 3063, "end": 3077, "ctxt": 0 }, "types": [ { "type": "TsParenthesizedType", "span": { "start": 3063, "end": 3072, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 3064, "end": 3071, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 3064, "end": 3066, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3064, "end": 3066, "ctxt": 0 }, "value": "A2", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 3069, "end": 3071, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3069, "end": 3071, "ctxt": 0 }, "value": "B2", "optional": false }, "typeParams": null } ] } }, { "type": "TsTypeReference", "span": { "start": 3075, "end": 3077, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3075, "end": 3077, "ctxt": 0 }, "value": "B2", "optional": false }, "typeParams": null } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 3079, "end": 3103, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 3085, "end": 3102, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 3085, "end": 3086, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3086, "end": 3090, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 3088, "end": 3090, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3088, "end": 3090, "ctxt": 0 }, "value": "B2", "optional": false }, "typeParams": null } } }, "init": { "type": "Identifier", "span": { "start": 3093, "end": 3102, "ctxt": 0 }, "value": "shouldBeB", "optional": false }, "definite": false } ] }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 3123, "end": 3132, "ctxt": 0 }, "value": "inGeneric", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 3152, "end": 3173, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 3152, "end": 3173, "ctxt": 0 }, "value": "alsoShouldBeB", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3165, "end": 3173, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 3167, "end": 3173, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 3167, "end": 3168, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3167, "end": 3168, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 3171, "end": 3173, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3171, "end": 3173, "ctxt": 0 }, "value": "B2", "optional": false }, "typeParams": null } ] } } } } ], "decorators": [], "span": { "start": 3114, "end": 3211, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 3175, "end": 3211, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 3181, "end": 3209, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 3187, "end": 3208, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 3187, "end": 3188, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3188, "end": 3192, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 3190, "end": 3192, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3190, "end": 3192, "ctxt": 0 }, "value": "B2", "optional": false }, "typeParams": null } } }, "init": { "type": "Identifier", "span": { "start": 3195, "end": 3208, "ctxt": 0 }, "value": "alsoShouldBeB", "optional": false }, "definite": false } ] } ] }, "generator": false, "async": false, "typeParameters": { "type": "TsTypeParameterDeclaration", "span": { "start": 3132, "end": 3151, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 3133, "end": 3150, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 3133, "end": 3134, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": { "type": "TsUnionType", "span": { "start": 3143, "end": 3150, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 3143, "end": 3145, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3143, "end": 3145, "ctxt": 0 }, "value": "A2", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 3148, "end": 3150, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3148, "end": 3150, "ctxt": 0 }, "value": "B2", "optional": false }, "typeParams": null } ] }, "default": null } ] }, "returnType": null }, { "type": "TsInterfaceDeclaration", "span": { "start": 3235, "end": 3273, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 3245, "end": 3248, "ctxt": 0 }, "value": "ABI", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 3249, "end": 3273, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 3255, "end": 3271, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 3255, "end": 3259, "ctxt": 0 }, "value": "kind", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3259, "end": 3270, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 3261, "end": 3270, "ctxt": 0 }, "types": [ { "type": "TsLiteralType", "span": { "start": 3261, "end": 3264, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 3261, "end": 3264, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "TsLiteralType", "span": { "start": 3267, "end": 3270, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 3267, "end": 3270, "ctxt": 0 }, "value": "b", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } }, "typeParams": null } ] } }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 3289, "end": 3291, "ctxt": 0 }, "value": "CA", "optional": false }, "declare": true, "span": { "start": 3275, "end": 3327, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 3294, "end": 3304, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 3294, "end": 3298, "ctxt": 0 }, "value": "kind", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3298, "end": 3303, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 3300, "end": 3303, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 3300, "end": 3303, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassProperty", "span": { "start": 3305, "end": 3315, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 3305, "end": 3306, "ctxt": 0 }, "value": "a", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3306, "end": 3314, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 3308, "end": 3314, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassProperty", "span": { "start": 3316, "end": 3325, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 3316, "end": 3317, "ctxt": 0 }, "value": "x", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3317, "end": 3325, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 3319, "end": 3325, "ctxt": 0 }, "kind": "number" } }, "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": "EmptyStatement", "span": { "start": 3327, "end": 3328, "ctxt": 0 } }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 3343, "end": 3345, "ctxt": 0 }, "value": "CB", "optional": false }, "declare": true, "span": { "start": 3329, "end": 3381, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 3348, "end": 3358, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 3348, "end": 3352, "ctxt": 0 }, "value": "kind", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3352, "end": 3357, "ctxt": 0 }, "typeAnnotation": { "type": "TsLiteralType", "span": { "start": 3354, "end": 3357, "ctxt": 0 }, "literal": { "type": "StringLiteral", "span": { "start": 3354, "end": 3357, "ctxt": 0 }, "value": "b", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassProperty", "span": { "start": 3359, "end": 3369, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 3359, "end": 3360, "ctxt": 0 }, "value": "b", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3360, "end": 3368, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 3362, "end": 3368, "ctxt": 0 }, "kind": "string" } }, "isStatic": false, "decorators": [], "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false, "readonly": false, "declare": false, "definite": false }, { "type": "ClassProperty", "span": { "start": 3370, "end": 3379, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 3370, "end": 3371, "ctxt": 0 }, "value": "y", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3371, "end": 3379, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 3373, "end": 3379, "ctxt": 0 }, "kind": "number" } }, "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": "EmptyStatement", "span": { "start": 3381, "end": 3382, "ctxt": 0 } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 3393, "end": 3396, "ctxt": 0 }, "value": "bar", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 3416, "end": 3425, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 3416, "end": 3425, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3417, "end": 3425, "ctxt": 0 }, "typeAnnotation": { "type": "TsIntersectionType", "span": { "start": 3419, "end": 3425, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 3419, "end": 3420, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3419, "end": 3420, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 3423, "end": 3425, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3423, "end": 3425, "ctxt": 0 }, "value": "CA", "optional": false }, "typeParams": null } ] } } } } ], "decorators": [], "span": { "start": 3384, "end": 3451, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 3427, "end": 3451, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 3433, "end": 3449, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 3437, "end": 3448, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 3437, "end": 3439, "ctxt": 0 }, "value": "ab", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 3439, "end": 3444, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 3441, "end": 3444, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3441, "end": 3444, "ctxt": 0 }, "value": "ABI", "optional": false }, "typeParams": null } } }, "init": { "type": "Identifier", "span": { "start": 3447, "end": 3448, "ctxt": 0 }, "value": "x", "optional": false }, "definite": false } ] } ] }, "generator": false, "async": false, "typeParameters": { "type": "TsTypeParameterDeclaration", "span": { "start": 3396, "end": 3415, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 3397, "end": 3414, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 3397, "end": 3398, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": { "type": "TsUnionType", "span": { "start": 3407, "end": 3414, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 3407, "end": 3409, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3407, "end": 3409, "ctxt": 0 }, "value": "CA", "optional": false }, "typeParams": null }, { "type": "TsTypeReference", "span": { "start": 3412, "end": 3414, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 3412, "end": 3414, "ctxt": 0 }, "value": "CB", "optional": false }, "typeParams": null } ] }, "default": null } ] }, "returnType": null } ], "interpreter": null }