{ "type": "Script", "span": { "start": 52, "end": 454, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 58, "end": 59, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 52, "end": 113, "ctxt": 0 }, "decorators": [], "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 67, "end": 76, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 68, "end": 76, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 70, "end": 76, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 77, "end": 85, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 79, "end": 85, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 66, "end": 86, "ctxt": 0 } }, { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 92, "end": 101, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 93, "end": 101, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 95, "end": 101, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 102, "end": 110, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 104, "end": 110, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 91, "end": 111, "ctxt": 0 } } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] }, { "type": "TsInterfaceDeclaration", "span": { "start": 115, "end": 180, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 125, "end": 126, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 127, "end": 180, "ctxt": 0 }, "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 134, "end": 143, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 135, "end": 143, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 137, "end": 143, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 144, "end": 152, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 146, "end": 152, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 133, "end": 153, "ctxt": 0 } }, { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 159, "end": 168, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 160, "end": 168, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 162, "end": 168, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 169, "end": 177, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 171, "end": 177, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 158, "end": 178, "ctxt": 0 } } ] } }, { "type": "VariableDeclaration", "span": { "start": 182, "end": 242, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 186, "end": 242, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 186, "end": 187, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 187, "end": 242, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 189, "end": 242, "ctxt": 0 }, "members": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 196, "end": 205, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 197, "end": 205, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 199, "end": 205, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 206, "end": 214, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 208, "end": 214, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 195, "end": 215, "ctxt": 0 } }, { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 221, "end": 230, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 222, "end": 230, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 224, "end": 230, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 231, "end": 239, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 233, "end": 239, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 220, "end": 240, "ctxt": 0 } } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 244, "end": 316, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 248, "end": 316, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 248, "end": 249, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 249, "end": 304, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 251, "end": 304, "ctxt": 0 }, "members": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 258, "end": 267, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 259, "end": 267, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 261, "end": 267, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 268, "end": 276, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 270, "end": 276, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 257, "end": 277, "ctxt": 0 } }, { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 283, "end": 292, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 284, "end": 292, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 286, "end": 292, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 293, "end": 301, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 295, "end": 301, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 282, "end": 302, "ctxt": 0 } } ] } } }, "init": { "type": "ObjectExpression", "span": { "start": 307, "end": 316, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 309, "end": 310, "ctxt": 0 }, "value": "y", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 312, "end": 314, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "definite": false } ] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 324, "end": 326, "ctxt": 0 }, "value": "C2", "optional": false }, "declare": false, "span": { "start": 318, "end": 383, "ctxt": 0 }, "decorators": [], "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 337, "end": 346, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 338, "end": 346, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 340, "end": 346, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 347, "end": 355, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 349, "end": 355, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 336, "end": 356, "ctxt": 0 } }, { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 362, "end": 371, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 363, "end": 371, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 365, "end": 371, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 372, "end": 380, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 374, "end": 380, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 361, "end": 381, "ctxt": 0 } } ], "superClass": null, "isAbstract": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 326, "end": 329, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 327, "end": 328, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 327, "end": 328, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null } ] }, "superTypeParams": null, "implements": [] }, { "type": "TsInterfaceDeclaration", "span": { "start": 385, "end": 454, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 395, "end": 397, "ctxt": 0 }, "value": "I2", "optional": false }, "declare": false, "typeParams": { "type": "TsTypeParameterDeclaration", "span": { "start": 397, "end": 400, "ctxt": 0 }, "parameters": [ { "type": "TsTypeParameter", "span": { "start": 398, "end": 399, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 398, "end": 399, "ctxt": 0 }, "value": "T", "optional": false }, "constraint": null, "default": null } ] }, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 401, "end": 454, "ctxt": 0 }, "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 408, "end": 417, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 409, "end": 417, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 411, "end": 417, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 418, "end": 426, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 420, "end": 426, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 407, "end": 427, "ctxt": 0 } }, { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 433, "end": 442, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 434, "end": 442, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 436, "end": 442, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 443, "end": 451, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 445, "end": 451, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 432, "end": 452, "ctxt": 0 } } ] } } ], "interpreter": null }