{ "type": "Script", "span": { "start": 22, "end": 159, "ctxt": 0 }, "body": [ { "type": "TsInterfaceDeclaration", "span": { "start": 22, "end": 68, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 32, "end": 48, "ctxt": 0 }, "value": "WithNonPrimitive", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 49, "end": 68, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 55, "end": 66, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 55, "end": 58, "ctxt": 0 }, "value": "foo", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 58, "end": 66, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 60, "end": 66, "ctxt": 0 }, "kind": "object" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 70, "end": 118, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 74, "end": 117, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 74, "end": 75, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 75, "end": 93, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 77, "end": 93, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 77, "end": 93, "ctxt": 0 }, "value": "WithNonPrimitive", "optional": false }, "typeParams": null } } }, "init": { "type": "ObjectExpression", "span": { "start": 96, "end": 117, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 98, "end": 101, "ctxt": 0 }, "value": "foo", "optional": false }, "value": { "type": "ObjectExpression", "span": { "start": 103, "end": 115, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 104, "end": 107, "ctxt": 0 }, "value": "bar", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 109, "end": 114, "ctxt": 0 }, "value": "bar", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 120, "end": 159, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 124, "end": 158, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 124, "end": 125, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 125, "end": 143, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 127, "end": 143, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 127, "end": 143, "ctxt": 0 }, "value": "WithNonPrimitive", "optional": false }, "typeParams": null } } }, "init": { "type": "ObjectExpression", "span": { "start": 146, "end": 158, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 147, "end": 150, "ctxt": 0 }, "value": "foo", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 152, "end": 157, "ctxt": 0 }, "value": "bar", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "definite": false } ] } ], "interpreter": null }