{ "type": "Script", "span": { "start": 112, "end": 510, "ctxt": 0 }, "body": [ { "type": "TsInterfaceDeclaration", "span": { "start": 112, "end": 182, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 122, "end": 128, "ctxt": 0 }, "value": "Number", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 129, "end": 182, "ctxt": 0 }, "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 136, "end": 145, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 137, "end": 145, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 139, "end": 145, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 146, "end": 154, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 148, "end": 154, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 135, "end": 155, "ctxt": 0 } }, { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 161, "end": 170, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 162, "end": 170, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 164, "end": 170, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 171, "end": 179, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 173, "end": 179, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 160, "end": 180, "ctxt": 0 } } ] } }, { "type": "TsInterfaceDeclaration", "span": { "start": 184, "end": 254, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 194, "end": 200, "ctxt": 0 }, "value": "String", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 201, "end": 254, "ctxt": 0 }, "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 208, "end": 217, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 209, "end": 217, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 211, "end": 217, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 218, "end": 226, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 220, "end": 226, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 207, "end": 227, "ctxt": 0 } }, { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 233, "end": 242, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 234, "end": 242, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 236, "end": 242, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 243, "end": 251, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 245, "end": 251, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 232, "end": 252, "ctxt": 0 } } ] } }, { "type": "TsInterfaceDeclaration", "span": { "start": 256, "end": 318, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 266, "end": 271, "ctxt": 0 }, "value": "Array", "optional": false }, "declare": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 271, "end": 274, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 272, "end": 273, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 272, "end": 273, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null } ] }, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 275, "end": 318, "ctxt": 0 }, "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 282, "end": 291, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 283, "end": 291, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 285, "end": 291, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 292, "end": 295, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 294, "end": 295, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 294, "end": 295, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "readonly": false, "static": false, "span": { "start": 281, "end": 296, "ctxt": 0 } }, { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 302, "end": 311, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 303, "end": 311, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 305, "end": 311, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 312, "end": 315, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 314, "end": 315, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 314, "end": 315, "ctxt": 0 }, "value": "T", "optional": false }, "typeParams": null } }, "readonly": false, "static": false, "span": { "start": 301, "end": 316, "ctxt": 0 } } ] } }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 326, "end": 327, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 320, "end": 381, "ctxt": 0 }, "decorators": [], "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 335, "end": 344, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 336, "end": 344, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 338, "end": 344, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 345, "end": 353, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 347, "end": 353, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 334, "end": 354, "ctxt": 0 } }, { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 360, "end": 369, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 361, "end": 369, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 363, "end": 369, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 370, "end": 378, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 372, "end": 378, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 359, "end": 379, "ctxt": 0 } } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "TsInterfaceDeclaration", "span": { "start": 383, "end": 448, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 393, "end": 394, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 395, "end": 448, "ctxt": 0 }, "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 402, "end": 411, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 403, "end": 411, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 405, "end": 411, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 412, "end": 420, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 414, "end": 420, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 401, "end": 421, "ctxt": 0 } }, { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 427, "end": 436, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 428, "end": 436, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 430, "end": 436, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 437, "end": 445, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 439, "end": 445, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 426, "end": 446, "ctxt": 0 } } ] } }, { "type": "VariableDeclaration", "span": { "start": 450, "end": 510, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 454, "end": 510, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 454, "end": 455, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 455, "end": 510, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 457, "end": 510, "ctxt": 0 }, "members": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 464, "end": 473, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 465, "end": 473, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 467, "end": 473, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 474, "end": 482, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 476, "end": 482, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 463, "end": 483, "ctxt": 0 } }, { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 489, "end": 498, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 490, "end": 498, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 492, "end": 498, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 499, "end": 507, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 501, "end": 507, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 488, "end": 508, "ctxt": 0 } } ] } } }, "init": null, "definite": false } ] } ], "interpreter": null }