{ "type": "Script", "span": { "start": 1, "end": 24, "ctxt": 0 }, "body": [ { "type": "TsInterfaceDeclaration", "span": { "start": 1, "end": 24, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 11, "end": 12, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 13, "end": 24, "ctxt": 0 }, "body": [ { "type": "TsMethodSignature", "span": { "start": 17, "end": 22, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 17, "end": 18, "ctxt": 0 }, "value": "B", "optional": false }, "computed": false, "optional": true, "params": [], "typeAnn": null, "typeParams": null } ] } } ], "interpreter": null }