{ "type": "Script", "span": { "start": 15, "end": 58, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 15, "end": 58, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 19, "end": 58, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 19, "end": 20, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 20, "end": 58, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 22, "end": 58, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 28, "end": 56, "ctxt": 0 }, "readonly": false, "key": { "type": "MemberExpression", "span": { "start": 29, "end": 47, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 29, "end": 35, "ctxt": 0 }, "value": "Symbol", "optional": false }, "property": { "type": "Identifier", "span": { "start": 36, "end": 47, "ctxt": 0 }, "value": "toPrimitive", "optional": false } }, "computed": true, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 48, "end": 56, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 50, "end": 56, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } } }, "init": null, "definite": false } ] } ], "interpreter": null }