swc/crates/swc_ecma_parser/tests/tsc/objectSpread.json

10831 lines
323 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 43,
"end": 4748,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 43,
"end": 68,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 47,
"end": 68,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 47,
"end": 48,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 51,
"end": 68,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 53,
"end": 54,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 56,
"end": 57,
"ctxt": 0
},
"value": 1.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 59,
"end": 60,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 62,
"end": 66,
"ctxt": 0
},
"value": "no",
"raw": "'no'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 69,
"end": 99,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 73,
"end": 99,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 73,
"end": 75,
"ctxt": 0
},
"value": "o2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 78,
"end": 99,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 80,
"end": 81,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 83,
"end": 88,
"ctxt": 0
},
"value": "yes",
"raw": "'yes'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 90,
"end": 91,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 93,
"end": 97,
"ctxt": 0
},
"value": true
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 100,
"end": 131,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 104,
"end": 130,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 104,
"end": 108,
"ctxt": 0
},
"value": "swap",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 111,
"end": 130,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 113,
"end": 114,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 116,
"end": 121,
"ctxt": 0
},
"value": "yes",
"raw": "'yes'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 123,
"end": 124,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "UnaryExpression",
"span": {
"start": 126,
"end": 128,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "NumericLiteral",
"span": {
"start": 127,
"end": 128,
"ctxt": 0
},
"value": 1.0
}
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 133,
"end": 208,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 137,
"end": 208,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 137,
"end": 145,
"ctxt": 0
},
"value": "addAfter",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 145,
"end": 183,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 147,
"end": 183,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 149,
"end": 159,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 149,
"end": 150,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 150,
"end": 158,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 152,
"end": 158,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 160,
"end": 170,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 160,
"end": 161,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 161,
"end": 169,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 163,
"end": 169,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 171,
"end": 181,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 171,
"end": 172,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 172,
"end": 181,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 174,
"end": 181,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 190,
"end": 208,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 192,
"end": 195,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 195,
"end": 196,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 198,
"end": 199,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 201,
"end": 206,
"ctxt": 0
},
"value": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 209,
"end": 285,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 213,
"end": 285,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 213,
"end": 222,
"ctxt": 0
},
"value": "addBefore",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 222,
"end": 260,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 224,
"end": 260,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 226,
"end": 236,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 226,
"end": 227,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 227,
"end": 235,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 229,
"end": 235,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 237,
"end": 247,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 237,
"end": 238,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 238,
"end": 246,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 240,
"end": 246,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 248,
"end": 258,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 248,
"end": 249,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 249,
"end": 258,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 251,
"end": 258,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 267,
"end": 285,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 269,
"end": 270,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 272,
"end": 277,
"ctxt": 0
},
"value": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 279,
"end": 282,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 282,
"end": 283,
"ctxt": 0
},
"value": "o",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 286,
"end": 354,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 290,
"end": 354,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 290,
"end": 298,
"ctxt": 0
},
"value": "override",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 298,
"end": 324,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 300,
"end": 324,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 302,
"end": 312,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 302,
"end": 303,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 303,
"end": 311,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 305,
"end": 311,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 313,
"end": 322,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 313,
"end": 314,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 314,
"end": 322,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 316,
"end": 322,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 331,
"end": 354,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 333,
"end": 336,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 336,
"end": 337,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 339,
"end": 340,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 342,
"end": 352,
"ctxt": 0
},
"value": "override",
"raw": "'override'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 355,
"end": 473,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 359,
"end": 473,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 359,
"end": 365,
"ctxt": 0
},
"value": "nested",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 365,
"end": 403,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 367,
"end": 403,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 369,
"end": 379,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 369,
"end": 370,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 370,
"end": 378,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 372,
"end": 378,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 380,
"end": 391,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 380,
"end": 381,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 381,
"end": 390,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 383,
"end": 390,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 392,
"end": 401,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 392,
"end": 393,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 393,
"end": 401,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 395,
"end": 401,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 410,
"end": 473,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 412,
"end": 415,
"ctxt": 0
},
"arguments": {
"type": "ObjectExpression",
"span": {
"start": 415,
"end": 456,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 417,
"end": 418,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 420,
"end": 421,
"ctxt": 0
},
"value": 3.0
}
},
{
"type": "SpreadElement",
"spread": {
"start": 423,
"end": 426,
"ctxt": 0
},
"arguments": {
"type": "ObjectExpression",
"span": {
"start": 426,
"end": 454,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 428,
"end": 429,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 431,
"end": 436,
"ctxt": 0
},
"value": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 438,
"end": 439,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 441,
"end": 452,
"ctxt": 0
},
"value": "overriden",
"raw": "'overriden'"
}
}
]
}
}
]
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 458,
"end": 459,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 461,
"end": 471,
"ctxt": 0
},
"value": "whatever",
"raw": "'whatever'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 474,
"end": 546,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 478,
"end": 546,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 478,
"end": 486,
"ctxt": 0
},
"value": "combined",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 486,
"end": 524,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 488,
"end": 524,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 490,
"end": 500,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 490,
"end": 491,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 491,
"end": 499,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 493,
"end": 499,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 501,
"end": 511,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 501,
"end": 502,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 502,
"end": 510,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 504,
"end": 510,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 512,
"end": 522,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 512,
"end": 513,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 513,
"end": 522,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 515,
"end": 522,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 531,
"end": 546,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 533,
"end": 536,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 536,
"end": 537,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 539,
"end": 542,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 542,
"end": 544,
"ctxt": 0
},
"value": "o2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 547,
"end": 633,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 551,
"end": 633,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 551,
"end": 564,
"ctxt": 0
},
"value": "combinedAfter",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 564,
"end": 602,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 566,
"end": 602,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 568,
"end": 578,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 568,
"end": 569,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 569,
"end": 577,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 571,
"end": 577,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 579,
"end": 589,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 579,
"end": 580,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 580,
"end": 588,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 582,
"end": 588,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 590,
"end": 600,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 590,
"end": 591,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 591,
"end": 600,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 593,
"end": 600,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 609,
"end": 633,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 611,
"end": 614,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 614,
"end": 615,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 617,
"end": 620,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 620,
"end": 622,
"ctxt": 0
},
"value": "o2",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 624,
"end": 625,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 627,
"end": 631,
"ctxt": 0
},
"value": "ok",
"raw": "'ok'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 634,
"end": 762,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 638,
"end": 762,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 638,
"end": 662,
"ctxt": 0
},
"value": "combinedNestedChangeType",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 662,
"end": 700,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 664,
"end": 700,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 666,
"end": 676,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 666,
"end": 667,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 667,
"end": 675,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 669,
"end": 675,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 677,
"end": 688,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 677,
"end": 678,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 678,
"end": 687,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 680,
"end": 687,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 689,
"end": 698,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 689,
"end": 690,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 690,
"end": 698,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 692,
"end": 698,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 707,
"end": 762,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 709,
"end": 712,
"ctxt": 0
},
"arguments": {
"type": "ObjectExpression",
"span": {
"start": 712,
"end": 753,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 714,
"end": 715,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 717,
"end": 718,
"ctxt": 0
},
"value": 1.0
}
},
{
"type": "SpreadElement",
"spread": {
"start": 720,
"end": 723,
"ctxt": 0
},
"arguments": {
"type": "ObjectExpression",
"span": {
"start": 723,
"end": 751,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 725,
"end": 726,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 728,
"end": 733,
"ctxt": 0
},
"value": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 735,
"end": 736,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 738,
"end": 749,
"ctxt": 0
},
"value": "overriden",
"raw": "'overriden'"
}
}
]
}
}
]
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 755,
"end": 756,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "UnaryExpression",
"span": {
"start": 758,
"end": 760,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "NumericLiteral",
"span": {
"start": 759,
"end": 760,
"ctxt": 0
},
"value": 1.0
}
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 763,
"end": 837,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 767,
"end": 837,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 767,
"end": 781,
"ctxt": 0
},
"value": "propertyNested",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 781,
"end": 814,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 783,
"end": 814,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 785,
"end": 812,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 785,
"end": 786,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 786,
"end": 812,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 788,
"end": 812,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 790,
"end": 800,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 790,
"end": 791,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 791,
"end": 799,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 793,
"end": 799,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 801,
"end": 810,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 801,
"end": 802,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 802,
"end": 810,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 804,
"end": 810,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 821,
"end": 837,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 823,
"end": 824,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "ObjectExpression",
"span": {
"start": 826,
"end": 835,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 828,
"end": 831,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 832,
"end": 833,
"ctxt": 0
},
"value": "o",
"optional": false
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 945,
"end": 980,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 949,
"end": 979,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 949,
"end": 951,
"ctxt": 0
},
"value": "op",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 954,
"end": 979,
"ctxt": 0
},
"properties": [
{
"type": "GetterProperty",
"span": {
"start": 956,
"end": 977,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 960,
"end": 961,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null,
"body": {
"type": "BlockStatement",
"span": {
"start": 965,
"end": 977,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 967,
"end": 975,
"ctxt": 0
},
"argument": {
"type": "NumericLiteral",
"span": {
"start": 974,
"end": 975,
"ctxt": 0
},
"value": 6.0
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 981,
"end": 1039,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 985,
"end": 1039,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 985,
"end": 991,
"ctxt": 0
},
"value": "getter",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 991,
"end": 1017,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 993,
"end": 1017,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 995,
"end": 1005,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 995,
"end": 996,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 996,
"end": 1004,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 998,
"end": 1004,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1006,
"end": 1015,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1006,
"end": 1007,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1007,
"end": 1015,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1009,
"end": 1015,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1024,
"end": 1039,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1026,
"end": 1029,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 1029,
"end": 1031,
"ctxt": 0
},
"value": "op",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1033,
"end": 1034,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1036,
"end": 1037,
"ctxt": 0
},
"value": 7.0
}
}
]
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1040,
"end": 1054,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1040,
"end": 1053,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1040,
"end": 1048,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1040,
"end": 1046,
"ctxt": 0
},
"value": "getter",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1047,
"end": 1048,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1051,
"end": 1053,
"ctxt": 0
},
"value": 12.0
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1083,
"end": 1125,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1087,
"end": 1124,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1087,
"end": 1097,
"ctxt": 0
},
"value": "spreadFunc",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1100,
"end": 1124,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1102,
"end": 1105,
"ctxt": 0
},
"arguments": {
"type": "ParenthesisExpression",
"span": {
"start": 1105,
"end": 1122,
"ctxt": 0
},
"expression": {
"type": "FunctionExpression",
"identifier": null,
"params": [],
"decorators": [],
"span": {
"start": 1106,
"end": 1121,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1118,
"end": 1121,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
}
}
]
},
"definite": false
}
]
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 1127,
"end": 1190,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 1132,
"end": 1138,
"ctxt": 0
},
"value": "Header",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1141,
"end": 1190,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1143,
"end": 1156,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1143,
"end": 1147,
"ctxt": 0
},
"value": "head",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1147,
"end": 1155,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1149,
"end": 1155,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1157,
"end": 1170,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1157,
"end": 1161,
"ctxt": 0
},
"value": "body",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1161,
"end": 1169,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1163,
"end": 1169,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1171,
"end": 1188,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1171,
"end": 1180,
"ctxt": 0
},
"value": "authToken",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1180,
"end": 1188,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1182,
"end": 1188,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1200,
"end": 1209,
"ctxt": 0
},
"value": "from16326",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1210,
"end": 1234,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1210,
"end": 1234,
"ctxt": 0
},
"value": "this",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1214,
"end": 1234,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1216,
"end": 1234,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1218,
"end": 1232,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1218,
"end": 1224,
"ctxt": 0
},
"value": "header",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1224,
"end": 1232,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1226,
"end": 1232,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1226,
"end": 1232,
"ctxt": 0
},
"value": "Header",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 1236,
"end": 1250,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1236,
"end": 1250,
"ctxt": 0
},
"value": "header",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1242,
"end": 1250,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1244,
"end": 1250,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1244,
"end": 1250,
"ctxt": 0
},
"value": "Header",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 1252,
"end": 1269,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1252,
"end": 1269,
"ctxt": 0
},
"value": "authToken",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1261,
"end": 1269,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1263,
"end": 1269,
"ctxt": 0
},
"kind": "string"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1191,
"end": 1382,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1279,
"end": 1382,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1285,
"end": 1380,
"ctxt": 0
},
"argument": {
"type": "ObjectExpression",
"span": {
"start": 1292,
"end": 1380,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1302,
"end": 1305,
"ctxt": 0
},
"arguments": {
"type": "MemberExpression",
"span": {
"start": 1305,
"end": 1316,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1305,
"end": 1309,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1310,
"end": 1316,
"ctxt": 0
},
"value": "header",
"optional": false
}
}
},
{
"type": "SpreadElement",
"spread": {
"start": 1326,
"end": 1329,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 1329,
"end": 1335,
"ctxt": 0
},
"value": "header",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 1345,
"end": 1348,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 1348,
"end": 1374,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 1348,
"end": 1357,
"ctxt": 0
},
"value": "authToken",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1361,
"end": 1374,
"ctxt": 0
},
"properties": [
{
"type": "Identifier",
"span": {
"start": 1363,
"end": 1372,
"ctxt": 0
},
"value": "authToken",
"optional": false
}
]
}
}
}
]
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1270,
"end": 1278,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1272,
"end": 1278,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1272,
"end": 1278,
"ctxt": 0
},
"value": "Header",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1430,
"end": 1454,
"ctxt": 0
},
"value": "conditionalSpreadBoolean",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1455,
"end": 1465,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1455,
"end": 1465,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1456,
"end": 1465,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1458,
"end": 1465,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1421,
"end": 1630,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1494,
"end": 1630,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 1500,
"end": 1524,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1504,
"end": 1524,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1504,
"end": 1505,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1508,
"end": 1524,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1510,
"end": 1511,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1513,
"end": 1515,
"ctxt": 0
},
"value": 12.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1517,
"end": 1518,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1520,
"end": 1522,
"ctxt": 0
},
"value": 13.0
}
}
]
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1529,
"end": 1580,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1529,
"end": 1580,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1529,
"end": 1530,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1533,
"end": 1580,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1543,
"end": 1546,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 1546,
"end": 1547,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 1557,
"end": 1560,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 1560,
"end": 1574,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 1560,
"end": 1561,
"ctxt": 0
},
"value": "b",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1565,
"end": 1574,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1567,
"end": 1568,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1570,
"end": 1572,
"ctxt": 0
},
"value": 14.0
}
}
]
}
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1585,
"end": 1614,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1589,
"end": 1614,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1589,
"end": 1591,
"ctxt": 0
},
"value": "o2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1594,
"end": 1614,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1596,
"end": 1599,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 1599,
"end": 1613,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 1599,
"end": 1600,
"ctxt": 0
},
"value": "b",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1604,
"end": 1613,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1606,
"end": 1607,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1609,
"end": 1611,
"ctxt": 0
},
"value": 21.0
}
}
]
}
}
}
]
},
"definite": false
}
]
},
{
"type": "ReturnStatement",
"span": {
"start": 1619,
"end": 1628,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1626,
"end": 1627,
"ctxt": 0
},
"value": "o",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1467,
"end": 1493,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1469,
"end": 1493,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1471,
"end": 1481,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1471,
"end": 1472,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1472,
"end": 1480,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1474,
"end": 1480,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1482,
"end": 1491,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1482,
"end": 1483,
"ctxt": 0
},
"value": "y",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1483,
"end": 1491,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1485,
"end": 1491,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1640,
"end": 1663,
"ctxt": 0
},
"value": "conditionalSpreadNumber",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1664,
"end": 1674,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1664,
"end": 1674,
"ctxt": 0
},
"value": "nt",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1666,
"end": 1674,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1668,
"end": 1674,
"ctxt": 0
},
"kind": "number"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1631,
"end": 1840,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1702,
"end": 1840,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 1708,
"end": 1732,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1712,
"end": 1732,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1712,
"end": 1713,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1716,
"end": 1732,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1718,
"end": 1719,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1721,
"end": 1723,
"ctxt": 0
},
"value": 15.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1725,
"end": 1726,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1728,
"end": 1730,
"ctxt": 0
},
"value": 16.0
}
}
]
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1737,
"end": 1789,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1737,
"end": 1789,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1737,
"end": 1738,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1741,
"end": 1789,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1751,
"end": 1754,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 1754,
"end": 1755,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 1765,
"end": 1768,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 1768,
"end": 1783,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 1768,
"end": 1770,
"ctxt": 0
},
"value": "nt",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1774,
"end": 1783,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1776,
"end": 1777,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 1779,
"end": 1781,
"ctxt": 0
},
"value": "nt",
"optional": false
}
}
]
}
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1794,
"end": 1824,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1798,
"end": 1824,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1798,
"end": 1800,
"ctxt": 0
},
"value": "o2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1803,
"end": 1824,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1805,
"end": 1808,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 1808,
"end": 1823,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 1808,
"end": 1810,
"ctxt": 0
},
"value": "nt",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1814,
"end": 1823,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1816,
"end": 1817,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 1819,
"end": 1821,
"ctxt": 0
},
"value": "nt",
"optional": false
}
}
]
}
}
}
]
},
"definite": false
}
]
},
{
"type": "ReturnStatement",
"span": {
"start": 1829,
"end": 1838,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1836,
"end": 1837,
"ctxt": 0
},
"value": "o",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1675,
"end": 1701,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1677,
"end": 1701,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1679,
"end": 1689,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1679,
"end": 1680,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1680,
"end": 1688,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1682,
"end": 1688,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1690,
"end": 1699,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1690,
"end": 1691,
"ctxt": 0
},
"value": "y",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1691,
"end": 1699,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1693,
"end": 1699,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1850,
"end": 1873,
"ctxt": 0
},
"value": "conditionalSpreadString",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1874,
"end": 1884,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1874,
"end": 1884,
"ctxt": 0
},
"value": "st",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1876,
"end": 1884,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1878,
"end": 1884,
"ctxt": 0
},
"kind": "string"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1841,
"end": 2052,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1912,
"end": 2052,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 1918,
"end": 1944,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1922,
"end": 1944,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1922,
"end": 1923,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1926,
"end": 1944,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1928,
"end": 1929,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 1931,
"end": 1935,
"ctxt": 0
},
"value": "hi",
"raw": "'hi'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1937,
"end": 1938,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1940,
"end": 1942,
"ctxt": 0
},
"value": 17.0
}
}
]
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1949,
"end": 2001,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1949,
"end": 2001,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1949,
"end": 1950,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1953,
"end": 2001,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1963,
"end": 1966,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 1966,
"end": 1967,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 1977,
"end": 1980,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 1980,
"end": 1995,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 1980,
"end": 1982,
"ctxt": 0
},
"value": "st",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1986,
"end": 1995,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1988,
"end": 1989,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 1991,
"end": 1993,
"ctxt": 0
},
"value": "st",
"optional": false
}
}
]
}
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2006,
"end": 2036,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2010,
"end": 2036,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2010,
"end": 2012,
"ctxt": 0
},
"value": "o2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2015,
"end": 2036,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2017,
"end": 2020,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 2020,
"end": 2035,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 2020,
"end": 2022,
"ctxt": 0
},
"value": "st",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 2026,
"end": 2035,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2028,
"end": 2029,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 2031,
"end": 2033,
"ctxt": 0
},
"value": "st",
"optional": false
}
}
]
}
}
}
]
},
"definite": false
}
]
},
{
"type": "ReturnStatement",
"span": {
"start": 2041,
"end": 2050,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2048,
"end": 2049,
"ctxt": 0
},
"value": "o",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1885,
"end": 1911,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1887,
"end": 1911,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1889,
"end": 1899,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1889,
"end": 1890,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1890,
"end": 1898,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1892,
"end": 1898,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1900,
"end": 1909,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1900,
"end": 1901,
"ctxt": 0
},
"value": "y",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1901,
"end": 1909,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1903,
"end": 1909,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2076,
"end": 2094,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2080,
"end": 2093,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2080,
"end": 2088,
"ctxt": 0
},
"value": "anything",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2088,
"end": 2093,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2090,
"end": 2093,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2095,
"end": 2127,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2099,
"end": 2126,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2099,
"end": 2108,
"ctxt": 0
},
"value": "spreadAny",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2111,
"end": 2126,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2113,
"end": 2116,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2116,
"end": 2124,
"ctxt": 0
},
"value": "anything",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2165,
"end": 2166,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 2159,
"end": 2185,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 2169,
"end": 2175,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2169,
"end": 2170,
"ctxt": 0
},
"value": "p",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 2173,
"end": 2174,
"ctxt": 0
},
"value": 1.0
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassMethod",
"span": {
"start": 2176,
"end": 2183,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2176,
"end": 2177,
"ctxt": 0
},
"value": "m",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 2176,
"end": 2183,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2180,
"end": 2183,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "VariableDeclaration",
"span": {
"start": 2186,
"end": 2204,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2190,
"end": 2204,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2190,
"end": 2191,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2191,
"end": 2194,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2193,
"end": 2194,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2193,
"end": 2194,
"ctxt": 0
},
"value": "C",
"optional": false
},
"typeParams": null
}
}
},
"init": {
"type": "NewExpression",
"span": {
"start": 2197,
"end": 2204,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2201,
"end": 2202,
"ctxt": 0
},
"value": "C",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2205,
"end": 2242,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2209,
"end": 2242,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2209,
"end": 2216,
"ctxt": 0
},
"value": "spreadC",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2216,
"end": 2231,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2218,
"end": 2231,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2220,
"end": 2229,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2220,
"end": 2221,
"ctxt": 0
},
"value": "p",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2221,
"end": 2229,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2223,
"end": 2229,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2234,
"end": 2242,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2236,
"end": 2239,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2239,
"end": 2240,
"ctxt": 0
},
"value": "c",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2274,
"end": 2355,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2278,
"end": 2354,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2278,
"end": 2283,
"ctxt": 0
},
"value": "cplus",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2283,
"end": 2312,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2285,
"end": 2312,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2287,
"end": 2297,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2287,
"end": 2288,
"ctxt": 0
},
"value": "p",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2288,
"end": 2296,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2290,
"end": 2296,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsMethodSignature",
"span": {
"start": 2298,
"end": 2310,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2298,
"end": 2302,
"ctxt": 0
},
"value": "plus",
"optional": false
},
"computed": false,
"optional": false,
"params": [],
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 2304,
"end": 2310,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2306,
"end": 2310,
"ctxt": 0
},
"kind": "void"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2315,
"end": 2354,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2317,
"end": 2320,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2320,
"end": 2321,
"ctxt": 0
},
"value": "c",
"optional": false
}
},
{
"type": "MethodProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2323,
"end": 2327,
"ctxt": 0
},
"value": "plus",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 2323,
"end": 2352,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2330,
"end": 2352,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 2332,
"end": 2350,
"ctxt": 0
},
"argument": {
"type": "BinaryExpression",
"span": {
"start": 2339,
"end": 2349,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "MemberExpression",
"span": {
"start": 2339,
"end": 2345,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2339,
"end": 2343,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2344,
"end": 2345,
"ctxt": 0
},
"value": "p",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 2348,
"end": 2349,
"ctxt": 0
},
"value": 1.0
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
]
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 2356,
"end": 2369,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2356,
"end": 2368,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 2356,
"end": 2366,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2356,
"end": 2361,
"ctxt": 0
},
"value": "cplus",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2362,
"end": 2366,
"ctxt": 0
},
"value": "plus",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2429,
"end": 2507,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2433,
"end": 2507,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2433,
"end": 2448,
"ctxt": 0
},
"value": "changeTypeAfter",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2448,
"end": 2474,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2450,
"end": 2474,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2452,
"end": 2462,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2452,
"end": 2453,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2453,
"end": 2461,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2455,
"end": 2461,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2463,
"end": 2472,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2463,
"end": 2464,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2464,
"end": 2472,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2466,
"end": 2472,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2481,
"end": 2507,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2483,
"end": 2486,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2486,
"end": 2487,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2489,
"end": 2490,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 2492,
"end": 2505,
"ctxt": 0
},
"value": "wrong type?",
"raw": "'wrong type?'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2508,
"end": 2577,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2512,
"end": 2576,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2512,
"end": 2526,
"ctxt": 0
},
"value": "changeTypeBoth",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2526,
"end": 2552,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2528,
"end": 2552,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2530,
"end": 2540,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2530,
"end": 2531,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2531,
"end": 2539,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2533,
"end": 2539,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2541,
"end": 2550,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2541,
"end": 2542,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2542,
"end": 2550,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2544,
"end": 2550,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2559,
"end": 2576,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2561,
"end": 2564,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2564,
"end": 2565,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 2567,
"end": 2570,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2570,
"end": 2574,
"ctxt": 0
},
"value": "swap",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2600,
"end": 2609,
"ctxt": 0
},
"value": "container",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 2615,
"end": 2647,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2615,
"end": 2647,
"ctxt": 0
},
"value": "definiteBoolean",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2630,
"end": 2647,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2632,
"end": 2647,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2634,
"end": 2645,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2634,
"end": 2636,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2636,
"end": 2645,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2638,
"end": 2645,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 2653,
"end": 2683,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2653,
"end": 2683,
"ctxt": 0
},
"value": "definiteString",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2667,
"end": 2683,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2669,
"end": 2683,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2671,
"end": 2681,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2671,
"end": 2673,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2673,
"end": 2681,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2675,
"end": 2681,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 2689,
"end": 2720,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2689,
"end": 2720,
"ctxt": 0
},
"value": "optionalString",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2703,
"end": 2720,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2705,
"end": 2720,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2707,
"end": 2718,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2707,
"end": 2709,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": true,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2710,
"end": 2718,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2712,
"end": 2718,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 2726,
"end": 2757,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2726,
"end": 2757,
"ctxt": 0
},
"value": "optionalNumber",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2740,
"end": 2757,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2742,
"end": 2757,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2744,
"end": 2755,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2744,
"end": 2746,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": true,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2747,
"end": 2755,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2749,
"end": 2755,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 2591,
"end": 3397,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2759,
"end": 3397,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 2765,
"end": 2886,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2769,
"end": 2885,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2769,
"end": 2787,
"ctxt": 0
},
"value": "optionalUnionStops",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2787,
"end": 2822,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2789,
"end": 2822,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2791,
"end": 2820,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2791,
"end": 2793,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2793,
"end": 2820,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 2795,
"end": 2820,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 2795,
"end": 2801,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 2804,
"end": 2810,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 2813,
"end": 2820,
"ctxt": 0
},
"kind": "boolean"
}
]
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2825,
"end": 2885,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2827,
"end": 2830,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2830,
"end": 2845,
"ctxt": 0
},
"value": "definiteBoolean",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 2847,
"end": 2850,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2850,
"end": 2864,
"ctxt": 0
},
"value": "definiteString",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 2866,
"end": 2869,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2869,
"end": 2883,
"ctxt": 0
},
"value": "optionalNumber",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2891,
"end": 3026,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2895,
"end": 3025,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2895,
"end": 2918,
"ctxt": 0
},
"value": "optionalUnionDuplicates",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2918,
"end": 2943,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2920,
"end": 2943,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2922,
"end": 2941,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2922,
"end": 2924,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2924,
"end": 2941,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 2926,
"end": 2941,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 2926,
"end": 2932,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 2935,
"end": 2941,
"ctxt": 0
},
"kind": "number"
}
]
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2946,
"end": 3025,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2948,
"end": 2951,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2951,
"end": 2966,
"ctxt": 0
},
"value": "definiteBoolean",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 2968,
"end": 2971,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2971,
"end": 2985,
"ctxt": 0
},
"value": "definiteString",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 2987,
"end": 2990,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2990,
"end": 3004,
"ctxt": 0
},
"value": "optionalString",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 3006,
"end": 3009,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3009,
"end": 3023,
"ctxt": 0
},
"value": "optionalNumber",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3031,
"end": 3116,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3035,
"end": 3115,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3035,
"end": 3046,
"ctxt": 0
},
"value": "allOptional",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3046,
"end": 3072,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3048,
"end": 3072,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3050,
"end": 3070,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3050,
"end": 3052,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": true,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3053,
"end": 3070,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 3055,
"end": 3070,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 3055,
"end": 3061,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 3064,
"end": 3070,
"ctxt": 0
},
"kind": "number"
}
]
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 3075,
"end": 3115,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 3077,
"end": 3080,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3080,
"end": 3094,
"ctxt": 0
},
"value": "optionalString",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 3096,
"end": 3099,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3099,
"end": 3113,
"ctxt": 0
},
"value": "optionalNumber",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3147,
"end": 3275,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3151,
"end": 3275,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3151,
"end": 3164,
"ctxt": 0
},
"value": "computedFirst",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3164,
"end": 3219,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3166,
"end": 3219,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3168,
"end": 3178,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3168,
"end": 3169,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3169,
"end": 3177,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3171,
"end": 3177,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3179,
"end": 3189,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3179,
"end": 3180,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3180,
"end": 3188,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3182,
"end": 3188,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3190,
"end": 3217,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "StringLiteral",
"span": {
"start": 3190,
"end": 3209,
"ctxt": 0
},
"value": "before everything",
"raw": "\"before everything\""
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3209,
"end": 3217,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3211,
"end": 3217,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 3230,
"end": 3275,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Computed",
"span": {
"start": 3232,
"end": 3253,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 3233,
"end": 3252,
"ctxt": 0
},
"value": "before everything",
"raw": "'before everything'"
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 3255,
"end": 3257,
"ctxt": 0
},
"value": 12.0
}
},
{
"type": "SpreadElement",
"spread": {
"start": 3259,
"end": 3262,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3262,
"end": 3263,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3265,
"end": 3266,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3268,
"end": 3273,
"ctxt": 0
},
"value": "yes",
"raw": "'yes'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3280,
"end": 3395,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3284,
"end": 3395,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3284,
"end": 3297,
"ctxt": 0
},
"value": "computedAfter",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3297,
"end": 3345,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3299,
"end": 3345,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3301,
"end": 3311,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3301,
"end": 3302,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3302,
"end": 3310,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3304,
"end": 3310,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3312,
"end": 3322,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3312,
"end": 3313,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3313,
"end": 3321,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3315,
"end": 3321,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3323,
"end": 3343,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "StringLiteral",
"span": {
"start": 3323,
"end": 3335,
"ctxt": 0
},
"value": "at the end",
"raw": "\"at the end\""
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3335,
"end": 3343,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3337,
"end": 3343,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 3356,
"end": 3395,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 3358,
"end": 3361,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3361,
"end": 3362,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3364,
"end": 3365,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3367,
"end": 3373,
"ctxt": 0
},
"value": "yeah",
"raw": "'yeah'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Computed",
"span": {
"start": 3375,
"end": 3389,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 3376,
"end": 3388,
"ctxt": 0
},
"value": "at the end",
"raw": "'at the end'"
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 3391,
"end": 3393,
"ctxt": 0
},
"value": 14.0
}
}
]
},
"definite": false
}
]
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "VariableDeclaration",
"span": {
"start": 3417,
"end": 3428,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3421,
"end": 3427,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3421,
"end": 3422,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 3425,
"end": 3427,
"ctxt": 0
},
"value": 12.0
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3429,
"end": 3484,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3433,
"end": 3484,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3433,
"end": 3444,
"ctxt": 0
},
"value": "shortCutted",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3444,
"end": 3470,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3446,
"end": 3470,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3448,
"end": 3458,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3448,
"end": 3449,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3449,
"end": 3457,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3451,
"end": 3457,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3459,
"end": 3468,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3459,
"end": 3460,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3460,
"end": 3468,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3462,
"end": 3468,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 3473,
"end": 3484,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 3475,
"end": 3478,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3478,
"end": 3479,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "Identifier",
"span": {
"start": 3481,
"end": 3482,
"ctxt": 0
},
"value": "a",
"optional": false
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3502,
"end": 3544,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3506,
"end": 3543,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3506,
"end": 3524,
"ctxt": 0
},
"value": "spreadNonPrimitive",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 3527,
"end": 3543,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 3529,
"end": 3532,
"ctxt": 0
},
"arguments": {
"type": "TsTypeAssertion",
"span": {
"start": 3532,
"end": 3542,
"ctxt": 0
},
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3540,
"end": 3542,
"ctxt": 0
},
"properties": []
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3533,
"end": 3539,
"ctxt": 0
},
"kind": "object"
}
}
}
]
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 3575,
"end": 3576,
"ctxt": 0
},
"value": "f",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 3583,
"end": 3587,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 3583,
"end": 3587,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3584,
"end": 3587,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3586,
"end": 3587,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3586,
"end": 3587,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 3589,
"end": 3593,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 3589,
"end": 3593,
"ctxt": 0
},
"value": "u",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3590,
"end": 3593,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3592,
"end": 3593,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3592,
"end": 3593,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 3566,
"end": 3635,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3595,
"end": 3635,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 3601,
"end": 3633,
"ctxt": 0
},
"argument": {
"type": "ObjectExpression",
"span": {
"start": 3608,
"end": 3632,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 3610,
"end": 3613,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3613,
"end": 3614,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 3616,
"end": 3619,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3619,
"end": 3620,
"ctxt": 0
},
"value": "u",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3622,
"end": 3624,
"ctxt": 0
},
"value": "id",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3626,
"end": 3630,
"ctxt": 0
},
"value": "id",
"raw": "'id'"
}
}
]
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3576,
"end": 3582,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3577,
"end": 3578,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3577,
"end": 3578,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 3580,
"end": 3581,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3580,
"end": 3581,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
},
{
"type": "VariableDeclaration",
"span": {
"start": 3637,
"end": 3762,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3641,
"end": 3762,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3641,
"end": 3650,
"ctxt": 0
},
"value": "exclusive",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3650,
"end": 3711,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3652,
"end": 3711,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3654,
"end": 3665,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3654,
"end": 3656,
"ctxt": 0
},
"value": "id",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3656,
"end": 3664,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3658,
"end": 3664,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3666,
"end": 3676,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3666,
"end": 3667,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3667,
"end": 3675,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3669,
"end": 3675,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3677,
"end": 3687,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3677,
"end": 3678,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3678,
"end": 3686,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3680,
"end": 3686,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3688,
"end": 3698,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3688,
"end": 3689,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3689,
"end": 3697,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3691,
"end": 3697,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3699,
"end": 3709,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3699,
"end": 3700,
"ctxt": 0
},
"value": "d",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3700,
"end": 3709,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3702,
"end": 3709,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "CallExpression",
"span": {
"start": 3718,
"end": 3762,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3718,
"end": 3719,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3720,
"end": 3738,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3722,
"end": 3723,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 3725,
"end": 3726,
"ctxt": 0
},
"value": 1.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3728,
"end": 3729,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3731,
"end": 3736,
"ctxt": 0
},
"value": "yes",
"raw": "'yes'"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3740,
"end": 3761,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3742,
"end": 3743,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3745,
"end": 3749,
"ctxt": 0
},
"value": "no",
"raw": "'no'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3751,
"end": 3752,
"ctxt": 0
},
"value": "d",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 3754,
"end": 3759,
"ctxt": 0
},
"value": false
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3763,
"end": 3852,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3767,
"end": 3852,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3767,
"end": 3774,
"ctxt": 0
},
"value": "overlap",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3774,
"end": 3812,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3776,
"end": 3812,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3778,
"end": 3789,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3778,
"end": 3780,
"ctxt": 0
},
"value": "id",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3780,
"end": 3788,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3782,
"end": 3788,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3790,
"end": 3800,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3790,
"end": 3791,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3791,
"end": 3799,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3793,
"end": 3799,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3801,
"end": 3810,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3801,
"end": 3802,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3802,
"end": 3810,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3804,
"end": 3810,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "CallExpression",
"span": {
"start": 3819,
"end": 3852,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3819,
"end": 3820,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3821,
"end": 3829,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3823,
"end": 3824,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 3826,
"end": 3827,
"ctxt": 0
},
"value": 1.0
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3831,
"end": 3851,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3833,
"end": 3834,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 3836,
"end": 3837,
"ctxt": 0
},
"value": 2.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3839,
"end": 3840,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3842,
"end": 3849,
"ctxt": 0
},
"value": "extra",
"raw": "'extra'"
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3853,
"end": 3935,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3857,
"end": 3935,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3857,
"end": 3872,
"ctxt": 0
},
"value": "overlapConflict",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3872,
"end": 3898,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3874,
"end": 3898,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3876,
"end": 3886,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3876,
"end": 3878,
"ctxt": 0
},
"value": "id",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3878,
"end": 3885,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3879,
"end": 3885,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3887,
"end": 3896,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3887,
"end": 3888,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3888,
"end": 3896,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3890,
"end": 3896,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "CallExpression",
"span": {
"start": 3905,
"end": 3935,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3905,
"end": 3906,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3907,
"end": 3915,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3909,
"end": 3910,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 3912,
"end": 3913,
"ctxt": 0
},
"value": 1.0
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3917,
"end": 3934,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3919,
"end": 3920,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3922,
"end": 3932,
"ctxt": 0
},
"value": "mismatch",
"raw": "'mismatch'"
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3936,
"end": 4047,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3940,
"end": 4047,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3940,
"end": 3951,
"ctxt": 0
},
"value": "overwriteId",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3951,
"end": 4000,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3953,
"end": 4000,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3955,
"end": 3966,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3955,
"end": 3957,
"ctxt": 0
},
"value": "id",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3957,
"end": 3965,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3959,
"end": 3965,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3967,
"end": 3977,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3967,
"end": 3968,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3968,
"end": 3976,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3970,
"end": 3976,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3978,
"end": 3988,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3978,
"end": 3979,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3979,
"end": 3987,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3981,
"end": 3987,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3989,
"end": 3998,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3989,
"end": 3990,
"ctxt": 0
},
"value": "d",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3990,
"end": 3998,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3992,
"end": 3998,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "CallExpression",
"span": {
"start": 4007,
"end": 4047,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4007,
"end": 4008,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 4009,
"end": 4027,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4011,
"end": 4012,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4014,
"end": 4015,
"ctxt": 0
},
"value": 1.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4017,
"end": 4019,
"ctxt": 0
},
"value": "id",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 4021,
"end": 4025,
"ctxt": 0
},
"value": true
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 4029,
"end": 4046,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4031,
"end": 4032,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4034,
"end": 4035,
"ctxt": 0
},
"value": 1.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4037,
"end": 4038,
"ctxt": 0
},
"value": "d",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 4040,
"end": 4044,
"ctxt": 0
},
"value": "no",
"raw": "'no'"
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 4058,
"end": 4071,
"ctxt": 0
},
"value": "genericSpread",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 4078,
"end": 4082,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4078,
"end": 4082,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4079,
"end": 4082,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4081,
"end": 4082,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4081,
"end": 4082,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4084,
"end": 4088,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4084,
"end": 4088,
"ctxt": 0
},
"value": "u",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4085,
"end": 4088,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4087,
"end": 4088,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4087,
"end": 4088,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4090,
"end": 4098,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4090,
"end": 4098,
"ctxt": 0
},
"value": "v",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4091,
"end": 4098,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 4093,
"end": 4098,
"ctxt": 0
},
"types": [
{
"type": "TsTypeReference",
"span": {
"start": 4093,
"end": 4094,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4093,
"end": 4094,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
{
"type": "TsTypeReference",
"span": {
"start": 4097,
"end": 4098,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4097,
"end": 4098,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4100,
"end": 4120,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4100,
"end": 4120,
"ctxt": 0
},
"value": "w",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4101,
"end": 4120,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 4103,
"end": 4120,
"ctxt": 0
},
"types": [
{
"type": "TsTypeReference",
"span": {
"start": 4103,
"end": 4104,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4103,
"end": 4104,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
{
"type": "TsTypeLiteral",
"span": {
"start": 4107,
"end": 4120,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 4109,
"end": 4118,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 4109,
"end": 4110,
"ctxt": 0
},
"value": "s",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4110,
"end": 4118,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4112,
"end": 4118,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4122,
"end": 4140,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4122,
"end": 4140,
"ctxt": 0
},
"value": "obj",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4125,
"end": 4140,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 4127,
"end": 4140,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 4129,
"end": 4138,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 4129,
"end": 4130,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4130,
"end": 4138,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4132,
"end": 4138,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 4049,
"end": 4748,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 4142,
"end": 4748,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 4148,
"end": 4167,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4152,
"end": 4166,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4152,
"end": 4155,
"ctxt": 0
},
"value": "x01",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4158,
"end": 4166,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4160,
"end": 4163,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4163,
"end": 4164,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4172,
"end": 4197,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4176,
"end": 4196,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4176,
"end": 4179,
"ctxt": 0
},
"value": "x02",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4182,
"end": 4196,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4184,
"end": 4187,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4187,
"end": 4188,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4190,
"end": 4193,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4193,
"end": 4194,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4202,
"end": 4227,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4206,
"end": 4226,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4206,
"end": 4209,
"ctxt": 0
},
"value": "x03",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4212,
"end": 4226,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4214,
"end": 4217,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4217,
"end": 4218,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4220,
"end": 4223,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4223,
"end": 4224,
"ctxt": 0
},
"value": "u",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4232,
"end": 4257,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4236,
"end": 4256,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4236,
"end": 4239,
"ctxt": 0
},
"value": "x04",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4242,
"end": 4256,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4244,
"end": 4247,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4247,
"end": 4248,
"ctxt": 0
},
"value": "u",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4250,
"end": 4253,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4253,
"end": 4254,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4262,
"end": 4296,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4266,
"end": 4295,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4266,
"end": 4269,
"ctxt": 0
},
"value": "x05",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4272,
"end": 4295,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4274,
"end": 4275,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4277,
"end": 4278,
"ctxt": 0
},
"value": 5.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4280,
"end": 4281,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 4283,
"end": 4287,
"ctxt": 0
},
"value": "hi",
"raw": "'hi'"
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4289,
"end": 4292,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4292,
"end": 4293,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4301,
"end": 4335,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4305,
"end": 4334,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4305,
"end": 4308,
"ctxt": 0
},
"value": "x06",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4311,
"end": 4334,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4313,
"end": 4316,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4316,
"end": 4317,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4319,
"end": 4320,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4322,
"end": 4323,
"ctxt": 0
},
"value": 5.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4325,
"end": 4326,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 4328,
"end": 4332,
"ctxt": 0
},
"value": "hi",
"raw": "'hi'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4340,
"end": 4391,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4344,
"end": 4390,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4344,
"end": 4347,
"ctxt": 0
},
"value": "x07",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4350,
"end": 4390,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4352,
"end": 4353,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4355,
"end": 4356,
"ctxt": 0
},
"value": 5.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4358,
"end": 4359,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 4361,
"end": 4365,
"ctxt": 0
},
"value": "hi",
"raw": "'hi'"
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4367,
"end": 4370,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4370,
"end": 4371,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4373,
"end": 4374,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 4376,
"end": 4380,
"ctxt": 0
},
"value": true
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4382,
"end": 4385,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4385,
"end": 4388,
"ctxt": 0
},
"value": "obj",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4396,
"end": 4447,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4400,
"end": 4446,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4400,
"end": 4403,
"ctxt": 0
},
"value": "x09",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4406,
"end": 4446,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4408,
"end": 4409,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4411,
"end": 4412,
"ctxt": 0
},
"value": 5.0
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4414,
"end": 4417,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4417,
"end": 4418,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4420,
"end": 4421,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 4423,
"end": 4427,
"ctxt": 0
},
"value": "hi",
"raw": "'hi'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4429,
"end": 4430,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 4432,
"end": 4436,
"ctxt": 0
},
"value": true
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4438,
"end": 4441,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4441,
"end": 4444,
"ctxt": 0
},
"value": "obj",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4452,
"end": 4500,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4456,
"end": 4499,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4456,
"end": 4459,
"ctxt": 0
},
"value": "x10",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4462,
"end": 4499,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4464,
"end": 4465,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4467,
"end": 4468,
"ctxt": 0
},
"value": 5.0
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4470,
"end": 4473,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4473,
"end": 4474,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4476,
"end": 4477,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 4479,
"end": 4483,
"ctxt": 0
},
"value": "hi",
"raw": "'hi'"
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4485,
"end": 4488,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4488,
"end": 4489,
"ctxt": 0
},
"value": "u",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4491,
"end": 4494,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4494,
"end": 4497,
"ctxt": 0
},
"value": "obj",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4505,
"end": 4524,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4509,
"end": 4523,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4509,
"end": 4512,
"ctxt": 0
},
"value": "x11",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4515,
"end": 4523,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4517,
"end": 4520,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4520,
"end": 4521,
"ctxt": 0
},
"value": "v",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4529,
"end": 4556,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4533,
"end": 4555,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4533,
"end": 4536,
"ctxt": 0
},
"value": "x12",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4539,
"end": 4555,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4541,
"end": 4544,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4544,
"end": 4545,
"ctxt": 0
},
"value": "v",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4547,
"end": 4550,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4550,
"end": 4553,
"ctxt": 0
},
"value": "obj",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4561,
"end": 4580,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4565,
"end": 4579,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4565,
"end": 4568,
"ctxt": 0
},
"value": "x13",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4571,
"end": 4579,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4573,
"end": 4576,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4576,
"end": 4577,
"ctxt": 0
},
"value": "w",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4585,
"end": 4612,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4589,
"end": 4611,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4589,
"end": 4592,
"ctxt": 0
},
"value": "x14",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4595,
"end": 4611,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4597,
"end": 4600,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4600,
"end": 4601,
"ctxt": 0
},
"value": "w",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4603,
"end": 4606,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4606,
"end": 4609,
"ctxt": 0
},
"value": "obj",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4617,
"end": 4642,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4621,
"end": 4641,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4621,
"end": 4624,
"ctxt": 0
},
"value": "x15",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4627,
"end": 4641,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4629,
"end": 4632,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4632,
"end": 4633,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4635,
"end": 4638,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4638,
"end": 4639,
"ctxt": 0
},
"value": "v",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4647,
"end": 4672,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4651,
"end": 4671,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4651,
"end": 4654,
"ctxt": 0
},
"value": "x16",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4657,
"end": 4671,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4659,
"end": 4662,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4662,
"end": 4663,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4665,
"end": 4668,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4668,
"end": 4669,
"ctxt": 0
},
"value": "w",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4677,
"end": 4710,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4681,
"end": 4709,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4681,
"end": 4684,
"ctxt": 0
},
"value": "x17",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4687,
"end": 4709,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4689,
"end": 4692,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4692,
"end": 4693,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4695,
"end": 4698,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4698,
"end": 4699,
"ctxt": 0
},
"value": "w",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4701,
"end": 4704,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4704,
"end": 4707,
"ctxt": 0
},
"value": "obj",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4715,
"end": 4746,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4719,
"end": 4745,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4719,
"end": 4722,
"ctxt": 0
},
"value": "x18",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4725,
"end": 4745,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4727,
"end": 4730,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4730,
"end": 4731,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4733,
"end": 4736,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4736,
"end": 4737,
"ctxt": 0
},
"value": "v",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4739,
"end": 4742,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4742,
"end": 4743,
"ctxt": 0
},
"value": "w",
"optional": false
}
}
]
},
"definite": false
}
]
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4071,
"end": 4077,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4072,
"end": 4073,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4072,
"end": 4073,
"ctxt": 0
},
"value": "T",
"optional": false
},
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 4075,
"end": 4076,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4075,
"end": 4076,
"ctxt": 0
},
"value": "U",
"optional": false
},
"constraint": null,
"default": null
}
]
},
"returnType": null
}
],
"interpreter": null
}