{ "type": "Script", "span": { "start": 82, "end": 355, "ctxt": 0 }, "body": [ { "type": "TsInterfaceDeclaration", "span": { "start": 82, "end": 131, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 92, "end": 93, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 94, "end": 131, "ctxt": 0 }, "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 101, "end": 110, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 102, "end": 110, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 104, "end": 110, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 111, "end": 119, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 113, "end": 119, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 100, "end": 120, "ctxt": 0 } } ] } }, { "type": "TsInterfaceDeclaration", "span": { "start": 134, "end": 195, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 144, "end": 145, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 146, "end": 195, "ctxt": 0 }, "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 153, "end": 162, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 154, "end": 162, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 156, "end": 162, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 163, "end": 183, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 165, "end": 183, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 167, "end": 181, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 167, "end": 173, "ctxt": 0 }, "value": "length", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 173, "end": 181, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 175, "end": 181, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, "readonly": false, "static": false, "span": { "start": 152, "end": 184, "ctxt": 0 } } ] } }, { "type": "TsInterfaceDeclaration", "span": { "start": 197, "end": 263, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 207, "end": 209, "ctxt": 0 }, "value": "A2", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 210, "end": 263, "ctxt": 0 }, "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 217, "end": 226, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 218, "end": 226, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 220, "end": 226, "ctxt": 0 }, "kind": "number" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 227, "end": 235, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 229, "end": 235, "ctxt": 0 }, "kind": "string" } }, "readonly": false, "static": false, "span": { "start": 216, "end": 236, "ctxt": 0 } }, { "type": "TsPropertySignature", "span": { "start": 241, "end": 253, "ctxt": 0 }, "readonly": false, "key": { "type": "StringLiteral", "span": { "start": 241, "end": 244, "ctxt": 0 }, "value": "a", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 244, "end": 252, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 246, "end": 252, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } }, { "type": "TsInterfaceDeclaration", "span": { "start": 266, "end": 355, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 276, "end": 278, "ctxt": 0 }, "value": "A2", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 279, "end": 355, "ctxt": 0 }, "body": [ { "type": "TsIndexSignature", "params": [ { "type": "Identifier", "span": { "start": 286, "end": 295, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 287, "end": 295, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 289, "end": 295, "ctxt": 0 }, "kind": "string" } } } ], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 296, "end": 316, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 298, "end": 316, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 300, "end": 314, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 300, "end": 306, "ctxt": 0 }, "value": "length", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 306, "end": 314, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 308, "end": 314, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } }, "readonly": false, "static": false, "span": { "start": 285, "end": 317, "ctxt": 0 } }, { "type": "TsPropertySignature", "span": { "start": 322, "end": 344, "ctxt": 0 }, "readonly": false, "key": { "type": "NumericLiteral", "span": { "start": 322, "end": 323, "ctxt": 0 }, "value": 1.0 }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 323, "end": 343, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 325, "end": 343, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 327, "end": 341, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 327, "end": 333, "ctxt": 0 }, "value": "length", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 333, "end": 341, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 335, "end": 341, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } }, "typeParams": null } ] } } ], "interpreter": null }