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

10870 lines
324 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 44,
"end": 4749,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 44,
"end": 69,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 48,
"end": 69,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 48,
"end": 49,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 52,
"end": 69,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 54,
"end": 55,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 57,
"end": 58,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 60,
"end": 61,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 63,
"end": 67,
"ctxt": 0
},
"value": "no",
"raw": "'no'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 70,
"end": 100,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 74,
"end": 100,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 74,
"end": 76,
"ctxt": 0
},
"value": "o2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 79,
"end": 100,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 81,
"end": 82,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 84,
"end": 89,
"ctxt": 0
},
"value": "yes",
"raw": "'yes'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 91,
"end": 92,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 94,
"end": 98,
"ctxt": 0
},
"value": true
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 101,
"end": 132,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 105,
"end": 131,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 105,
"end": 109,
"ctxt": 0
},
"value": "swap",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 112,
"end": 131,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 114,
"end": 115,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 117,
"end": 122,
"ctxt": 0
},
"value": "yes",
"raw": "'yes'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 124,
"end": 125,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "UnaryExpression",
"span": {
"start": 127,
"end": 129,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "NumericLiteral",
"span": {
"start": 128,
"end": 129,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 134,
"end": 209,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 138,
"end": 209,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 138,
"end": 146,
"ctxt": 0
},
"value": "addAfter",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 146,
"end": 184,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 148,
"end": 184,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 150,
"end": 160,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 150,
"end": 151,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 151,
"end": 159,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 153,
"end": 159,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 161,
"end": 171,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 161,
"end": 162,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 162,
"end": 170,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 164,
"end": 170,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 172,
"end": 182,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 172,
"end": 173,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 173,
"end": 182,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 175,
"end": 182,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 191,
"end": 209,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 193,
"end": 196,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 196,
"end": 197,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 199,
"end": 200,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 202,
"end": 207,
"ctxt": 0
},
"value": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 210,
"end": 286,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 214,
"end": 286,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 214,
"end": 223,
"ctxt": 0
},
"value": "addBefore",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 223,
"end": 261,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 225,
"end": 261,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 227,
"end": 237,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 227,
"end": 228,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 228,
"end": 236,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 230,
"end": 236,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 238,
"end": 248,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 238,
"end": 239,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 239,
"end": 247,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 241,
"end": 247,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 249,
"end": 259,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 249,
"end": 250,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 250,
"end": 259,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 252,
"end": 259,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 268,
"end": 286,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 270,
"end": 271,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 273,
"end": 278,
"ctxt": 0
},
"value": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 280,
"end": 283,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 283,
"end": 284,
"ctxt": 0
},
"value": "o",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 287,
"end": 355,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 291,
"end": 355,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 291,
"end": 299,
"ctxt": 0
},
"value": "override",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 299,
"end": 325,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 301,
"end": 325,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 303,
"end": 313,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 303,
"end": 304,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 304,
"end": 312,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 306,
"end": 312,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 314,
"end": 323,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 314,
"end": 315,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 315,
"end": 323,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 317,
"end": 323,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 332,
"end": 355,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 334,
"end": 337,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 337,
"end": 338,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 340,
"end": 341,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 343,
"end": 353,
"ctxt": 0
},
"value": "override",
"raw": "'override'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 356,
"end": 474,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 360,
"end": 474,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 360,
"end": 366,
"ctxt": 0
},
"value": "nested",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 366,
"end": 404,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 368,
"end": 404,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 370,
"end": 380,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 370,
"end": 371,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 371,
"end": 379,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 373,
"end": 379,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 381,
"end": 392,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 381,
"end": 382,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 382,
"end": 391,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 384,
"end": 391,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 393,
"end": 402,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 393,
"end": 394,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 394,
"end": 402,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 396,
"end": 402,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 411,
"end": 474,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 413,
"end": 416,
"ctxt": 0
},
"arguments": {
"type": "ObjectExpression",
"span": {
"start": 416,
"end": 457,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 418,
"end": 419,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 421,
"end": 422,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
},
{
"type": "SpreadElement",
"spread": {
"start": 424,
"end": 427,
"ctxt": 0
},
"arguments": {
"type": "ObjectExpression",
"span": {
"start": 427,
"end": 455,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 429,
"end": 430,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 432,
"end": 437,
"ctxt": 0
},
"value": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 439,
"end": 440,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 442,
"end": 453,
"ctxt": 0
},
"value": "overriden",
"raw": "'overriden'"
}
}
]
}
}
]
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 459,
"end": 460,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 462,
"end": 472,
"ctxt": 0
},
"value": "whatever",
"raw": "'whatever'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 475,
"end": 547,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 479,
"end": 547,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 479,
"end": 487,
"ctxt": 0
},
"value": "combined",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 487,
"end": 525,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 489,
"end": 525,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 491,
"end": 501,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 491,
"end": 492,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 492,
"end": 500,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 494,
"end": 500,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 502,
"end": 512,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 502,
"end": 503,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 503,
"end": 511,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 505,
"end": 511,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 513,
"end": 523,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 513,
"end": 514,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 514,
"end": 523,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 516,
"end": 523,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 532,
"end": 547,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 534,
"end": 537,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 537,
"end": 538,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 540,
"end": 543,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 543,
"end": 545,
"ctxt": 0
},
"value": "o2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 548,
"end": 634,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 552,
"end": 634,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 552,
"end": 565,
"ctxt": 0
},
"value": "combinedAfter",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 565,
"end": 603,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 567,
"end": 603,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 569,
"end": 579,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 569,
"end": 570,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 570,
"end": 578,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 572,
"end": 578,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 580,
"end": 590,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 580,
"end": 581,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 581,
"end": 589,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 583,
"end": 589,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 591,
"end": 601,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 591,
"end": 592,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 592,
"end": 601,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 594,
"end": 601,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 610,
"end": 634,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 612,
"end": 615,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 615,
"end": 616,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 618,
"end": 621,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 621,
"end": 623,
"ctxt": 0
},
"value": "o2",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 625,
"end": 626,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 628,
"end": 632,
"ctxt": 0
},
"value": "ok",
"raw": "'ok'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 635,
"end": 763,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 639,
"end": 763,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 639,
"end": 663,
"ctxt": 0
},
"value": "combinedNestedChangeType",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 663,
"end": 701,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 665,
"end": 701,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 667,
"end": 677,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 667,
"end": 668,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 668,
"end": 676,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 670,
"end": 676,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 678,
"end": 689,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 678,
"end": 679,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 679,
"end": 688,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 681,
"end": 688,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 690,
"end": 699,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 690,
"end": 691,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 691,
"end": 699,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 693,
"end": 699,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 708,
"end": 763,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 710,
"end": 713,
"ctxt": 0
},
"arguments": {
"type": "ObjectExpression",
"span": {
"start": 713,
"end": 754,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 715,
"end": 716,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 718,
"end": 719,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"type": "SpreadElement",
"spread": {
"start": 721,
"end": 724,
"ctxt": 0
},
"arguments": {
"type": "ObjectExpression",
"span": {
"start": 724,
"end": 752,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 726,
"end": 727,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 729,
"end": 734,
"ctxt": 0
},
"value": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 736,
"end": 737,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 739,
"end": 750,
"ctxt": 0
},
"value": "overriden",
"raw": "'overriden'"
}
}
]
}
}
]
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 756,
"end": 757,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "UnaryExpression",
"span": {
"start": 759,
"end": 761,
"ctxt": 0
},
"operator": "-",
"argument": {
"type": "NumericLiteral",
"span": {
"start": 760,
"end": 761,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 764,
"end": 838,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 768,
"end": 838,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 768,
"end": 782,
"ctxt": 0
},
"value": "propertyNested",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 782,
"end": 815,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 784,
"end": 815,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 786,
"end": 813,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 786,
"end": 787,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 787,
"end": 813,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 789,
"end": 813,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 791,
"end": 801,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 791,
"end": 792,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 792,
"end": 800,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 794,
"end": 800,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 802,
"end": 811,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 802,
"end": 803,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 803,
"end": 811,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 805,
"end": 811,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 822,
"end": 838,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 824,
"end": 825,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "ObjectExpression",
"span": {
"start": 827,
"end": 836,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 829,
"end": 832,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 833,
"end": 834,
"ctxt": 0
},
"value": "o",
"optional": false
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 946,
"end": 981,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 950,
"end": 980,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 950,
"end": 952,
"ctxt": 0
},
"value": "op",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 955,
"end": 980,
"ctxt": 0
},
"properties": [
{
"type": "GetterProperty",
"span": {
"start": 957,
"end": 978,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 961,
"end": 962,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null,
"body": {
"type": "BlockStatement",
"span": {
"start": 966,
"end": 978,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 968,
"end": 976,
"ctxt": 0
},
"argument": {
"type": "NumericLiteral",
"span": {
"start": 975,
"end": 976,
"ctxt": 0
},
"value": 6.0,
"raw": "6"
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 982,
"end": 1040,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 986,
"end": 1040,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 986,
"end": 992,
"ctxt": 0
},
"value": "getter",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 992,
"end": 1018,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 994,
"end": 1018,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 996,
"end": 1006,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 996,
"end": 997,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 997,
"end": 1005,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 999,
"end": 1005,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1007,
"end": 1016,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1007,
"end": 1008,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1008,
"end": 1016,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1010,
"end": 1016,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1025,
"end": 1040,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1027,
"end": 1030,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 1030,
"end": 1032,
"ctxt": 0
},
"value": "op",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1034,
"end": 1035,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1037,
"end": 1038,
"ctxt": 0
},
"value": 7.0,
"raw": "7"
}
}
]
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1041,
"end": 1055,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1041,
"end": 1054,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1041,
"end": 1049,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1041,
"end": 1047,
"ctxt": 0
},
"value": "getter",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1048,
"end": 1049,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1052,
"end": 1054,
"ctxt": 0
},
"value": 12.0,
"raw": "12"
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1084,
"end": 1126,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1088,
"end": 1125,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1088,
"end": 1098,
"ctxt": 0
},
"value": "spreadFunc",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1101,
"end": 1125,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1103,
"end": 1106,
"ctxt": 0
},
"arguments": {
"type": "ParenthesisExpression",
"span": {
"start": 1106,
"end": 1123,
"ctxt": 0
},
"expression": {
"type": "FunctionExpression",
"identifier": null,
"params": [],
"decorators": [],
"span": {
"start": 1107,
"end": 1122,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1119,
"end": 1122,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
}
}
]
},
"definite": false
}
]
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 1128,
"end": 1191,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 1133,
"end": 1139,
"ctxt": 0
},
"value": "Header",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1142,
"end": 1191,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1144,
"end": 1157,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1144,
"end": 1148,
"ctxt": 0
},
"value": "head",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1148,
"end": 1156,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1150,
"end": 1156,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1158,
"end": 1171,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1158,
"end": 1162,
"ctxt": 0
},
"value": "body",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1162,
"end": 1170,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1164,
"end": 1170,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1172,
"end": 1189,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1172,
"end": 1181,
"ctxt": 0
},
"value": "authToken",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1181,
"end": 1189,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1183,
"end": 1189,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1201,
"end": 1210,
"ctxt": 0
},
"value": "from16326",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1211,
"end": 1235,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1211,
"end": 1235,
"ctxt": 0
},
"value": "this",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1215,
"end": 1235,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1217,
"end": 1235,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1219,
"end": 1233,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1219,
"end": 1225,
"ctxt": 0
},
"value": "header",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1225,
"end": 1233,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1227,
"end": 1233,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1227,
"end": 1233,
"ctxt": 0
},
"value": "Header",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 1237,
"end": 1251,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1237,
"end": 1251,
"ctxt": 0
},
"value": "header",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1243,
"end": 1251,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1245,
"end": 1251,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1245,
"end": 1251,
"ctxt": 0
},
"value": "Header",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 1253,
"end": 1270,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1253,
"end": 1270,
"ctxt": 0
},
"value": "authToken",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1262,
"end": 1270,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1264,
"end": 1270,
"ctxt": 0
},
"kind": "string"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1192,
"end": 1383,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1280,
"end": 1383,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1286,
"end": 1381,
"ctxt": 0
},
"argument": {
"type": "ObjectExpression",
"span": {
"start": 1293,
"end": 1381,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1303,
"end": 1306,
"ctxt": 0
},
"arguments": {
"type": "MemberExpression",
"span": {
"start": 1306,
"end": 1317,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1306,
"end": 1310,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1311,
"end": 1317,
"ctxt": 0
},
"value": "header",
"optional": false
}
}
},
{
"type": "SpreadElement",
"spread": {
"start": 1327,
"end": 1330,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 1330,
"end": 1336,
"ctxt": 0
},
"value": "header",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 1346,
"end": 1349,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 1349,
"end": 1375,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 1349,
"end": 1358,
"ctxt": 0
},
"value": "authToken",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1362,
"end": 1375,
"ctxt": 0
},
"properties": [
{
"type": "Identifier",
"span": {
"start": 1364,
"end": 1373,
"ctxt": 0
},
"value": "authToken",
"optional": false
}
]
}
}
}
]
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1271,
"end": 1279,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1273,
"end": 1279,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1273,
"end": 1279,
"ctxt": 0
},
"value": "Header",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1431,
"end": 1455,
"ctxt": 0
},
"value": "conditionalSpreadBoolean",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1456,
"end": 1466,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1456,
"end": 1466,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1457,
"end": 1466,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1459,
"end": 1466,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1422,
"end": 1631,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1495,
"end": 1631,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 1501,
"end": 1525,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1505,
"end": 1525,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1505,
"end": 1506,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1509,
"end": 1525,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1511,
"end": 1512,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1514,
"end": 1516,
"ctxt": 0
},
"value": 12.0,
"raw": "12"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1518,
"end": 1519,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1521,
"end": 1523,
"ctxt": 0
},
"value": 13.0,
"raw": "13"
}
}
]
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1530,
"end": 1581,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1530,
"end": 1581,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1530,
"end": 1531,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1534,
"end": 1581,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1544,
"end": 1547,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 1547,
"end": 1548,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 1558,
"end": 1561,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 1561,
"end": 1575,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 1561,
"end": 1562,
"ctxt": 0
},
"value": "b",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1566,
"end": 1575,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1568,
"end": 1569,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1571,
"end": 1573,
"ctxt": 0
},
"value": 14.0,
"raw": "14"
}
}
]
}
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1586,
"end": 1615,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1590,
"end": 1615,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1590,
"end": 1592,
"ctxt": 0
},
"value": "o2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1595,
"end": 1615,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1597,
"end": 1600,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 1600,
"end": 1614,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 1600,
"end": 1601,
"ctxt": 0
},
"value": "b",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1605,
"end": 1614,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1607,
"end": 1608,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1610,
"end": 1612,
"ctxt": 0
},
"value": 21.0,
"raw": "21"
}
}
]
}
}
}
]
},
"definite": false
}
]
},
{
"type": "ReturnStatement",
"span": {
"start": 1620,
"end": 1629,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1627,
"end": 1628,
"ctxt": 0
},
"value": "o",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1468,
"end": 1494,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1470,
"end": 1494,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1472,
"end": 1482,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1472,
"end": 1473,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1473,
"end": 1481,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1475,
"end": 1481,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1483,
"end": 1492,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1483,
"end": 1484,
"ctxt": 0
},
"value": "y",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1484,
"end": 1492,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1486,
"end": 1492,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1641,
"end": 1664,
"ctxt": 0
},
"value": "conditionalSpreadNumber",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1665,
"end": 1675,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1665,
"end": 1675,
"ctxt": 0
},
"value": "nt",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1667,
"end": 1675,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1669,
"end": 1675,
"ctxt": 0
},
"kind": "number"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1632,
"end": 1841,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1703,
"end": 1841,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 1709,
"end": 1733,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1713,
"end": 1733,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1713,
"end": 1714,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1717,
"end": 1733,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1719,
"end": 1720,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1722,
"end": 1724,
"ctxt": 0
},
"value": 15.0,
"raw": "15"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1726,
"end": 1727,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1729,
"end": 1731,
"ctxt": 0
},
"value": 16.0,
"raw": "16"
}
}
]
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1738,
"end": 1790,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1738,
"end": 1790,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1738,
"end": 1739,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1742,
"end": 1790,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1752,
"end": 1755,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 1755,
"end": 1756,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 1766,
"end": 1769,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 1769,
"end": 1784,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 1769,
"end": 1771,
"ctxt": 0
},
"value": "nt",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1775,
"end": 1784,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1777,
"end": 1778,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 1780,
"end": 1782,
"ctxt": 0
},
"value": "nt",
"optional": false
}
}
]
}
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1795,
"end": 1825,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1799,
"end": 1825,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1799,
"end": 1801,
"ctxt": 0
},
"value": "o2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1804,
"end": 1825,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1806,
"end": 1809,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 1809,
"end": 1824,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 1809,
"end": 1811,
"ctxt": 0
},
"value": "nt",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1815,
"end": 1824,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1817,
"end": 1818,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 1820,
"end": 1822,
"ctxt": 0
},
"value": "nt",
"optional": false
}
}
]
}
}
}
]
},
"definite": false
}
]
},
{
"type": "ReturnStatement",
"span": {
"start": 1830,
"end": 1839,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1837,
"end": 1838,
"ctxt": 0
},
"value": "o",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1676,
"end": 1702,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1678,
"end": 1702,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1680,
"end": 1690,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1680,
"end": 1681,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1681,
"end": 1689,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1683,
"end": 1689,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1691,
"end": 1700,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1691,
"end": 1692,
"ctxt": 0
},
"value": "y",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1692,
"end": 1700,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1694,
"end": 1700,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1851,
"end": 1874,
"ctxt": 0
},
"value": "conditionalSpreadString",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1875,
"end": 1885,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1875,
"end": 1885,
"ctxt": 0
},
"value": "st",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1877,
"end": 1885,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1879,
"end": 1885,
"ctxt": 0
},
"kind": "string"
}
}
}
}
],
"decorators": [],
"span": {
"start": 1842,
"end": 2053,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1913,
"end": 2053,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 1919,
"end": 1945,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1923,
"end": 1945,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1923,
"end": 1924,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1927,
"end": 1945,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1929,
"end": 1930,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 1932,
"end": 1936,
"ctxt": 0
},
"value": "hi",
"raw": "'hi'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1938,
"end": 1939,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1941,
"end": 1943,
"ctxt": 0
},
"value": 17.0,
"raw": "17"
}
}
]
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1950,
"end": 2002,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1950,
"end": 2002,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1950,
"end": 1951,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1954,
"end": 2002,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 1964,
"end": 1967,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 1967,
"end": 1968,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 1978,
"end": 1981,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 1981,
"end": 1996,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 1981,
"end": 1983,
"ctxt": 0
},
"value": "st",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1987,
"end": 1996,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1989,
"end": 1990,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 1992,
"end": 1994,
"ctxt": 0
},
"value": "st",
"optional": false
}
}
]
}
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2007,
"end": 2037,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2011,
"end": 2037,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2011,
"end": 2013,
"ctxt": 0
},
"value": "o2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2016,
"end": 2037,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2018,
"end": 2021,
"ctxt": 0
},
"arguments": {
"type": "BinaryExpression",
"span": {
"start": 2021,
"end": 2036,
"ctxt": 0
},
"operator": "&&",
"left": {
"type": "Identifier",
"span": {
"start": 2021,
"end": 2023,
"ctxt": 0
},
"value": "st",
"optional": false
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 2027,
"end": 2036,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2029,
"end": 2030,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 2032,
"end": 2034,
"ctxt": 0
},
"value": "st",
"optional": false
}
}
]
}
}
}
]
},
"definite": false
}
]
},
{
"type": "ReturnStatement",
"span": {
"start": 2042,
"end": 2051,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2049,
"end": 2050,
"ctxt": 0
},
"value": "o",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1886,
"end": 1912,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1888,
"end": 1912,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1890,
"end": 1900,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1890,
"end": 1891,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1891,
"end": 1899,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1893,
"end": 1899,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 1901,
"end": 1910,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1901,
"end": 1902,
"ctxt": 0
},
"value": "y",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1902,
"end": 1910,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1904,
"end": 1910,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2077,
"end": 2095,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2081,
"end": 2094,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2081,
"end": 2089,
"ctxt": 0
},
"value": "anything",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2089,
"end": 2094,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2091,
"end": 2094,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2096,
"end": 2128,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2100,
"end": 2127,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2100,
"end": 2109,
"ctxt": 0
},
"value": "spreadAny",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2112,
"end": 2127,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2114,
"end": 2117,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2117,
"end": 2125,
"ctxt": 0
},
"value": "anything",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2166,
"end": 2167,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 2160,
"end": 2186,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 2170,
"end": 2176,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2170,
"end": 2171,
"ctxt": 0
},
"value": "p",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 2174,
"end": 2175,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassMethod",
"span": {
"start": 2177,
"end": 2184,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2177,
"end": 2178,
"ctxt": 0
},
"value": "m",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 2177,
"end": 2184,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2181,
"end": 2184,
"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": 2187,
"end": 2205,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2191,
"end": 2205,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2191,
"end": 2192,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2192,
"end": 2195,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2194,
"end": 2195,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2194,
"end": 2195,
"ctxt": 0
},
"value": "C",
"optional": false
},
"typeParams": null
}
}
},
"init": {
"type": "NewExpression",
"span": {
"start": 2198,
"end": 2205,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2202,
"end": 2203,
"ctxt": 0
},
"value": "C",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2206,
"end": 2243,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2210,
"end": 2243,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2210,
"end": 2217,
"ctxt": 0
},
"value": "spreadC",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2217,
"end": 2232,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2219,
"end": 2232,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2221,
"end": 2230,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2221,
"end": 2222,
"ctxt": 0
},
"value": "p",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2222,
"end": 2230,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2224,
"end": 2230,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2235,
"end": 2243,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2237,
"end": 2240,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2240,
"end": 2241,
"ctxt": 0
},
"value": "c",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2275,
"end": 2356,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2279,
"end": 2355,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2279,
"end": 2284,
"ctxt": 0
},
"value": "cplus",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2284,
"end": 2313,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2286,
"end": 2313,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2288,
"end": 2298,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2288,
"end": 2289,
"ctxt": 0
},
"value": "p",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2289,
"end": 2297,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2291,
"end": 2297,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsMethodSignature",
"span": {
"start": 2299,
"end": 2311,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2299,
"end": 2303,
"ctxt": 0
},
"value": "plus",
"optional": false
},
"computed": false,
"optional": false,
"params": [],
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 2305,
"end": 2311,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2307,
"end": 2311,
"ctxt": 0
},
"kind": "void"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2316,
"end": 2355,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2318,
"end": 2321,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2321,
"end": 2322,
"ctxt": 0
},
"value": "c",
"optional": false
}
},
{
"type": "MethodProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2324,
"end": 2328,
"ctxt": 0
},
"value": "plus",
"optional": false
},
"params": [],
"decorators": [],
"span": {
"start": 2324,
"end": 2353,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2331,
"end": 2353,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 2333,
"end": 2351,
"ctxt": 0
},
"argument": {
"type": "BinaryExpression",
"span": {
"start": 2340,
"end": 2350,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "MemberExpression",
"span": {
"start": 2340,
"end": 2346,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2340,
"end": 2344,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2345,
"end": 2346,
"ctxt": 0
},
"value": "p",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 2349,
"end": 2350,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
]
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 2357,
"end": 2370,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2357,
"end": 2369,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 2357,
"end": 2367,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2357,
"end": 2362,
"ctxt": 0
},
"value": "cplus",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2363,
"end": 2367,
"ctxt": 0
},
"value": "plus",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2430,
"end": 2508,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2434,
"end": 2508,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2434,
"end": 2449,
"ctxt": 0
},
"value": "changeTypeAfter",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2449,
"end": 2475,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2451,
"end": 2475,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2453,
"end": 2463,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2453,
"end": 2454,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2454,
"end": 2462,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2456,
"end": 2462,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2464,
"end": 2473,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2464,
"end": 2465,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2465,
"end": 2473,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2467,
"end": 2473,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2482,
"end": 2508,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2484,
"end": 2487,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2487,
"end": 2488,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2490,
"end": 2491,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 2493,
"end": 2506,
"ctxt": 0
},
"value": "wrong type?",
"raw": "'wrong type?'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2509,
"end": 2578,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2513,
"end": 2577,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2513,
"end": 2527,
"ctxt": 0
},
"value": "changeTypeBoth",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2527,
"end": 2553,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2529,
"end": 2553,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2531,
"end": 2541,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2531,
"end": 2532,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2532,
"end": 2540,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2534,
"end": 2540,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 2542,
"end": 2551,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2542,
"end": 2543,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2543,
"end": 2551,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2545,
"end": 2551,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2560,
"end": 2577,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2562,
"end": 2565,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2565,
"end": 2566,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 2568,
"end": 2571,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2571,
"end": 2575,
"ctxt": 0
},
"value": "swap",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2601,
"end": 2610,
"ctxt": 0
},
"value": "container",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 2616,
"end": 2648,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2616,
"end": 2648,
"ctxt": 0
},
"value": "definiteBoolean",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2631,
"end": 2648,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2633,
"end": 2648,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2635,
"end": 2646,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2635,
"end": 2637,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2637,
"end": 2646,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2639,
"end": 2646,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 2654,
"end": 2684,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2654,
"end": 2684,
"ctxt": 0
},
"value": "definiteString",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2668,
"end": 2684,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2670,
"end": 2684,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2672,
"end": 2682,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2672,
"end": 2674,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2674,
"end": 2682,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2676,
"end": 2682,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 2690,
"end": 2721,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2690,
"end": 2721,
"ctxt": 0
},
"value": "optionalString",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2704,
"end": 2721,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2706,
"end": 2721,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2708,
"end": 2719,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2708,
"end": 2710,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": true,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2711,
"end": 2719,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2713,
"end": 2719,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 2727,
"end": 2758,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2727,
"end": 2758,
"ctxt": 0
},
"value": "optionalNumber",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2741,
"end": 2758,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2743,
"end": 2758,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2745,
"end": 2756,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2745,
"end": 2747,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": true,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2748,
"end": 2756,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2750,
"end": 2756,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 2592,
"end": 3398,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2760,
"end": 3398,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 2766,
"end": 2887,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2770,
"end": 2886,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2770,
"end": 2788,
"ctxt": 0
},
"value": "optionalUnionStops",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2788,
"end": 2823,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2790,
"end": 2823,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2792,
"end": 2821,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2792,
"end": 2794,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2794,
"end": 2821,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 2796,
"end": 2821,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 2796,
"end": 2802,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 2805,
"end": 2811,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 2814,
"end": 2821,
"ctxt": 0
},
"kind": "boolean"
}
]
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2826,
"end": 2886,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2828,
"end": 2831,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2831,
"end": 2846,
"ctxt": 0
},
"value": "definiteBoolean",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 2848,
"end": 2851,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2851,
"end": 2865,
"ctxt": 0
},
"value": "definiteString",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 2867,
"end": 2870,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2870,
"end": 2884,
"ctxt": 0
},
"value": "optionalNumber",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2892,
"end": 3027,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2896,
"end": 3026,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2896,
"end": 2919,
"ctxt": 0
},
"value": "optionalUnionDuplicates",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2919,
"end": 2944,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 2921,
"end": 2944,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 2923,
"end": 2942,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2923,
"end": 2925,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2925,
"end": 2942,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 2927,
"end": 2942,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 2927,
"end": 2933,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 2936,
"end": 2942,
"ctxt": 0
},
"kind": "number"
}
]
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 2947,
"end": 3026,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 2949,
"end": 2952,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2952,
"end": 2967,
"ctxt": 0
},
"value": "definiteBoolean",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 2969,
"end": 2972,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2972,
"end": 2986,
"ctxt": 0
},
"value": "definiteString",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 2988,
"end": 2991,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 2991,
"end": 3005,
"ctxt": 0
},
"value": "optionalString",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 3007,
"end": 3010,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3010,
"end": 3024,
"ctxt": 0
},
"value": "optionalNumber",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3032,
"end": 3117,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3036,
"end": 3116,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3036,
"end": 3047,
"ctxt": 0
},
"value": "allOptional",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3047,
"end": 3073,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3049,
"end": 3073,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3051,
"end": 3071,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3051,
"end": 3053,
"ctxt": 0
},
"value": "sn",
"optional": false
},
"computed": false,
"optional": true,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3054,
"end": 3071,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 3056,
"end": 3071,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 3056,
"end": 3062,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 3065,
"end": 3071,
"ctxt": 0
},
"kind": "number"
}
]
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 3076,
"end": 3116,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 3078,
"end": 3081,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3081,
"end": 3095,
"ctxt": 0
},
"value": "optionalString",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 3097,
"end": 3100,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3100,
"end": 3114,
"ctxt": 0
},
"value": "optionalNumber",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3148,
"end": 3276,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3152,
"end": 3276,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3152,
"end": 3165,
"ctxt": 0
},
"value": "computedFirst",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3165,
"end": 3220,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3167,
"end": 3220,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3169,
"end": 3179,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3169,
"end": 3170,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3170,
"end": 3178,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3172,
"end": 3178,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3180,
"end": 3190,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3180,
"end": 3181,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3181,
"end": 3189,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3183,
"end": 3189,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3191,
"end": 3218,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "StringLiteral",
"span": {
"start": 3191,
"end": 3210,
"ctxt": 0
},
"value": "before everything",
"raw": "\"before everything\""
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3210,
"end": 3218,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3212,
"end": 3218,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 3231,
"end": 3276,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Computed",
"span": {
"start": 3233,
"end": 3254,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 3234,
"end": 3253,
"ctxt": 0
},
"value": "before everything",
"raw": "'before everything'"
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 3256,
"end": 3258,
"ctxt": 0
},
"value": 12.0,
"raw": "12"
}
},
{
"type": "SpreadElement",
"spread": {
"start": 3260,
"end": 3263,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3263,
"end": 3264,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3266,
"end": 3267,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3269,
"end": 3274,
"ctxt": 0
},
"value": "yes",
"raw": "'yes'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3281,
"end": 3396,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3285,
"end": 3396,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3285,
"end": 3298,
"ctxt": 0
},
"value": "computedAfter",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3298,
"end": 3346,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3300,
"end": 3346,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3302,
"end": 3312,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3302,
"end": 3303,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3303,
"end": 3311,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3305,
"end": 3311,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3313,
"end": 3323,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3313,
"end": 3314,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3314,
"end": 3322,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3316,
"end": 3322,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3324,
"end": 3344,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "StringLiteral",
"span": {
"start": 3324,
"end": 3336,
"ctxt": 0
},
"value": "at the end",
"raw": "\"at the end\""
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3336,
"end": 3344,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3338,
"end": 3344,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 3357,
"end": 3396,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 3359,
"end": 3362,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3362,
"end": 3363,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3365,
"end": 3366,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3368,
"end": 3374,
"ctxt": 0
},
"value": "yeah",
"raw": "'yeah'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Computed",
"span": {
"start": 3376,
"end": 3390,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 3377,
"end": 3389,
"ctxt": 0
},
"value": "at the end",
"raw": "'at the end'"
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 3392,
"end": 3394,
"ctxt": 0
},
"value": 14.0,
"raw": "14"
}
}
]
},
"definite": false
}
]
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "VariableDeclaration",
"span": {
"start": 3418,
"end": 3429,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3422,
"end": 3428,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3422,
"end": 3423,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 3426,
"end": 3428,
"ctxt": 0
},
"value": 12.0,
"raw": "12"
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3430,
"end": 3485,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3434,
"end": 3485,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3434,
"end": 3445,
"ctxt": 0
},
"value": "shortCutted",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3445,
"end": 3471,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3447,
"end": 3471,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3449,
"end": 3459,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3449,
"end": 3450,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3450,
"end": 3458,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3452,
"end": 3458,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3460,
"end": 3469,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3460,
"end": 3461,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3461,
"end": 3469,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3463,
"end": 3469,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 3474,
"end": 3485,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 3476,
"end": 3479,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3479,
"end": 3480,
"ctxt": 0
},
"value": "o",
"optional": false
}
},
{
"type": "Identifier",
"span": {
"start": 3482,
"end": 3483,
"ctxt": 0
},
"value": "a",
"optional": false
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3503,
"end": 3545,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3507,
"end": 3544,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3507,
"end": 3525,
"ctxt": 0
},
"value": "spreadNonPrimitive",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 3528,
"end": 3544,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 3530,
"end": 3533,
"ctxt": 0
},
"arguments": {
"type": "TsTypeAssertion",
"span": {
"start": 3533,
"end": 3543,
"ctxt": 0
},
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3541,
"end": 3543,
"ctxt": 0
},
"properties": []
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3534,
"end": 3540,
"ctxt": 0
},
"kind": "object"
}
}
}
]
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 3576,
"end": 3577,
"ctxt": 0
},
"value": "f",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 3584,
"end": 3588,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 3584,
"end": 3588,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3585,
"end": 3588,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3587,
"end": 3588,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3587,
"end": 3588,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 3590,
"end": 3594,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 3590,
"end": 3594,
"ctxt": 0
},
"value": "u",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3591,
"end": 3594,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3593,
"end": 3594,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3593,
"end": 3594,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 3567,
"end": 3636,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3596,
"end": 3636,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 3602,
"end": 3634,
"ctxt": 0
},
"argument": {
"type": "ObjectExpression",
"span": {
"start": 3609,
"end": 3633,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 3611,
"end": 3614,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3614,
"end": 3615,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 3617,
"end": 3620,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 3620,
"end": 3621,
"ctxt": 0
},
"value": "u",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3623,
"end": 3625,
"ctxt": 0
},
"value": "id",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3627,
"end": 3631,
"ctxt": 0
},
"value": "id",
"raw": "'id'"
}
}
]
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3577,
"end": 3583,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3578,
"end": 3579,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3578,
"end": 3579,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 3581,
"end": 3582,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3581,
"end": 3582,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
{
"type": "VariableDeclaration",
"span": {
"start": 3638,
"end": 3763,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3642,
"end": 3763,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3642,
"end": 3651,
"ctxt": 0
},
"value": "exclusive",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3651,
"end": 3712,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3653,
"end": 3712,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3655,
"end": 3666,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3655,
"end": 3657,
"ctxt": 0
},
"value": "id",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3657,
"end": 3665,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3659,
"end": 3665,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3667,
"end": 3677,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3667,
"end": 3668,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3668,
"end": 3676,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3670,
"end": 3676,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3678,
"end": 3688,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3678,
"end": 3679,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3679,
"end": 3687,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3681,
"end": 3687,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3689,
"end": 3699,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3689,
"end": 3690,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3690,
"end": 3698,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3692,
"end": 3698,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3700,
"end": 3710,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3700,
"end": 3701,
"ctxt": 0
},
"value": "d",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3701,
"end": 3710,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3703,
"end": 3710,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "CallExpression",
"span": {
"start": 3719,
"end": 3763,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3719,
"end": 3720,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3721,
"end": 3739,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3723,
"end": 3724,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 3726,
"end": 3727,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3729,
"end": 3730,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3732,
"end": 3737,
"ctxt": 0
},
"value": "yes",
"raw": "'yes'"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3741,
"end": 3762,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3743,
"end": 3744,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3746,
"end": 3750,
"ctxt": 0
},
"value": "no",
"raw": "'no'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3752,
"end": 3753,
"ctxt": 0
},
"value": "d",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 3755,
"end": 3760,
"ctxt": 0
},
"value": false
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3764,
"end": 3853,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3768,
"end": 3853,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3768,
"end": 3775,
"ctxt": 0
},
"value": "overlap",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3775,
"end": 3813,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3777,
"end": 3813,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3779,
"end": 3790,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3779,
"end": 3781,
"ctxt": 0
},
"value": "id",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3781,
"end": 3789,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3783,
"end": 3789,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3791,
"end": 3801,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3791,
"end": 3792,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3792,
"end": 3800,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3794,
"end": 3800,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3802,
"end": 3811,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3802,
"end": 3803,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3803,
"end": 3811,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3805,
"end": 3811,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "CallExpression",
"span": {
"start": 3820,
"end": 3853,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3820,
"end": 3821,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3822,
"end": 3830,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3824,
"end": 3825,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 3827,
"end": 3828,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3832,
"end": 3852,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3834,
"end": 3835,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 3837,
"end": 3838,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3840,
"end": 3841,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3843,
"end": 3850,
"ctxt": 0
},
"value": "extra",
"raw": "'extra'"
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3854,
"end": 3936,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3858,
"end": 3936,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3858,
"end": 3873,
"ctxt": 0
},
"value": "overlapConflict",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3873,
"end": 3899,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3875,
"end": 3899,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3877,
"end": 3887,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3877,
"end": 3879,
"ctxt": 0
},
"value": "id",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3879,
"end": 3886,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3880,
"end": 3886,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3888,
"end": 3897,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3888,
"end": 3889,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3889,
"end": 3897,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3891,
"end": 3897,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "CallExpression",
"span": {
"start": 3906,
"end": 3936,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 3906,
"end": 3907,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3908,
"end": 3916,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3910,
"end": 3911,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 3913,
"end": 3914,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 3918,
"end": 3935,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3920,
"end": 3921,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 3923,
"end": 3933,
"ctxt": 0
},
"value": "mismatch",
"raw": "'mismatch'"
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3937,
"end": 4048,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3941,
"end": 4048,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3941,
"end": 3952,
"ctxt": 0
},
"value": "overwriteId",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3952,
"end": 4001,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3954,
"end": 4001,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3956,
"end": 3967,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3956,
"end": 3958,
"ctxt": 0
},
"value": "id",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3958,
"end": 3966,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3960,
"end": 3966,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3968,
"end": 3978,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3968,
"end": 3969,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3969,
"end": 3977,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3971,
"end": 3977,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3979,
"end": 3989,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3979,
"end": 3980,
"ctxt": 0
},
"value": "c",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3980,
"end": 3988,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3982,
"end": 3988,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 3990,
"end": 3999,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3990,
"end": 3991,
"ctxt": 0
},
"value": "d",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3991,
"end": 3999,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3993,
"end": 3999,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": {
"type": "CallExpression",
"span": {
"start": 4008,
"end": 4048,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4008,
"end": 4009,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 4010,
"end": 4028,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4012,
"end": 4013,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4015,
"end": 4016,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4018,
"end": 4020,
"ctxt": 0
},
"value": "id",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 4022,
"end": 4026,
"ctxt": 0
},
"value": true
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 4030,
"end": 4047,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4032,
"end": 4033,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4035,
"end": 4036,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4038,
"end": 4039,
"ctxt": 0
},
"value": "d",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 4041,
"end": 4045,
"ctxt": 0
},
"value": "no",
"raw": "'no'"
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 4059,
"end": 4072,
"ctxt": 0
},
"value": "genericSpread",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 4079,
"end": 4083,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4079,
"end": 4083,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4080,
"end": 4083,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4082,
"end": 4083,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4082,
"end": 4083,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4085,
"end": 4089,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4085,
"end": 4089,
"ctxt": 0
},
"value": "u",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4086,
"end": 4089,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4088,
"end": 4089,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4088,
"end": 4089,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4091,
"end": 4099,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4091,
"end": 4099,
"ctxt": 0
},
"value": "v",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4092,
"end": 4099,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 4094,
"end": 4099,
"ctxt": 0
},
"types": [
{
"type": "TsTypeReference",
"span": {
"start": 4094,
"end": 4095,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4094,
"end": 4095,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
{
"type": "TsTypeReference",
"span": {
"start": 4098,
"end": 4099,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4098,
"end": 4099,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4101,
"end": 4121,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4101,
"end": 4121,
"ctxt": 0
},
"value": "w",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4102,
"end": 4121,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 4104,
"end": 4121,
"ctxt": 0
},
"types": [
{
"type": "TsTypeReference",
"span": {
"start": 4104,
"end": 4105,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4104,
"end": 4105,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
{
"type": "TsTypeLiteral",
"span": {
"start": 4108,
"end": 4121,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 4110,
"end": 4119,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 4110,
"end": 4111,
"ctxt": 0
},
"value": "s",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4111,
"end": 4119,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4113,
"end": 4119,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4123,
"end": 4141,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4123,
"end": 4141,
"ctxt": 0
},
"value": "obj",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4126,
"end": 4141,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 4128,
"end": 4141,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 4130,
"end": 4139,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 4130,
"end": 4131,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4131,
"end": 4139,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4133,
"end": 4139,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 4050,
"end": 4749,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 4143,
"end": 4749,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 4149,
"end": 4168,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4153,
"end": 4167,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4153,
"end": 4156,
"ctxt": 0
},
"value": "x01",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4159,
"end": 4167,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4161,
"end": 4164,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4164,
"end": 4165,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4173,
"end": 4198,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4177,
"end": 4197,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4177,
"end": 4180,
"ctxt": 0
},
"value": "x02",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4183,
"end": 4197,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4185,
"end": 4188,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4188,
"end": 4189,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4191,
"end": 4194,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4194,
"end": 4195,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4203,
"end": 4228,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4207,
"end": 4227,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4207,
"end": 4210,
"ctxt": 0
},
"value": "x03",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4213,
"end": 4227,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4215,
"end": 4218,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4218,
"end": 4219,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4221,
"end": 4224,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4224,
"end": 4225,
"ctxt": 0
},
"value": "u",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4233,
"end": 4258,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4237,
"end": 4257,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4237,
"end": 4240,
"ctxt": 0
},
"value": "x04",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4243,
"end": 4257,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4245,
"end": 4248,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4248,
"end": 4249,
"ctxt": 0
},
"value": "u",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4251,
"end": 4254,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4254,
"end": 4255,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4263,
"end": 4297,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4267,
"end": 4296,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4267,
"end": 4270,
"ctxt": 0
},
"value": "x05",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4273,
"end": 4296,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4275,
"end": 4276,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4278,
"end": 4279,
"ctxt": 0
},
"value": 5.0,
"raw": "5"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4281,
"end": 4282,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 4284,
"end": 4288,
"ctxt": 0
},
"value": "hi",
"raw": "'hi'"
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4290,
"end": 4293,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4293,
"end": 4294,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4302,
"end": 4336,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4306,
"end": 4335,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4306,
"end": 4309,
"ctxt": 0
},
"value": "x06",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4312,
"end": 4335,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4314,
"end": 4317,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4317,
"end": 4318,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4320,
"end": 4321,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4323,
"end": 4324,
"ctxt": 0
},
"value": 5.0,
"raw": "5"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4326,
"end": 4327,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 4329,
"end": 4333,
"ctxt": 0
},
"value": "hi",
"raw": "'hi'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4341,
"end": 4392,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4345,
"end": 4391,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4345,
"end": 4348,
"ctxt": 0
},
"value": "x07",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4351,
"end": 4391,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4353,
"end": 4354,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4356,
"end": 4357,
"ctxt": 0
},
"value": 5.0,
"raw": "5"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4359,
"end": 4360,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 4362,
"end": 4366,
"ctxt": 0
},
"value": "hi",
"raw": "'hi'"
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4368,
"end": 4371,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4371,
"end": 4372,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4374,
"end": 4375,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 4377,
"end": 4381,
"ctxt": 0
},
"value": true
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4383,
"end": 4386,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4386,
"end": 4389,
"ctxt": 0
},
"value": "obj",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4397,
"end": 4448,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4401,
"end": 4447,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4401,
"end": 4404,
"ctxt": 0
},
"value": "x09",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4407,
"end": 4447,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4409,
"end": 4410,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4412,
"end": 4413,
"ctxt": 0
},
"value": 5.0,
"raw": "5"
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4415,
"end": 4418,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4418,
"end": 4419,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4421,
"end": 4422,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 4424,
"end": 4428,
"ctxt": 0
},
"value": "hi",
"raw": "'hi'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4430,
"end": 4431,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 4433,
"end": 4437,
"ctxt": 0
},
"value": true
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4439,
"end": 4442,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4442,
"end": 4445,
"ctxt": 0
},
"value": "obj",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4453,
"end": 4501,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4457,
"end": 4500,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4457,
"end": 4460,
"ctxt": 0
},
"value": "x10",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4463,
"end": 4500,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4465,
"end": 4466,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 4468,
"end": 4469,
"ctxt": 0
},
"value": 5.0,
"raw": "5"
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4471,
"end": 4474,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4474,
"end": 4475,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4477,
"end": 4478,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 4480,
"end": 4484,
"ctxt": 0
},
"value": "hi",
"raw": "'hi'"
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4486,
"end": 4489,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4489,
"end": 4490,
"ctxt": 0
},
"value": "u",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4492,
"end": 4495,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4495,
"end": 4498,
"ctxt": 0
},
"value": "obj",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4506,
"end": 4525,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4510,
"end": 4524,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4510,
"end": 4513,
"ctxt": 0
},
"value": "x11",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4516,
"end": 4524,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4518,
"end": 4521,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4521,
"end": 4522,
"ctxt": 0
},
"value": "v",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4530,
"end": 4557,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4534,
"end": 4556,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4534,
"end": 4537,
"ctxt": 0
},
"value": "x12",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4540,
"end": 4556,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4542,
"end": 4545,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4545,
"end": 4546,
"ctxt": 0
},
"value": "v",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4548,
"end": 4551,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4551,
"end": 4554,
"ctxt": 0
},
"value": "obj",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4562,
"end": 4581,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4566,
"end": 4580,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4566,
"end": 4569,
"ctxt": 0
},
"value": "x13",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4572,
"end": 4580,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4574,
"end": 4577,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4577,
"end": 4578,
"ctxt": 0
},
"value": "w",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4586,
"end": 4613,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4590,
"end": 4612,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4590,
"end": 4593,
"ctxt": 0
},
"value": "x14",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4596,
"end": 4612,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4598,
"end": 4601,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4601,
"end": 4602,
"ctxt": 0
},
"value": "w",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4604,
"end": 4607,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4607,
"end": 4610,
"ctxt": 0
},
"value": "obj",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4618,
"end": 4643,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4622,
"end": 4642,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4622,
"end": 4625,
"ctxt": 0
},
"value": "x15",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4628,
"end": 4642,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4630,
"end": 4633,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4633,
"end": 4634,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4636,
"end": 4639,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4639,
"end": 4640,
"ctxt": 0
},
"value": "v",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4648,
"end": 4673,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4652,
"end": 4672,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4652,
"end": 4655,
"ctxt": 0
},
"value": "x16",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4658,
"end": 4672,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4660,
"end": 4663,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4663,
"end": 4664,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4666,
"end": 4669,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4669,
"end": 4670,
"ctxt": 0
},
"value": "w",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4678,
"end": 4711,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4682,
"end": 4710,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4682,
"end": 4685,
"ctxt": 0
},
"value": "x17",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4688,
"end": 4710,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4690,
"end": 4693,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4693,
"end": 4694,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4696,
"end": 4699,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4699,
"end": 4700,
"ctxt": 0
},
"value": "w",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4702,
"end": 4705,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4705,
"end": 4708,
"ctxt": 0
},
"value": "obj",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4716,
"end": 4747,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4720,
"end": 4746,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4720,
"end": 4723,
"ctxt": 0
},
"value": "x18",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 4726,
"end": 4746,
"ctxt": 0
},
"properties": [
{
"type": "SpreadElement",
"spread": {
"start": 4728,
"end": 4731,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4731,
"end": 4732,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4734,
"end": 4737,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4737,
"end": 4738,
"ctxt": 0
},
"value": "v",
"optional": false
}
},
{
"type": "SpreadElement",
"spread": {
"start": 4740,
"end": 4743,
"ctxt": 0
},
"arguments": {
"type": "Identifier",
"span": {
"start": 4743,
"end": 4744,
"ctxt": 0
},
"value": "w",
"optional": false
}
}
]
},
"definite": false
}
]
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4072,
"end": 4078,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4073,
"end": 4074,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4073,
"end": 4074,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 4076,
"end": 4077,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4076,
"end": 4077,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
}
],
"interpreter": null
}