{ "type": "Script", "span": { "start": 0, "end": 75, "ctxt": 0 }, "body": [ { "type": "TsInterfaceDeclaration", "span": { "start": 0, "end": 42, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 10, "end": 13, "ctxt": 0 }, "value": "Foo", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 14, "end": 42, "ctxt": 0 }, "body": [ { "type": "TsMethodSignature", "span": { "start": 23, "end": 40, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 23, "end": 29, "ctxt": 0 }, "value": "export", "optional": false }, "computed": false, "optional": false, "params": [], "typeAnn": { "type": "TsTypeAnnotation", "span": { "start": 31, "end": 39, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 33, "end": 39, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 44, "end": 55, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 48, "end": 54, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 48, "end": 49, "ctxt": 0 }, "value": "f", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 49, "end": 54, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 51, "end": 54, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 51, "end": 54, "ctxt": 0 }, "value": "Foo", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 56, "end": 75, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 60, "end": 74, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 60, "end": 61, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 64, "end": 74, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 64, "end": 72, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 64, "end": 65, "ctxt": 0 }, "value": "f", "optional": false }, "property": { "type": "Identifier", "span": { "start": 66, "end": 72, "ctxt": 0 }, "value": "export", "optional": false } }, "arguments": [], "typeArguments": null }, "definite": false } ] } ], "interpreter": null }