{ "type": "Script", "span": { "start": 0, "end": 302, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 0, "end": 41, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 4, "end": 40, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 4, "end": 9, "ctxt": 0 }, "value": "union", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 9, "end": 40, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 11, "end": 40, "ctxt": 0 }, "types": [ { "type": "TsTypeLiteral", "span": { "start": 11, "end": 24, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 13, "end": 22, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 13, "end": 14, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 14, "end": 22, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 16, "end": 22, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] }, { "type": "TsTypeLiteral", "span": { "start": 27, "end": 40, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 29, "end": 38, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 29, "end": 30, "ctxt": 0 }, "value": "b", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 30, "end": 38, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 32, "end": 38, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 45, "end": 83, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 49, "end": 82, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 49, "end": 51, "ctxt": 0 }, "value": "o3", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 51, "end": 82, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 53, "end": 82, "ctxt": 0 }, "types": [ { "type": "TsTypeLiteral", "span": { "start": 53, "end": 66, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 55, "end": 64, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 55, "end": 56, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 56, "end": 64, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 58, "end": 64, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] }, { "type": "TsTypeLiteral", "span": { "start": 69, "end": 82, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 71, "end": 80, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 71, "end": 72, "ctxt": 0 }, "value": "b", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 72, "end": 80, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 74, "end": 80, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 85, "end": 108, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 89, "end": 107, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 89, "end": 91, "ctxt": 0 }, "value": "o3", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 95, "end": 107, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 97, "end": 100, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 100, "end": 105, "ctxt": 0 }, "value": "union", "optional": false } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 112, "end": 163, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 116, "end": 162, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 116, "end": 118, "ctxt": 0 }, "value": "o4", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 118, "end": 162, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 120, "end": 162, "ctxt": 0 }, "types": [ { "type": "TsTypeLiteral", "span": { "start": 120, "end": 134, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 122, "end": 132, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 122, "end": 123, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 123, "end": 132, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 125, "end": 132, "ctxt": 0 }, "kind": "boolean" } }, "typeParams": null } ] }, { "type": "TsTypeLiteral", "span": { "start": 137, "end": 162, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 139, "end": 150, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 139, "end": 140, "ctxt": 0 }, "value": "b", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 140, "end": 148, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 142, "end": 148, "ctxt": 0 }, "kind": "string" } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 151, "end": 161, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 151, "end": 152, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 152, "end": 161, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 154, "end": 161, "ctxt": 0 }, "kind": "boolean" } }, "typeParams": null } ] } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 165, "end": 198, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 169, "end": 197, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 169, "end": 171, "ctxt": 0 }, "value": "o4", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 175, "end": 197, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 177, "end": 180, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 180, "end": 185, "ctxt": 0 }, "value": "union", "optional": false } }, { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 187, "end": 188, "ctxt": 0 }, "value": "a", "optional": false }, "value": { "type": "BooleanLiteral", "span": { "start": 190, "end": 195, "ctxt": 0 }, "value": false } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 202, "end": 267, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 206, "end": 266, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 206, "end": 208, "ctxt": 0 }, "value": "o5", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 208, "end": 266, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 210, "end": 266, "ctxt": 0 }, "types": [ { "type": "TsTypeLiteral", "span": { "start": 210, "end": 223, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 212, "end": 221, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 212, "end": 213, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 213, "end": 221, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 215, "end": 221, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] }, { "type": "TsTypeLiteral", "span": { "start": 226, "end": 239, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 228, "end": 237, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 228, "end": 229, "ctxt": 0 }, "value": "b", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 229, "end": 237, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 231, "end": 237, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] }, { "type": "TsTypeLiteral", "span": { "start": 242, "end": 266, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 244, "end": 254, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 244, "end": 245, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 245, "end": 253, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 247, "end": 253, "ctxt": 0 }, "kind": "number" } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 255, "end": 264, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 255, "end": 256, "ctxt": 0 }, "value": "b", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 256, "end": 264, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 258, "end": 264, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 269, "end": 302, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 273, "end": 301, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 273, "end": 275, "ctxt": 0 }, "value": "o5", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 279, "end": 301, "ctxt": 0 }, "properties": [ { "type": "SpreadElement", "spread": { "start": 281, "end": 284, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 284, "end": 289, "ctxt": 0 }, "value": "union", "optional": false } }, { "type": "SpreadElement", "spread": { "start": 291, "end": 294, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 294, "end": 299, "ctxt": 0 }, "value": "union", "optional": false } } ] }, "definite": false } ] } ], "interpreter": null }