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

29122 lines
766 KiB
JSON

{
"type": "Script",
"span": {
"start": 70,
"end": 13164,
"ctxt": 0
},
"body": [
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 70,
"end": 117,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 75,
"end": 78,
"ctxt": 0
},
"value": "TV0",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 78,
"end": 99,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 79,
"end": 98,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 79,
"end": 80,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 89,
"end": 98,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 89,
"end": 96,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 102,
"end": 116,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 103,
"end": 109,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 103,
"end": 109,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 111,
"end": 115,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 111,
"end": 115,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 114,
"end": 115,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 114,
"end": 115,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 118,
"end": 173,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 123,
"end": 126,
"ctxt": 0
},
"value": "TV1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 126,
"end": 147,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 127,
"end": 146,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 127,
"end": 128,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 137,
"end": 146,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 137,
"end": 144,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 150,
"end": 172,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 151,
"end": 157,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 151,
"end": 157,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 159,
"end": 163,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 159,
"end": 163,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 162,
"end": 163,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 162,
"end": 163,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 165,
"end": 171,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 165,
"end": 171,
"ctxt": 0
},
"kind": "number"
}
}
]
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 174,
"end": 235,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 179,
"end": 182,
"ctxt": 0
},
"value": "TV2",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 182,
"end": 203,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 183,
"end": 202,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 183,
"end": 184,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 193,
"end": 202,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 193,
"end": 200,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 206,
"end": 234,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 207,
"end": 213,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 207,
"end": 213,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 215,
"end": 219,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 215,
"end": 219,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 218,
"end": 219,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 218,
"end": 219,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 221,
"end": 227,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 221,
"end": 227,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 229,
"end": 233,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 229,
"end": 233,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 232,
"end": 233,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 232,
"end": 233,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 236,
"end": 302,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 241,
"end": 244,
"ctxt": 0
},
"value": "TV3",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 244,
"end": 265,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 245,
"end": 264,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 245,
"end": 246,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 255,
"end": 264,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 255,
"end": 262,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 268,
"end": 301,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 269,
"end": 275,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 269,
"end": 275,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 277,
"end": 281,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 277,
"end": 281,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 280,
"end": 281,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 280,
"end": 281,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 283,
"end": 294,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 283,
"end": 294,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 286,
"end": 294,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 286,
"end": 292,
"ctxt": 0
},
"kind": "number"
}
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 296,
"end": 300,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 296,
"end": 300,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 299,
"end": 300,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 299,
"end": 300,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 322,
"end": 356,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 327,
"end": 330,
"ctxt": 0
},
"value": "TN1",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 333,
"end": 355,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 333,
"end": 336,
"ctxt": 0
},
"value": "TV1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 336,
"end": 355,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 337,
"end": 354,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 338,
"end": 345,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 338,
"end": 345,
"ctxt": 0
},
"kind": "boolean"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 347,
"end": 353,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 347,
"end": 353,
"ctxt": 0
},
"kind": "string"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 357,
"end": 376,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 362,
"end": 365,
"ctxt": 0
},
"value": "TN2",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 368,
"end": 375,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 368,
"end": 371,
"ctxt": 0
},
"value": "TV1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 371,
"end": 375,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 372,
"end": 374,
"ctxt": 0
},
"elemTypes": []
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 377,
"end": 404,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 382,
"end": 385,
"ctxt": 0
},
"value": "TN3",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 388,
"end": 403,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 388,
"end": 391,
"ctxt": 0
},
"value": "TV1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 391,
"end": 403,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 392,
"end": 402,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 393,
"end": 401,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsOptionalType",
"span": {
"start": 393,
"end": 401,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 393,
"end": 400,
"ctxt": 0
},
"kind": "boolean"
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 405,
"end": 430,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 410,
"end": 413,
"ctxt": 0
},
"value": "TN4",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 416,
"end": 429,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 416,
"end": 419,
"ctxt": 0
},
"value": "TV1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 419,
"end": 429,
"ctxt": 0
},
"params": [
{
"type": "TsArrayType",
"span": {
"start": 420,
"end": 428,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 420,
"end": 426,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 431,
"end": 476,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 436,
"end": 439,
"ctxt": 0
},
"value": "TN5",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 442,
"end": 475,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 442,
"end": 445,
"ctxt": 0
},
"value": "TV1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 445,
"end": 475,
"ctxt": 0
},
"params": [
{
"type": "TsUnionType",
"span": {
"start": 446,
"end": 474,
"ctxt": 0
},
"types": [
{
"type": "TsTupleType",
"span": {
"start": 446,
"end": 455,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 447,
"end": 454,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 447,
"end": 454,
"ctxt": 0
},
"kind": "boolean"
}
}
]
},
{
"type": "TsTupleType",
"span": {
"start": 458,
"end": 474,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 459,
"end": 465,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 459,
"end": 465,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 467,
"end": 473,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 467,
"end": 473,
"ctxt": 0
},
"kind": "symbol"
}
}
]
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 477,
"end": 497,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 482,
"end": 485,
"ctxt": 0
},
"value": "TN6",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 488,
"end": 496,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 488,
"end": 491,
"ctxt": 0
},
"value": "TV1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 491,
"end": 496,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 492,
"end": 495,
"ctxt": 0
},
"kind": "any"
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 498,
"end": 520,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 503,
"end": 506,
"ctxt": 0
},
"value": "TN7",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 509,
"end": 519,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 509,
"end": 512,
"ctxt": 0
},
"value": "TV1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 512,
"end": 519,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 513,
"end": 518,
"ctxt": 0
},
"kind": "never"
}
]
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 563,
"end": 567,
"ctxt": 0
},
"value": "tup2",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 610,
"end": 619,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 610,
"end": 619,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 611,
"end": 619,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 613,
"end": 619,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 614,
"end": 618,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 614,
"end": 618,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 617,
"end": 618,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 617,
"end": 618,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 621,
"end": 630,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 621,
"end": 630,
"ctxt": 0
},
"value": "u",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 622,
"end": 630,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 624,
"end": 630,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 625,
"end": 629,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 625,
"end": 629,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 628,
"end": 629,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 628,
"end": 629,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 554,
"end": 678,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 632,
"end": 678,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 638,
"end": 676,
"ctxt": 0
},
"argument": {
"type": "TsConstAssertion",
"span": {
"start": 645,
"end": 675,
"ctxt": 0
},
"expression": {
"type": "ArrayExpression",
"span": {
"start": 645,
"end": 666,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 646,
"end": 647,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": {
"start": 649,
"end": 652,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 652,
"end": 653,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 655,
"end": 656,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": {
"start": 658,
"end": 661,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 661,
"end": 662,
"ctxt": 0
},
"value": "u",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 664,
"end": 665,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 567,
"end": 609,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 568,
"end": 587,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 568,
"end": 569,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 578,
"end": 587,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 578,
"end": 585,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 589,
"end": 608,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 589,
"end": 590,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 599,
"end": 608,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 599,
"end": 606,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": null
},
{
"type": "VariableDeclaration",
"span": {
"start": 680,
"end": 719,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 686,
"end": 718,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 686,
"end": 688,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 691,
"end": 718,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 691,
"end": 695,
"ctxt": 0
},
"value": "tup2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 696,
"end": 705,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 697,
"end": 704,
"ctxt": 0
},
"value": "hello",
"raw": "'hello'"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 707,
"end": 717,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 708,
"end": 710,
"ctxt": 0
},
"value": 10.0,
"raw": "10"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 712,
"end": 716,
"ctxt": 0
},
"value": true
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 730,
"end": 736,
"ctxt": 0
},
"value": "concat",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 779,
"end": 788,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 779,
"end": 788,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 780,
"end": 788,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 782,
"end": 788,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 783,
"end": 787,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 783,
"end": 787,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 786,
"end": 787,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 786,
"end": 787,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 790,
"end": 799,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 790,
"end": 799,
"ctxt": 0
},
"value": "u",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 791,
"end": 799,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 793,
"end": 799,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 794,
"end": 798,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 794,
"end": 798,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 797,
"end": 798,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 797,
"end": 798,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 721,
"end": 843,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 815,
"end": 843,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 821,
"end": 841,
"ctxt": 0
},
"argument": {
"type": "ArrayExpression",
"span": {
"start": 828,
"end": 840,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 829,
"end": 832,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 832,
"end": 833,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"spread": {
"start": 835,
"end": 838,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 838,
"end": 839,
"ctxt": 0
},
"value": "u",
"optional": false
}
}
]
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 736,
"end": 778,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 737,
"end": 756,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 737,
"end": 738,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 747,
"end": 756,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 747,
"end": 754,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 758,
"end": 777,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 758,
"end": 759,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 768,
"end": 777,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 768,
"end": 775,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 800,
"end": 814,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 802,
"end": 814,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 803,
"end": 807,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 803,
"end": 807,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 806,
"end": 807,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 806,
"end": 807,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 809,
"end": 813,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 809,
"end": 813,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 812,
"end": 813,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 812,
"end": 813,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 845,
"end": 872,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 859,
"end": 871,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 859,
"end": 861,
"ctxt": 0
},
"value": "sa",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 861,
"end": 871,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 863,
"end": 871,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 863,
"end": 869,
"ctxt": 0
},
"kind": "string"
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 874,
"end": 901,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 880,
"end": 900,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 880,
"end": 883,
"ctxt": 0
},
"value": "tc1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 886,
"end": 900,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 886,
"end": 892,
"ctxt": 0
},
"value": "concat",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 893,
"end": 895,
"ctxt": 0
},
"elements": []
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 897,
"end": 899,
"ctxt": 0
},
"elements": []
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 902,
"end": 938,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 908,
"end": 937,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 908,
"end": 911,
"ctxt": 0
},
"value": "tc2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 914,
"end": 937,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 914,
"end": 920,
"ctxt": 0
},
"value": "concat",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 921,
"end": 930,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 922,
"end": 929,
"ctxt": 0
},
"value": "hello",
"raw": "'hello'"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 932,
"end": 936,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 933,
"end": 935,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 939,
"end": 973,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 945,
"end": 972,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 945,
"end": 948,
"ctxt": 0
},
"value": "tc3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 951,
"end": 972,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 951,
"end": 957,
"ctxt": 0
},
"value": "concat",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 958,
"end": 967,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 959,
"end": 960,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 962,
"end": 963,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 965,
"end": 966,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 969,
"end": 971,
"ctxt": 0
},
"value": "sa",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 974,
"end": 1008,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 980,
"end": 1007,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 980,
"end": 983,
"ctxt": 0
},
"value": "tc4",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 986,
"end": 1007,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 986,
"end": 992,
"ctxt": 0
},
"value": "concat",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 993,
"end": 995,
"ctxt": 0
},
"value": "sa",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 997,
"end": 1006,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 998,
"end": 999,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1001,
"end": 1002,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1004,
"end": 1005,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1078,
"end": 1085,
"ctxt": 0
},
"value": "concat2",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1146,
"end": 1150,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1146,
"end": 1150,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1147,
"end": 1150,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1149,
"end": 1150,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1149,
"end": 1150,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 1152,
"end": 1156,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1152,
"end": 1156,
"ctxt": 0
},
"value": "u",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1153,
"end": 1156,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1155,
"end": 1156,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1155,
"end": 1156,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 1069,
"end": 1216,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1158,
"end": 1216,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1164,
"end": 1184,
"ctxt": 0
},
"argument": {
"type": "ArrayExpression",
"span": {
"start": 1171,
"end": 1183,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 1172,
"end": 1175,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1175,
"end": 1176,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"spread": {
"start": 1178,
"end": 1181,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1181,
"end": 1182,
"ctxt": 0
},
"value": "u",
"optional": false
}
}
]
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1085,
"end": 1145,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1086,
"end": 1114,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1086,
"end": 1087,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeOperator",
"span": {
"start": 1096,
"end": 1114,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1105,
"end": 1114,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1105,
"end": 1112,
"ctxt": 0
},
"kind": "unknown"
}
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 1116,
"end": 1144,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1116,
"end": 1117,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeOperator",
"span": {
"start": 1126,
"end": 1144,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1135,
"end": 1144,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1135,
"end": 1142,
"ctxt": 0
},
"kind": "unknown"
}
}
},
"default": null
}
]
},
"returnType": null
},
{
"type": "VariableDeclaration",
"span": {
"start": 1218,
"end": 1278,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1224,
"end": 1277,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1224,
"end": 1227,
"ctxt": 0
},
"value": "tc5",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 1230,
"end": 1277,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1230,
"end": 1237,
"ctxt": 0
},
"value": "concat2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "TsConstAssertion",
"span": {
"start": 1238,
"end": 1256,
"ctxt": 0
},
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1238,
"end": 1247,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1239,
"end": 1240,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1242,
"end": 1243,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1245,
"end": 1246,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
}
},
{
"spread": null,
"expression": {
"type": "TsConstAssertion",
"span": {
"start": 1258,
"end": 1276,
"ctxt": 0
},
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1258,
"end": 1267,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1259,
"end": 1260,
"ctxt": 0
},
"value": 4.0,
"raw": "4"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1262,
"end": 1263,
"ctxt": 0
},
"value": 5.0,
"raw": "5"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1265,
"end": 1266,
"ctxt": 0
},
"value": 6.0,
"raw": "6"
}
}
]
}
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1348,
"end": 1352,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1353,
"end": 1362,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1353,
"end": 1362,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1354,
"end": 1362,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1356,
"end": 1362,
"ctxt": 0
},
"kind": "number"
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 1364,
"end": 1373,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1364,
"end": 1373,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1365,
"end": 1373,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1367,
"end": 1373,
"ctxt": 0
},
"kind": "string"
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 1375,
"end": 1385,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1375,
"end": 1385,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1376,
"end": 1385,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1378,
"end": 1385,
"ctxt": 0
},
"kind": "boolean"
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 1387,
"end": 1401,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "RestElement",
"span": {
"start": 1387,
"end": 1401,
"ctxt": 0
},
"rest": {
"start": 1387,
"end": 1390,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1390,
"end": 1391,
"ctxt": 0
},
"value": "d",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1391,
"end": 1401,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1393,
"end": 1401,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1393,
"end": 1399,
"ctxt": 0
},
"kind": "number"
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 1331,
"end": 1409,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1402,
"end": 1408,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1404,
"end": 1408,
"ctxt": 0
},
"kind": "void"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1420,
"end": 1424,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1425,
"end": 1445,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1425,
"end": 1445,
"ctxt": 0
},
"value": "t1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1427,
"end": 1445,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 1429,
"end": 1445,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1430,
"end": 1436,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1430,
"end": 1436,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1438,
"end": 1444,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1438,
"end": 1444,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 1447,
"end": 1460,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1447,
"end": 1460,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1449,
"end": 1460,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 1451,
"end": 1460,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1452,
"end": 1459,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1452,
"end": 1459,
"ctxt": 0
},
"kind": "boolean"
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 1462,
"end": 1474,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1462,
"end": 1474,
"ctxt": 0
},
"value": "a1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1464,
"end": 1474,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 1466,
"end": 1474,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1466,
"end": 1472,
"ctxt": 0
},
"kind": "number"
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 1411,
"end": 1677,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1476,
"end": 1677,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1482,
"end": 1515,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1482,
"end": 1514,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1482,
"end": 1486,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1487,
"end": 1488,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1490,
"end": 1495,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1497,
"end": 1501,
"ctxt": 0
},
"value": true
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1503,
"end": 1505,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1507,
"end": 1509,
"ctxt": 0
},
"value": 43.0,
"raw": "43"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1511,
"end": 1513,
"ctxt": 0
},
"value": 44.0,
"raw": "44"
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1520,
"end": 1550,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1520,
"end": 1549,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1520,
"end": 1524,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"arguments": [
{
"spread": {
"start": 1525,
"end": 1528,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1528,
"end": 1530,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1532,
"end": 1536,
"ctxt": 0
},
"value": true
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1538,
"end": 1540,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1542,
"end": 1544,
"ctxt": 0
},
"value": 43.0,
"raw": "43"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1546,
"end": 1548,
"ctxt": 0
},
"value": 44.0,
"raw": "44"
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1555,
"end": 1586,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1555,
"end": 1585,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1555,
"end": 1559,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"arguments": [
{
"spread": {
"start": 1560,
"end": 1563,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1563,
"end": 1565,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"spread": {
"start": 1567,
"end": 1570,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1570,
"end": 1572,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1574,
"end": 1576,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1578,
"end": 1580,
"ctxt": 0
},
"value": 43.0,
"raw": "43"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1582,
"end": 1584,
"ctxt": 0
},
"value": 44.0,
"raw": "44"
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1591,
"end": 1617,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1591,
"end": 1616,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1591,
"end": 1595,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"arguments": [
{
"spread": {
"start": 1596,
"end": 1599,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1599,
"end": 1601,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"spread": {
"start": 1603,
"end": 1606,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1606,
"end": 1608,
"ctxt": 0
},
"value": "t2",
"optional": false
}
},
{
"spread": {
"start": 1610,
"end": 1613,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1613,
"end": 1615,
"ctxt": 0
},
"value": "a1",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1622,
"end": 1634,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1622,
"end": 1633,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1622,
"end": 1626,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"arguments": [
{
"spread": {
"start": 1627,
"end": 1630,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1630,
"end": 1632,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1649,
"end": 1665,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1649,
"end": 1664,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1649,
"end": 1653,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"arguments": [
{
"spread": {
"start": 1654,
"end": 1657,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1657,
"end": 1659,
"ctxt": 0
},
"value": "t1",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1661,
"end": 1663,
"ctxt": 0
},
"value": 45.0,
"raw": "45"
}
}
],
"typeArguments": null
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1696,
"end": 1700,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1722,
"end": 1731,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1722,
"end": 1731,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1723,
"end": 1731,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1725,
"end": 1731,
"ctxt": 0
},
"kind": "number"
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 1733,
"end": 1756,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "RestElement",
"span": {
"start": 1733,
"end": 1756,
"ctxt": 0
},
"rest": {
"start": 1733,
"end": 1736,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1736,
"end": 1740,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1740,
"end": 1756,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 1742,
"end": 1756,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1743,
"end": 1747,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 1743,
"end": 1747,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1746,
"end": 1747,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1746,
"end": 1747,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1749,
"end": 1755,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1749,
"end": 1755,
"ctxt": 0
},
"kind": "number"
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 1679,
"end": 1761,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1700,
"end": 1721,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1701,
"end": 1720,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1701,
"end": 1702,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 1711,
"end": 1720,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1711,
"end": 1718,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1757,
"end": 1760,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1759,
"end": 1760,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1759,
"end": 1760,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1772,
"end": 1776,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1798,
"end": 1802,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1798,
"end": 1802,
"ctxt": 0
},
"value": "u",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1799,
"end": 1802,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1801,
"end": 1802,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1801,
"end": 1802,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 1763,
"end": 1895,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1804,
"end": 1895,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1810,
"end": 1821,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1810,
"end": 1820,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1810,
"end": 1814,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1815,
"end": 1816,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1818,
"end": 1819,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1826,
"end": 1852,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1826,
"end": 1851,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1826,
"end": 1830,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1831,
"end": 1832,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1834,
"end": 1841,
"ctxt": 0
},
"value": "hello",
"raw": "'hello'"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1843,
"end": 1847,
"ctxt": 0
},
"value": true
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1849,
"end": 1850,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1857,
"end": 1880,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1857,
"end": 1879,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1857,
"end": 1861,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1862,
"end": 1863,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": {
"start": 1865,
"end": 1868,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1868,
"end": 1869,
"ctxt": 0
},
"value": "u",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1871,
"end": 1875,
"ctxt": 0
},
"value": "hi",
"raw": "'hi'"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1877,
"end": 1878,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1885,
"end": 1893,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1885,
"end": 1892,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1885,
"end": 1889,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1890,
"end": 1891,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
],
"typeArguments": null
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1776,
"end": 1797,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1777,
"end": 1796,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1777,
"end": 1778,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 1787,
"end": 1796,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1787,
"end": 1794,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1954,
"end": 1957,
"ctxt": 0
},
"value": "ft1",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 1979,
"end": 1983,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1979,
"end": 1983,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1980,
"end": 1983,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1982,
"end": 1983,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1982,
"end": 1983,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 1937,
"end": 1988,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 1957,
"end": 1978,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 1958,
"end": 1977,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1958,
"end": 1959,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 1968,
"end": 1977,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1968,
"end": 1975,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 1984,
"end": 1987,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1986,
"end": 1987,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1986,
"end": 1987,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2006,
"end": 2009,
"ctxt": 0
},
"value": "ft2",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 2031,
"end": 2035,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2031,
"end": 2035,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2032,
"end": 2035,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2034,
"end": 2035,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2034,
"end": 2035,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 1989,
"end": 2054,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2009,
"end": 2030,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2010,
"end": 2029,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2010,
"end": 2011,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 2020,
"end": 2029,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2020,
"end": 2027,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 2036,
"end": 2053,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 2038,
"end": 2053,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 2047,
"end": 2053,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2048,
"end": 2052,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 2048,
"end": 2052,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2051,
"end": 2052,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2051,
"end": 2052,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2072,
"end": 2075,
"ctxt": 0
},
"value": "ft3",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 2097,
"end": 2106,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2097,
"end": 2106,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2098,
"end": 2106,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 2100,
"end": 2106,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2101,
"end": 2105,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 2101,
"end": 2105,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2104,
"end": 2105,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2104,
"end": 2105,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 2055,
"end": 2111,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2075,
"end": 2096,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2076,
"end": 2095,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2076,
"end": 2077,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 2086,
"end": 2095,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2086,
"end": 2093,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 2107,
"end": 2110,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2109,
"end": 2110,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2109,
"end": 2110,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2129,
"end": 2132,
"ctxt": 0
},
"value": "ft4",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 2154,
"end": 2163,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2154,
"end": 2163,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2155,
"end": 2163,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 2157,
"end": 2163,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2158,
"end": 2162,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 2158,
"end": 2162,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2161,
"end": 2162,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2161,
"end": 2162,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 2112,
"end": 2182,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2132,
"end": 2153,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2133,
"end": 2152,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2133,
"end": 2134,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 2143,
"end": 2152,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2143,
"end": 2150,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 2164,
"end": 2181,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 2166,
"end": 2181,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 2175,
"end": 2181,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2176,
"end": 2180,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 2176,
"end": 2180,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2179,
"end": 2180,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2179,
"end": 2180,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2184,
"end": 2203,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2184,
"end": 2202,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2184,
"end": 2187,
"ctxt": 0
},
"value": "ft1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2188,
"end": 2201,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2189,
"end": 2196,
"ctxt": 0
},
"value": "hello",
"raw": "'hello'"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2198,
"end": 2200,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2228,
"end": 2247,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2228,
"end": 2246,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2228,
"end": 2231,
"ctxt": 0
},
"value": "ft2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2232,
"end": 2245,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2233,
"end": 2240,
"ctxt": 0
},
"value": "hello",
"raw": "'hello'"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2242,
"end": 2244,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2281,
"end": 2300,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2281,
"end": 2299,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2281,
"end": 2284,
"ctxt": 0
},
"value": "ft3",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2285,
"end": 2298,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2286,
"end": 2293,
"ctxt": 0
},
"value": "hello",
"raw": "'hello'"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2295,
"end": 2297,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2322,
"end": 2341,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2322,
"end": 2340,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2322,
"end": 2325,
"ctxt": 0
},
"value": "ft4",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2326,
"end": 2339,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2327,
"end": 2334,
"ctxt": 0
},
"value": "hello",
"raw": "'hello'"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2336,
"end": 2338,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2416,
"end": 2418,
"ctxt": 0
},
"value": "f0",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 2440,
"end": 2457,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2440,
"end": 2457,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2441,
"end": 2457,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 2443,
"end": 2457,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2444,
"end": 2450,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 2444,
"end": 2450,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 2452,
"end": 2456,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 2452,
"end": 2456,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2455,
"end": 2456,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2455,
"end": 2456,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 2459,
"end": 2468,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2459,
"end": 2468,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2460,
"end": 2468,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2462,
"end": 2468,
"ctxt": 0
},
"kind": "number"
}
}
}
}
],
"decorators": [],
"span": {
"start": 2407,
"end": 2635,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2470,
"end": 2635,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 2476,
"end": 2491,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2482,
"end": 2490,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2482,
"end": 2483,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2486,
"end": 2490,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2486,
"end": 2487,
"ctxt": 0
},
"value": "t",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2487,
"end": 2490,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2488,
"end": 2489,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2507,
"end": 2522,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2513,
"end": 2521,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2513,
"end": 2514,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2517,
"end": 2521,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2517,
"end": 2518,
"ctxt": 0
},
"value": "t",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2518,
"end": 2521,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2519,
"end": 2520,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2549,
"end": 2564,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2555,
"end": 2563,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2555,
"end": 2556,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2559,
"end": 2563,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2559,
"end": 2560,
"ctxt": 0
},
"value": "t",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2560,
"end": 2563,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2561,
"end": 2562,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2591,
"end": 2606,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2597,
"end": 2605,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2597,
"end": 2598,
"ctxt": 0
},
"value": "d",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2601,
"end": 2605,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2601,
"end": 2602,
"ctxt": 0
},
"value": "t",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2602,
"end": 2605,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2603,
"end": 2604,
"ctxt": 0
},
"value": "n",
"optional": false
}
}
},
"definite": false
}
]
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2418,
"end": 2439,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2419,
"end": 2438,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2419,
"end": 2420,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 2429,
"end": 2438,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2429,
"end": 2436,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2646,
"end": 2648,
"ctxt": 0
},
"value": "f1",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 2670,
"end": 2695,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2670,
"end": 2695,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2671,
"end": 2695,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 2673,
"end": 2695,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2674,
"end": 2680,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 2674,
"end": 2680,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 2682,
"end": 2686,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 2682,
"end": 2686,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2685,
"end": 2686,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2685,
"end": 2686,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 2688,
"end": 2694,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 2688,
"end": 2694,
"ctxt": 0
},
"kind": "number"
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 2697,
"end": 2706,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2697,
"end": 2706,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2698,
"end": 2706,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2700,
"end": 2706,
"ctxt": 0
},
"kind": "number"
}
}
}
}
],
"decorators": [],
"span": {
"start": 2637,
"end": 2897,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2708,
"end": 2897,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 2714,
"end": 2729,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2720,
"end": 2728,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2720,
"end": 2721,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2724,
"end": 2728,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2724,
"end": 2725,
"ctxt": 0
},
"value": "t",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2725,
"end": 2728,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2726,
"end": 2727,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2745,
"end": 2760,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2751,
"end": 2759,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2751,
"end": 2752,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2755,
"end": 2759,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2755,
"end": 2756,
"ctxt": 0
},
"value": "t",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2756,
"end": 2759,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2757,
"end": 2758,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2795,
"end": 2810,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2801,
"end": 2809,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2801,
"end": 2802,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2805,
"end": 2809,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2805,
"end": 2806,
"ctxt": 0
},
"value": "t",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2806,
"end": 2809,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2807,
"end": 2808,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2845,
"end": 2860,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2851,
"end": 2859,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2851,
"end": 2852,
"ctxt": 0
},
"value": "d",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2855,
"end": 2859,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2855,
"end": 2856,
"ctxt": 0
},
"value": "t",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2856,
"end": 2859,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2857,
"end": 2858,
"ctxt": 0
},
"value": "n",
"optional": false
}
}
},
"definite": false
}
]
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2648,
"end": 2669,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2649,
"end": 2668,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2649,
"end": 2650,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 2659,
"end": 2668,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2659,
"end": 2666,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2947,
"end": 2949,
"ctxt": 0
},
"value": "f2",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 2971,
"end": 2988,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2971,
"end": 2988,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2972,
"end": 2988,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 2974,
"end": 2988,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2975,
"end": 2981,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 2975,
"end": 2981,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 2983,
"end": 2987,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 2983,
"end": 2987,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2986,
"end": 2987,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2986,
"end": 2987,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 2938,
"end": 3149,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2990,
"end": 3149,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 2996,
"end": 3012,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3000,
"end": 3011,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 3000,
"end": 3007,
"ctxt": 0
},
"elements": [
{
"type": "RestElement",
"span": {
"start": 3001,
"end": 3006,
"ctxt": 0
},
"rest": {
"start": 3001,
"end": 3004,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 3004,
"end": 3006,
"ctxt": 0
},
"value": "ax",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 3010,
"end": 3011,
"ctxt": 0
},
"value": "t",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3036,
"end": 3056,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3040,
"end": 3055,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 3040,
"end": 3051,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 3041,
"end": 3043,
"ctxt": 0
},
"value": "b1",
"optional": false,
"typeAnnotation": null
},
{
"type": "RestElement",
"span": {
"start": 3045,
"end": 3050,
"ctxt": 0
},
"rest": {
"start": 3045,
"end": 3048,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 3048,
"end": 3050,
"ctxt": 0
},
"value": "bx",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 3054,
"end": 3055,
"ctxt": 0
},
"value": "t",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3080,
"end": 3104,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3084,
"end": 3103,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 3084,
"end": 3099,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 3085,
"end": 3087,
"ctxt": 0
},
"value": "c1",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 3089,
"end": 3091,
"ctxt": 0
},
"value": "c2",
"optional": false,
"typeAnnotation": null
},
{
"type": "RestElement",
"span": {
"start": 3093,
"end": 3098,
"ctxt": 0
},
"rest": {
"start": 3093,
"end": 3096,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 3096,
"end": 3098,
"ctxt": 0
},
"value": "cx",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 3102,
"end": 3103,
"ctxt": 0
},
"value": "t",
"optional": false
},
"definite": false
}
]
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 2949,
"end": 2970,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 2950,
"end": 2969,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 2950,
"end": 2951,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 2960,
"end": 2969,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2960,
"end": 2967,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 3160,
"end": 3162,
"ctxt": 0
},
"value": "f3",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 3184,
"end": 3209,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 3184,
"end": 3209,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3185,
"end": 3209,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 3187,
"end": 3209,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 3188,
"end": 3194,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 3188,
"end": 3194,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 3196,
"end": 3200,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 3196,
"end": 3200,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3199,
"end": 3200,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3199,
"end": 3200,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 3202,
"end": 3208,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 3202,
"end": 3208,
"ctxt": 0
},
"kind": "number"
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 3151,
"end": 3405,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3211,
"end": 3405,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 3217,
"end": 3233,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3221,
"end": 3232,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 3221,
"end": 3228,
"ctxt": 0
},
"elements": [
{
"type": "RestElement",
"span": {
"start": 3222,
"end": 3227,
"ctxt": 0
},
"rest": {
"start": 3222,
"end": 3225,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 3225,
"end": 3227,
"ctxt": 0
},
"value": "ax",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 3231,
"end": 3232,
"ctxt": 0
},
"value": "t",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3265,
"end": 3285,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3269,
"end": 3284,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 3269,
"end": 3280,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 3270,
"end": 3272,
"ctxt": 0
},
"value": "b1",
"optional": false,
"typeAnnotation": null
},
{
"type": "RestElement",
"span": {
"start": 3274,
"end": 3279,
"ctxt": 0
},
"rest": {
"start": 3274,
"end": 3277,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 3277,
"end": 3279,
"ctxt": 0
},
"value": "bx",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 3283,
"end": 3284,
"ctxt": 0
},
"value": "t",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3317,
"end": 3341,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3321,
"end": 3340,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 3321,
"end": 3336,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 3322,
"end": 3324,
"ctxt": 0
},
"value": "c1",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 3326,
"end": 3328,
"ctxt": 0
},
"value": "c2",
"optional": false,
"typeAnnotation": null
},
{
"type": "RestElement",
"span": {
"start": 3330,
"end": 3335,
"ctxt": 0
},
"rest": {
"start": 3330,
"end": 3333,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 3333,
"end": 3335,
"ctxt": 0
},
"value": "cx",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 3339,
"end": 3340,
"ctxt": 0
},
"value": "t",
"optional": false
},
"definite": false
}
]
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3162,
"end": 3183,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3163,
"end": 3182,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3163,
"end": 3164,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 3173,
"end": 3182,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3173,
"end": 3180,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": null
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 3456,
"end": 3502,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 3461,
"end": 3469,
"ctxt": 0
},
"value": "Arrayify",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3469,
"end": 3472,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3470,
"end": 3471,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3470,
"end": 3471,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"typeAnnotation": {
"type": "TsMappedType",
"span": {
"start": 3475,
"end": 3501,
"ctxt": 0
},
"readonly": null,
"typeParam": {
"type": "TsTypeParameter",
"span": {
"start": 3478,
"end": 3490,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3478,
"end": 3479,
"ctxt": 0
},
"value": "P",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeOperator",
"span": {
"start": 3483,
"end": 3490,
"ctxt": 0
},
"op": "keyof",
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3489,
"end": 3490,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3489,
"end": 3490,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
"default": null
},
"nameType": null,
"optional": null,
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3493,
"end": 3499,
"ctxt": 0
},
"elemType": {
"type": "TsIndexedAccessType",
"span": {
"start": 3493,
"end": 3497,
"ctxt": 0
},
"readonly": false,
"objectType": {
"type": "TsTypeReference",
"span": {
"start": 3493,
"end": 3494,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3493,
"end": 3494,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"indexType": {
"type": "TsTypeReference",
"span": {
"start": 3495,
"end": 3496,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3495,
"end": 3496,
"ctxt": 0
},
"value": "P",
"optional": false
},
"typeParams": null
}
}
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 3504,
"end": 3593,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 3509,
"end": 3512,
"ctxt": 0
},
"value": "TM1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3512,
"end": 3533,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3513,
"end": 3532,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3513,
"end": 3514,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 3523,
"end": 3532,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3523,
"end": 3530,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3536,
"end": 3592,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3536,
"end": 3544,
"ctxt": 0
},
"value": "Arrayify",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 3544,
"end": 3592,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 3545,
"end": 3591,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 3554,
"end": 3591,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 3555,
"end": 3561,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 3555,
"end": 3561,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 3563,
"end": 3570,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsOptionalType",
"span": {
"start": 3563,
"end": 3570,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3563,
"end": 3569,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 3572,
"end": 3576,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 3572,
"end": 3576,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3575,
"end": 3576,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3575,
"end": 3576,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 3578,
"end": 3590,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 3578,
"end": 3590,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3581,
"end": 3590,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3581,
"end": 3588,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 3664,
"end": 3728,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 3669,
"end": 3672,
"ctxt": 0
},
"value": "TP1",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3672,
"end": 3693,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3673,
"end": 3692,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3673,
"end": 3674,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 3683,
"end": 3692,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3683,
"end": 3690,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3696,
"end": 3727,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3696,
"end": 3703,
"ctxt": 0
},
"value": "Partial",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 3703,
"end": 3727,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 3704,
"end": 3726,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 3705,
"end": 3711,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 3705,
"end": 3711,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 3713,
"end": 3717,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 3713,
"end": 3717,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3716,
"end": 3717,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3716,
"end": 3717,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 3719,
"end": 3725,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 3719,
"end": 3725,
"ctxt": 0
},
"kind": "number"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 3764,
"end": 3833,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 3769,
"end": 3772,
"ctxt": 0
},
"value": "TP2",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3772,
"end": 3793,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3773,
"end": 3792,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3773,
"end": 3774,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 3783,
"end": 3792,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3783,
"end": 3790,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3796,
"end": 3832,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3796,
"end": 3803,
"ctxt": 0
},
"value": "Partial",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 3803,
"end": 3832,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 3804,
"end": 3831,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 3805,
"end": 3811,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 3805,
"end": 3811,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 3813,
"end": 3817,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 3813,
"end": 3817,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3816,
"end": 3817,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3816,
"end": 3817,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 3819,
"end": 3830,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 3819,
"end": 3830,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 3822,
"end": 3830,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3822,
"end": 3828,
"ctxt": 0
},
"kind": "number"
}
}
}
}
]
}
]
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 3976,
"end": 3979,
"ctxt": 0
},
"value": "fm1",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 4001,
"end": 4036,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4001,
"end": 4036,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4002,
"end": 4036,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4004,
"end": 4036,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4004,
"end": 4012,
"ctxt": 0
},
"value": "Arrayify",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 4012,
"end": 4036,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 4013,
"end": 4035,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 4014,
"end": 4020,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 4014,
"end": 4020,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 4022,
"end": 4028,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 4022,
"end": 4028,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 4030,
"end": 4034,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 4030,
"end": 4034,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4033,
"end": 4034,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4033,
"end": 4034,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
]
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 3959,
"end": 4041,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 3979,
"end": 4000,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 3980,
"end": 3999,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 3980,
"end": 3981,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 3990,
"end": 3999,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 3990,
"end": 3997,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 4037,
"end": 4040,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4039,
"end": 4040,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4039,
"end": 4040,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 4043,
"end": 4091,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4047,
"end": 4090,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4047,
"end": 4050,
"ctxt": 0
},
"value": "tm1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 4053,
"end": 4090,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4053,
"end": 4056,
"ctxt": 0
},
"value": "fm1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 4057,
"end": 4089,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 4058,
"end": 4065,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 4059,
"end": 4064,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 4067,
"end": 4071,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 4068,
"end": 4070,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 4073,
"end": 4079,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 4074,
"end": 4078,
"ctxt": 0
},
"value": true
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 4081,
"end": 4088,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 4082,
"end": 4087,
"ctxt": 0
},
"value": "def",
"raw": "'def'"
}
}
]
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 4192,
"end": 4195,
"ctxt": 0
},
"value": "fx1",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 4217,
"end": 4226,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4217,
"end": 4226,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4218,
"end": 4226,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4220,
"end": 4226,
"ctxt": 0
},
"kind": "string"
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4228,
"end": 4238,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "RestElement",
"span": {
"start": 4228,
"end": 4238,
"ctxt": 0
},
"rest": {
"start": 4228,
"end": 4231,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 4231,
"end": 4235,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4235,
"end": 4238,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4237,
"end": 4238,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4237,
"end": 4238,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 4175,
"end": 4243,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4195,
"end": 4216,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4196,
"end": 4215,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4196,
"end": 4197,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 4206,
"end": 4215,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 4206,
"end": 4213,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 4239,
"end": 4242,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4241,
"end": 4242,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4241,
"end": 4242,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 4254,
"end": 4257,
"ctxt": 0
},
"value": "gx1",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 4309,
"end": 4313,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4309,
"end": 4313,
"ctxt": 0
},
"value": "u",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4310,
"end": 4313,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4312,
"end": 4313,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4312,
"end": 4313,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4315,
"end": 4319,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4315,
"end": 4319,
"ctxt": 0
},
"value": "v",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4316,
"end": 4319,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4318,
"end": 4319,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4318,
"end": 4319,
"ctxt": 0
},
"value": "V",
"optional": false
},
"typeParams": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 4245,
"end": 4474,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 4321,
"end": 4474,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 4327,
"end": 4338,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 4327,
"end": 4337,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4327,
"end": 4330,
"ctxt": 0
},
"value": "fx1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 4331,
"end": 4336,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4350,
"end": 4367,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 4350,
"end": 4366,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4350,
"end": 4353,
"ctxt": 0
},
"value": "fx1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 4354,
"end": 4359,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
},
{
"spread": {
"start": 4361,
"end": 4364,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4364,
"end": 4365,
"ctxt": 0
},
"value": "u",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4378,
"end": 4395,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 4378,
"end": 4394,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4378,
"end": 4381,
"ctxt": 0
},
"value": "fx1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 4382,
"end": 4387,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
},
{
"spread": {
"start": 4389,
"end": 4392,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4392,
"end": 4393,
"ctxt": 0
},
"value": "v",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4411,
"end": 4431,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 4411,
"end": 4430,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4411,
"end": 4414,
"ctxt": 0
},
"value": "fx1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 4418,
"end": 4423,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
},
{
"spread": {
"start": 4425,
"end": 4428,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4428,
"end": 4429,
"ctxt": 0
},
"value": "u",
"optional": false
}
}
],
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 4414,
"end": 4417,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 4415,
"end": 4416,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4415,
"end": 4416,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
]
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4442,
"end": 4462,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 4442,
"end": 4461,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4442,
"end": 4445,
"ctxt": 0
},
"value": "fx1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 4449,
"end": 4454,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
},
{
"spread": {
"start": 4456,
"end": 4459,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4459,
"end": 4460,
"ctxt": 0
},
"value": "v",
"optional": false
}
}
],
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 4445,
"end": 4448,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 4446,
"end": 4447,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4446,
"end": 4447,
"ctxt": 0
},
"value": "V",
"optional": false
},
"typeParams": null
}
]
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4257,
"end": 4308,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4258,
"end": 4277,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4258,
"end": 4259,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 4268,
"end": 4277,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 4268,
"end": 4275,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 4279,
"end": 4307,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4279,
"end": 4280,
"ctxt": 0
},
"value": "V",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeOperator",
"span": {
"start": 4289,
"end": 4307,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 4298,
"end": 4307,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 4298,
"end": 4305,
"ctxt": 0
},
"kind": "unknown"
}
}
},
"default": null
}
]
},
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 4493,
"end": 4496,
"ctxt": 0
},
"value": "fx2",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 4527,
"end": 4536,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4527,
"end": 4536,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4528,
"end": 4536,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4530,
"end": 4536,
"ctxt": 0
},
"kind": "string"
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4538,
"end": 4548,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "RestElement",
"span": {
"start": 4538,
"end": 4548,
"ctxt": 0
},
"rest": {
"start": 4538,
"end": 4541,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 4541,
"end": 4545,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4545,
"end": 4548,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4547,
"end": 4548,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4547,
"end": 4548,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 4476,
"end": 4553,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4496,
"end": 4526,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4497,
"end": 4525,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4497,
"end": 4498,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeOperator",
"span": {
"start": 4507,
"end": 4525,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 4516,
"end": 4525,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 4516,
"end": 4523,
"ctxt": 0
},
"kind": "unknown"
}
}
},
"default": null
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 4549,
"end": 4552,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4551,
"end": 4552,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4551,
"end": 4552,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 4564,
"end": 4567,
"ctxt": 0
},
"value": "gx2",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 4619,
"end": 4623,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4619,
"end": 4623,
"ctxt": 0
},
"value": "u",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4620,
"end": 4623,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4622,
"end": 4623,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4622,
"end": 4623,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4625,
"end": 4629,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4625,
"end": 4629,
"ctxt": 0
},
"value": "v",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4626,
"end": 4629,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4628,
"end": 4629,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4628,
"end": 4629,
"ctxt": 0
},
"value": "V",
"optional": false
},
"typeParams": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 4555,
"end": 4780,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 4631,
"end": 4780,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 4637,
"end": 4648,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 4637,
"end": 4647,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4637,
"end": 4640,
"ctxt": 0
},
"value": "fx2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 4641,
"end": 4646,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4660,
"end": 4677,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 4660,
"end": 4676,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4660,
"end": 4663,
"ctxt": 0
},
"value": "fx2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 4664,
"end": 4669,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
},
{
"spread": {
"start": 4671,
"end": 4674,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4674,
"end": 4675,
"ctxt": 0
},
"value": "u",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4688,
"end": 4705,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 4688,
"end": 4704,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4688,
"end": 4691,
"ctxt": 0
},
"value": "fx2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 4692,
"end": 4697,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
},
{
"spread": {
"start": 4699,
"end": 4702,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4702,
"end": 4703,
"ctxt": 0
},
"value": "v",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4721,
"end": 4741,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 4721,
"end": 4740,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4721,
"end": 4724,
"ctxt": 0
},
"value": "fx2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 4728,
"end": 4733,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
},
{
"spread": {
"start": 4735,
"end": 4738,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4738,
"end": 4739,
"ctxt": 0
},
"value": "u",
"optional": false
}
}
],
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 4724,
"end": 4727,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 4725,
"end": 4726,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4725,
"end": 4726,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
]
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4752,
"end": 4772,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 4752,
"end": 4771,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4752,
"end": 4755,
"ctxt": 0
},
"value": "fx2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 4759,
"end": 4764,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
},
{
"spread": {
"start": 4766,
"end": 4769,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4769,
"end": 4770,
"ctxt": 0
},
"value": "v",
"optional": false
}
}
],
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 4755,
"end": 4758,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 4756,
"end": 4757,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4756,
"end": 4757,
"ctxt": 0
},
"value": "V",
"optional": false
},
"typeParams": null
}
]
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4567,
"end": 4618,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4568,
"end": 4587,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4568,
"end": 4569,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 4578,
"end": 4587,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 4578,
"end": 4585,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 4589,
"end": 4617,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4589,
"end": 4590,
"ctxt": 0
},
"value": "V",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeOperator",
"span": {
"start": 4599,
"end": 4617,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 4608,
"end": 4617,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 4608,
"end": 4615,
"ctxt": 0
},
"kind": "unknown"
}
}
},
"default": null
}
]
},
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 4836,
"end": 4839,
"ctxt": 0
},
"value": "f10",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 4873,
"end": 4898,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4873,
"end": 4898,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4874,
"end": 4898,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 4876,
"end": 4898,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 4877,
"end": 4883,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 4877,
"end": 4883,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 4885,
"end": 4897,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 4885,
"end": 4897,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 4888,
"end": 4897,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 4888,
"end": 4895,
"ctxt": 0
},
"kind": "unknown"
}
}
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4900,
"end": 4917,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4900,
"end": 4917,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4901,
"end": 4917,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 4903,
"end": 4917,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 4904,
"end": 4910,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 4904,
"end": 4910,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 4912,
"end": 4916,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 4912,
"end": 4916,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4915,
"end": 4916,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4915,
"end": 4916,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 4919,
"end": 4936,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 4919,
"end": 4936,
"ctxt": 0
},
"value": "z",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4920,
"end": 4936,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 4922,
"end": 4936,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 4923,
"end": 4929,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 4923,
"end": 4929,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 4931,
"end": 4935,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 4931,
"end": 4935,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4934,
"end": 4935,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4934,
"end": 4935,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 4827,
"end": 5037,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 4938,
"end": 5037,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 4944,
"end": 4950,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 4944,
"end": 4949,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 4944,
"end": 4945,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 4948,
"end": 4949,
"ctxt": 0
},
"value": "y",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4955,
"end": 4961,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 4955,
"end": 4960,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 4955,
"end": 4956,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 4959,
"end": 4960,
"ctxt": 0
},
"value": "z",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4966,
"end": 4972,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 4966,
"end": 4971,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 4966,
"end": 4967,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 4970,
"end": 4971,
"ctxt": 0
},
"value": "x",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4987,
"end": 4993,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 4987,
"end": 4992,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 4987,
"end": 4988,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 4991,
"end": 4992,
"ctxt": 0
},
"value": "z",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4998,
"end": 5004,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 4998,
"end": 5003,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 4998,
"end": 4999,
"ctxt": 0
},
"value": "z",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5002,
"end": 5003,
"ctxt": 0
},
"value": "x",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5019,
"end": 5025,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5019,
"end": 5024,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5019,
"end": 5020,
"ctxt": 0
},
"value": "z",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5023,
"end": 5024,
"ctxt": 0
},
"value": "y",
"optional": false
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 4839,
"end": 4872,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 4840,
"end": 4858,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4840,
"end": 4841,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 4850,
"end": 4858,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 4850,
"end": 4856,
"ctxt": 0
},
"kind": "string"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 4860,
"end": 4871,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 4860,
"end": 4861,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 4870,
"end": 4871,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4870,
"end": 4871,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 5226,
"end": 5229,
"ctxt": 0
},
"value": "f11",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 5251,
"end": 5255,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5251,
"end": 5255,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5252,
"end": 5255,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 5254,
"end": 5255,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5254,
"end": 5255,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 5257,
"end": 5266,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5257,
"end": 5266,
"ctxt": 0
},
"value": "m",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5258,
"end": 5266,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 5260,
"end": 5266,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 5261,
"end": 5265,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 5261,
"end": 5265,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 5264,
"end": 5265,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5264,
"end": 5265,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 5268,
"end": 5286,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5268,
"end": 5286,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5269,
"end": 5286,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 5271,
"end": 5286,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 5280,
"end": 5286,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 5281,
"end": 5285,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 5281,
"end": 5285,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 5284,
"end": 5285,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5284,
"end": 5285,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 5217,
"end": 5377,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5288,
"end": 5377,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 5294,
"end": 5300,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5294,
"end": 5299,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5294,
"end": 5295,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5298,
"end": 5299,
"ctxt": 0
},
"value": "m",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5305,
"end": 5311,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5305,
"end": 5310,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5305,
"end": 5306,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5309,
"end": 5310,
"ctxt": 0
},
"value": "r",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5326,
"end": 5332,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5326,
"end": 5331,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5326,
"end": 5327,
"ctxt": 0
},
"value": "m",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5330,
"end": 5331,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5337,
"end": 5343,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5337,
"end": 5342,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5337,
"end": 5338,
"ctxt": 0
},
"value": "m",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5341,
"end": 5342,
"ctxt": 0
},
"value": "r",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5358,
"end": 5364,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5358,
"end": 5363,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5358,
"end": 5359,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5362,
"end": 5363,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5369,
"end": 5375,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5369,
"end": 5374,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5369,
"end": 5370,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5373,
"end": 5374,
"ctxt": 0
},
"value": "m",
"optional": false
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 5229,
"end": 5250,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 5230,
"end": 5249,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 5230,
"end": 5231,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 5240,
"end": 5249,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 5240,
"end": 5247,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 5388,
"end": 5391,
"ctxt": 0
},
"value": "f12",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 5422,
"end": 5426,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5422,
"end": 5426,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5423,
"end": 5426,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 5425,
"end": 5426,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5425,
"end": 5426,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 5428,
"end": 5437,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5428,
"end": 5437,
"ctxt": 0
},
"value": "m",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5429,
"end": 5437,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 5431,
"end": 5437,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 5432,
"end": 5436,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 5432,
"end": 5436,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 5435,
"end": 5436,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5435,
"end": 5436,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 5439,
"end": 5457,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5439,
"end": 5457,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5440,
"end": 5457,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 5442,
"end": 5457,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 5451,
"end": 5457,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 5452,
"end": 5456,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 5452,
"end": 5456,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 5455,
"end": 5456,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5455,
"end": 5456,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 5379,
"end": 5558,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5459,
"end": 5558,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 5465,
"end": 5471,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5465,
"end": 5470,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5465,
"end": 5466,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5469,
"end": 5470,
"ctxt": 0
},
"value": "m",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5476,
"end": 5482,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5476,
"end": 5481,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5476,
"end": 5477,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5480,
"end": 5481,
"ctxt": 0
},
"value": "r",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5497,
"end": 5503,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5497,
"end": 5502,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5497,
"end": 5498,
"ctxt": 0
},
"value": "m",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5501,
"end": 5502,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5518,
"end": 5524,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5518,
"end": 5523,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5518,
"end": 5519,
"ctxt": 0
},
"value": "m",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5522,
"end": 5523,
"ctxt": 0
},
"value": "r",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5539,
"end": 5545,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5539,
"end": 5544,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5539,
"end": 5540,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5543,
"end": 5544,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5550,
"end": 5556,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5550,
"end": 5555,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5550,
"end": 5551,
"ctxt": 0
},
"value": "r",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5554,
"end": 5555,
"ctxt": 0
},
"value": "m",
"optional": false
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 5391,
"end": 5421,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 5392,
"end": 5420,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 5392,
"end": 5393,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeOperator",
"span": {
"start": 5402,
"end": 5420,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 5411,
"end": 5420,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 5411,
"end": 5418,
"ctxt": 0
},
"kind": "unknown"
}
}
},
"default": null
}
]
},
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 5569,
"end": 5572,
"ctxt": 0
},
"value": "f13",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 5606,
"end": 5611,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5606,
"end": 5611,
"ctxt": 0
},
"value": "t0",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5608,
"end": 5611,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 5610,
"end": 5611,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5610,
"end": 5611,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 5613,
"end": 5623,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5613,
"end": 5623,
"ctxt": 0
},
"value": "t1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5615,
"end": 5623,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 5617,
"end": 5623,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 5618,
"end": 5622,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 5618,
"end": 5622,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 5621,
"end": 5622,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5621,
"end": 5622,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 5625,
"end": 5635,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5625,
"end": 5635,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5627,
"end": 5635,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 5629,
"end": 5635,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 5630,
"end": 5634,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 5630,
"end": 5634,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 5633,
"end": 5634,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5633,
"end": 5634,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 5560,
"end": 5738,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5637,
"end": 5738,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 5643,
"end": 5651,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5643,
"end": 5650,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5643,
"end": 5645,
"ctxt": 0
},
"value": "t0",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5648,
"end": 5650,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5656,
"end": 5664,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5656,
"end": 5663,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5656,
"end": 5658,
"ctxt": 0
},
"value": "t0",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5661,
"end": 5663,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5669,
"end": 5677,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5669,
"end": 5676,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5669,
"end": 5671,
"ctxt": 0
},
"value": "t1",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5674,
"end": 5676,
"ctxt": 0
},
"value": "t0",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5682,
"end": 5690,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5682,
"end": 5689,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5682,
"end": 5684,
"ctxt": 0
},
"value": "t1",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5687,
"end": 5689,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5695,
"end": 5703,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5695,
"end": 5702,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5695,
"end": 5697,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5700,
"end": 5702,
"ctxt": 0
},
"value": "t0",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5718,
"end": 5726,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5718,
"end": 5725,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5718,
"end": 5720,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5723,
"end": 5725,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 5572,
"end": 5605,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 5573,
"end": 5591,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 5573,
"end": 5574,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 5583,
"end": 5591,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 5583,
"end": 5589,
"ctxt": 0
},
"kind": "string"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 5593,
"end": 5604,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 5593,
"end": 5594,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 5603,
"end": 5604,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5603,
"end": 5604,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 5749,
"end": 5752,
"ctxt": 0
},
"value": "f14",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 5795,
"end": 5800,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5795,
"end": 5800,
"ctxt": 0
},
"value": "t0",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5797,
"end": 5800,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 5799,
"end": 5800,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5799,
"end": 5800,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 5802,
"end": 5812,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5802,
"end": 5812,
"ctxt": 0
},
"value": "t1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5804,
"end": 5812,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 5806,
"end": 5812,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 5807,
"end": 5811,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 5807,
"end": 5811,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 5810,
"end": 5811,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5810,
"end": 5811,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 5814,
"end": 5824,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5814,
"end": 5824,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5816,
"end": 5824,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 5818,
"end": 5824,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 5819,
"end": 5823,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 5819,
"end": 5823,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 5822,
"end": 5823,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5822,
"end": 5823,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 5740,
"end": 5937,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 5826,
"end": 5937,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 5832,
"end": 5840,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5832,
"end": 5839,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5832,
"end": 5834,
"ctxt": 0
},
"value": "t0",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5837,
"end": 5839,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5845,
"end": 5853,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5845,
"end": 5852,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5845,
"end": 5847,
"ctxt": 0
},
"value": "t0",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5850,
"end": 5852,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5858,
"end": 5866,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5858,
"end": 5865,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5858,
"end": 5860,
"ctxt": 0
},
"value": "t1",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5863,
"end": 5865,
"ctxt": 0
},
"value": "t0",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5881,
"end": 5889,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5881,
"end": 5888,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5881,
"end": 5883,
"ctxt": 0
},
"value": "t1",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5886,
"end": 5888,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5894,
"end": 5902,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5894,
"end": 5901,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5894,
"end": 5896,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5899,
"end": 5901,
"ctxt": 0
},
"value": "t0",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 5917,
"end": 5925,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 5917,
"end": 5924,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 5917,
"end": 5919,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 5922,
"end": 5924,
"ctxt": 0
},
"value": "t1",
"optional": false
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 5752,
"end": 5794,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 5753,
"end": 5780,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 5753,
"end": 5754,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeOperator",
"span": {
"start": 5763,
"end": 5780,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 5772,
"end": 5780,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 5772,
"end": 5778,
"ctxt": 0
},
"kind": "string"
}
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 5782,
"end": 5793,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 5782,
"end": 5783,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 5792,
"end": 5793,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5792,
"end": 5793,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 5948,
"end": 5951,
"ctxt": 0
},
"value": "f15",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 5985,
"end": 5996,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5985,
"end": 5996,
"ctxt": 0
},
"value": "k0",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 5987,
"end": 5996,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 5989,
"end": 5996,
"ctxt": 0
},
"op": "keyof",
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 5995,
"end": 5996,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5995,
"end": 5996,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 5998,
"end": 6014,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 5998,
"end": 6014,
"ctxt": 0
},
"value": "k1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 6000,
"end": 6014,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 6002,
"end": 6014,
"ctxt": 0
},
"op": "keyof",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 6008,
"end": 6014,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6009,
"end": 6013,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 6009,
"end": 6013,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6012,
"end": 6013,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6012,
"end": 6013,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 6016,
"end": 6032,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 6016,
"end": 6032,
"ctxt": 0
},
"value": "k2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 6018,
"end": 6032,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 6020,
"end": 6032,
"ctxt": 0
},
"op": "keyof",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 6026,
"end": 6032,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6027,
"end": 6031,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 6027,
"end": 6031,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6030,
"end": 6031,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6030,
"end": 6031,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 6034,
"end": 6056,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 6034,
"end": 6056,
"ctxt": 0
},
"value": "k3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 6036,
"end": 6056,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeOperator",
"span": {
"start": 6038,
"end": 6056,
"ctxt": 0
},
"op": "keyof",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 6044,
"end": 6056,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6045,
"end": 6046,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsLiteralType",
"span": {
"start": 6045,
"end": 6046,
"ctxt": 0
},
"literal": {
"type": "NumericLiteral",
"span": {
"start": 6045,
"end": 6046,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 6048,
"end": 6049,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsLiteralType",
"span": {
"start": 6048,
"end": 6049,
"ctxt": 0
},
"literal": {
"type": "NumericLiteral",
"span": {
"start": 6048,
"end": 6049,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 6051,
"end": 6055,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 6051,
"end": 6055,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6054,
"end": 6055,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6054,
"end": 6055,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 5939,
"end": 6224,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 6058,
"end": 6224,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 6064,
"end": 6078,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 6064,
"end": 6077,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 6064,
"end": 6066,
"ctxt": 0
},
"value": "k0",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 6069,
"end": 6077,
"ctxt": 0
},
"value": "length",
"raw": "'length'"
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6083,
"end": 6097,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 6083,
"end": 6096,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 6083,
"end": 6085,
"ctxt": 0
},
"value": "k1",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 6088,
"end": 6096,
"ctxt": 0
},
"value": "length",
"raw": "'length'"
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6102,
"end": 6116,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 6102,
"end": 6115,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 6102,
"end": 6104,
"ctxt": 0
},
"value": "k2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 6107,
"end": 6115,
"ctxt": 0
},
"value": "length",
"raw": "'length'"
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6121,
"end": 6134,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 6121,
"end": 6133,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 6121,
"end": 6123,
"ctxt": 0
},
"value": "k0",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 6126,
"end": 6133,
"ctxt": 0
},
"value": "slice",
"raw": "'slice'"
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6139,
"end": 6152,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 6139,
"end": 6151,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 6139,
"end": 6141,
"ctxt": 0
},
"value": "k1",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 6144,
"end": 6151,
"ctxt": 0
},
"value": "slice",
"raw": "'slice'"
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6157,
"end": 6170,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 6157,
"end": 6169,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 6157,
"end": 6159,
"ctxt": 0
},
"value": "k2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 6162,
"end": 6169,
"ctxt": 0
},
"value": "slice",
"raw": "'slice'"
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6175,
"end": 6184,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 6175,
"end": 6183,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 6175,
"end": 6177,
"ctxt": 0
},
"value": "k3",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 6180,
"end": 6183,
"ctxt": 0
},
"value": "0",
"raw": "'0'"
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6189,
"end": 6198,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 6189,
"end": 6197,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 6189,
"end": 6191,
"ctxt": 0
},
"value": "k3",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 6194,
"end": 6197,
"ctxt": 0
},
"value": "1",
"raw": "'1'"
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 6203,
"end": 6212,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 6203,
"end": 6211,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 6203,
"end": 6205,
"ctxt": 0
},
"value": "k3",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 6208,
"end": 6211,
"ctxt": 0
},
"value": "2",
"raw": "'2'"
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 5951,
"end": 5984,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 5952,
"end": 5970,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 5952,
"end": 5953,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 5962,
"end": 5970,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 5962,
"end": 5968,
"ctxt": 0
},
"kind": "string"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 5972,
"end": 5983,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 5972,
"end": 5973,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 5982,
"end": 5983,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 5982,
"end": 5983,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"default": null
}
]
},
"returnType": null
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 6269,
"end": 6389,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 6274,
"end": 6279,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 6279,
"end": 6309,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 6280,
"end": 6308,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 6280,
"end": 6281,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeOperator",
"span": {
"start": 6290,
"end": 6308,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 6299,
"end": 6308,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 6299,
"end": 6306,
"ctxt": 0
},
"kind": "unknown"
}
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsConditionalType",
"span": {
"start": 6316,
"end": 6388,
"ctxt": 0
},
"checkType": {
"type": "TsTypeReference",
"span": {
"start": 6316,
"end": 6317,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6316,
"end": 6317,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"extendsType": {
"type": "TsTypeOperator",
"span": {
"start": 6326,
"end": 6358,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 6335,
"end": 6358,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6336,
"end": 6343,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 6336,
"end": 6343,
"ctxt": 0
},
"kind": "unknown"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 6345,
"end": 6357,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 6345,
"end": 6357,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 6348,
"end": 6357,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 6348,
"end": 6355,
"ctxt": 0
},
"kind": "unknown"
}
}
}
}
]
}
},
"trueType": {
"type": "TsIndexedAccessType",
"span": {
"start": 6361,
"end": 6365,
"ctxt": 0
},
"readonly": false,
"objectType": {
"type": "TsTypeReference",
"span": {
"start": 6361,
"end": 6362,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6361,
"end": 6362,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"indexType": {
"type": "TsLiteralType",
"span": {
"start": 6363,
"end": 6364,
"ctxt": 0
},
"literal": {
"type": "NumericLiteral",
"span": {
"start": 6363,
"end": 6364,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
},
"falseType": {
"type": "TsUnionType",
"span": {
"start": 6372,
"end": 6388,
"ctxt": 0
},
"types": [
{
"type": "TsIndexedAccessType",
"span": {
"start": 6372,
"end": 6376,
"ctxt": 0
},
"readonly": false,
"objectType": {
"type": "TsTypeReference",
"span": {
"start": 6372,
"end": 6373,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6372,
"end": 6373,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"indexType": {
"type": "TsLiteralType",
"span": {
"start": 6374,
"end": 6375,
"ctxt": 0
},
"literal": {
"type": "NumericLiteral",
"span": {
"start": 6374,
"end": 6375,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
},
{
"type": "TsKeywordType",
"span": {
"start": 6379,
"end": 6388,
"ctxt": 0
},
"kind": "undefined"
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 6391,
"end": 6493,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 6396,
"end": 6405,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 6405,
"end": 6435,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 6406,
"end": 6434,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 6406,
"end": 6407,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeOperator",
"span": {
"start": 6416,
"end": 6434,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 6425,
"end": 6434,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 6425,
"end": 6432,
"ctxt": 0
},
"kind": "unknown"
}
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsConditionalType",
"span": {
"start": 6438,
"end": 6492,
"ctxt": 0
},
"checkType": {
"type": "TsTypeReference",
"span": {
"start": 6438,
"end": 6439,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6438,
"end": 6439,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"extendsType": {
"type": "TsTypeOperator",
"span": {
"start": 6448,
"end": 6479,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 6457,
"end": 6479,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6458,
"end": 6466,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsOptionalType",
"span": {
"start": 6458,
"end": 6466,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 6458,
"end": 6465,
"ctxt": 0
},
"kind": "unknown"
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 6468,
"end": 6478,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 6468,
"end": 6478,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsInferType",
"span": {
"start": 6471,
"end": 6478,
"ctxt": 0
},
"typeParam": {
"type": "TsTypeParameter",
"span": {
"start": 6477,
"end": 6478,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 6477,
"end": 6478,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
}
}
}
]
}
},
"trueType": {
"type": "TsTypeReference",
"span": {
"start": 6482,
"end": 6483,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6482,
"end": 6483,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
},
"falseType": {
"type": "TsTupleType",
"span": {
"start": 6486,
"end": 6492,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6487,
"end": 6491,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 6487,
"end": 6491,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6490,
"end": 6491,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6490,
"end": 6491,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 6495,
"end": 6677,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 6500,
"end": 6504,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 6504,
"end": 6534,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 6505,
"end": 6533,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 6505,
"end": 6506,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeOperator",
"span": {
"start": 6515,
"end": 6533,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 6524,
"end": 6533,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 6524,
"end": 6531,
"ctxt": 0
},
"kind": "unknown"
}
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsConditionalType",
"span": {
"start": 6541,
"end": 6676,
"ctxt": 0
},
"checkType": {
"type": "TsTypeReference",
"span": {
"start": 6541,
"end": 6542,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6541,
"end": 6542,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"extendsType": {
"type": "TsTypeOperator",
"span": {
"start": 6551,
"end": 6583,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 6560,
"end": 6583,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6561,
"end": 6573,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 6561,
"end": 6573,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 6564,
"end": 6573,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 6564,
"end": 6571,
"ctxt": 0
},
"kind": "unknown"
}
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 6575,
"end": 6582,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsInferType",
"span": {
"start": 6575,
"end": 6582,
"ctxt": 0
},
"typeParam": {
"type": "TsTypeParameter",
"span": {
"start": 6581,
"end": 6582,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 6581,
"end": 6582,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
}
}
]
}
},
"trueType": {
"type": "TsTypeReference",
"span": {
"start": 6586,
"end": 6587,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6586,
"end": 6587,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
},
"falseType": {
"type": "TsConditionalType",
"span": {
"start": 6594,
"end": 6676,
"ctxt": 0
},
"checkType": {
"type": "TsTypeReference",
"span": {
"start": 6594,
"end": 6595,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6594,
"end": 6595,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"extendsType": {
"type": "TsTypeOperator",
"span": {
"start": 6604,
"end": 6636,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 6613,
"end": 6636,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6614,
"end": 6621,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 6614,
"end": 6621,
"ctxt": 0
},
"kind": "unknown"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 6623,
"end": 6635,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 6623,
"end": 6635,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 6626,
"end": 6635,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 6626,
"end": 6633,
"ctxt": 0
},
"kind": "unknown"
}
}
}
}
]
}
},
"trueType": {
"type": "TsIndexedAccessType",
"span": {
"start": 6639,
"end": 6648,
"ctxt": 0
},
"readonly": false,
"objectType": {
"type": "TsTypeReference",
"span": {
"start": 6639,
"end": 6640,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6639,
"end": 6640,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"indexType": {
"type": "TsKeywordType",
"span": {
"start": 6641,
"end": 6647,
"ctxt": 0
},
"kind": "number"
}
},
"falseType": {
"type": "TsUnionType",
"span": {
"start": 6655,
"end": 6676,
"ctxt": 0
},
"types": [
{
"type": "TsIndexedAccessType",
"span": {
"start": 6655,
"end": 6664,
"ctxt": 0
},
"readonly": false,
"objectType": {
"type": "TsTypeReference",
"span": {
"start": 6655,
"end": 6656,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6655,
"end": 6656,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"indexType": {
"type": "TsKeywordType",
"span": {
"start": 6657,
"end": 6663,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsKeywordType",
"span": {
"start": 6667,
"end": 6676,
"ctxt": 0
},
"kind": "undefined"
}
]
}
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 6679,
"end": 6779,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 6684,
"end": 6692,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 6692,
"end": 6722,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 6693,
"end": 6721,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 6693,
"end": 6694,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsTypeOperator",
"span": {
"start": 6703,
"end": 6721,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 6712,
"end": 6721,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 6712,
"end": 6719,
"ctxt": 0
},
"kind": "unknown"
}
}
},
"default": null
}
]
},
"typeAnnotation": {
"type": "TsConditionalType",
"span": {
"start": 6725,
"end": 6778,
"ctxt": 0
},
"checkType": {
"type": "TsTypeReference",
"span": {
"start": 6725,
"end": 6726,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6725,
"end": 6726,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
},
"extendsType": {
"type": "TsTypeOperator",
"span": {
"start": 6735,
"end": 6765,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 6744,
"end": 6765,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6745,
"end": 6755,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 6745,
"end": 6755,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsInferType",
"span": {
"start": 6748,
"end": 6755,
"ctxt": 0
},
"typeParam": {
"type": "TsTypeParameter",
"span": {
"start": 6754,
"end": 6755,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 6754,
"end": 6755,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 6757,
"end": 6764,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 6757,
"end": 6764,
"ctxt": 0
},
"kind": "unknown"
}
}
]
}
},
"trueType": {
"type": "TsTypeReference",
"span": {
"start": 6768,
"end": 6769,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6768,
"end": 6769,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
},
"falseType": {
"type": "TsTupleType",
"span": {
"start": 6772,
"end": 6778,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6773,
"end": 6777,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 6773,
"end": 6777,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6776,
"end": 6777,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6776,
"end": 6777,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 6781,
"end": 6824,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 6786,
"end": 6789,
"ctxt": 0
},
"value": "T00",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6792,
"end": 6823,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6792,
"end": 6797,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 6797,
"end": 6823,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 6798,
"end": 6822,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6799,
"end": 6805,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 6799,
"end": 6805,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 6807,
"end": 6813,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 6807,
"end": 6813,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 6815,
"end": 6821,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 6815,
"end": 6821,
"ctxt": 0
},
"kind": "string"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 6825,
"end": 6860,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 6830,
"end": 6833,
"ctxt": 0
},
"value": "T01",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6836,
"end": 6859,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6836,
"end": 6841,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 6841,
"end": 6859,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 6842,
"end": 6858,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6843,
"end": 6849,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 6843,
"end": 6849,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 6851,
"end": 6857,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 6851,
"end": 6857,
"ctxt": 0
},
"kind": "string"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 6861,
"end": 6888,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 6866,
"end": 6869,
"ctxt": 0
},
"value": "T02",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6872,
"end": 6887,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6872,
"end": 6877,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 6877,
"end": 6887,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 6878,
"end": 6886,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6879,
"end": 6885,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 6879,
"end": 6885,
"ctxt": 0
},
"kind": "string"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 6889,
"end": 6937,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 6894,
"end": 6897,
"ctxt": 0
},
"value": "T03",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6900,
"end": 6936,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6900,
"end": 6905,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 6905,
"end": 6936,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 6906,
"end": 6935,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6907,
"end": 6913,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 6907,
"end": 6913,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 6915,
"end": 6921,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 6915,
"end": 6921,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 6923,
"end": 6934,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 6923,
"end": 6934,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 6926,
"end": 6934,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 6926,
"end": 6932,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 6938,
"end": 6978,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 6943,
"end": 6946,
"ctxt": 0
},
"value": "T04",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6949,
"end": 6977,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6949,
"end": 6954,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 6954,
"end": 6977,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 6955,
"end": 6976,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6956,
"end": 6962,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 6956,
"end": 6962,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 6964,
"end": 6975,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 6964,
"end": 6975,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 6967,
"end": 6975,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 6967,
"end": 6973,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 6979,
"end": 7007,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 6984,
"end": 6987,
"ctxt": 0
},
"value": "T05",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 6990,
"end": 7006,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6990,
"end": 6995,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 6995,
"end": 7006,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 6996,
"end": 7005,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 6997,
"end": 7004,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsOptionalType",
"span": {
"start": 6997,
"end": 7004,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 6997,
"end": 7003,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7008,
"end": 7035,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7013,
"end": 7016,
"ctxt": 0
},
"value": "T06",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7019,
"end": 7034,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7019,
"end": 7024,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7024,
"end": 7034,
"ctxt": 0
},
"params": [
{
"type": "TsArrayType",
"span": {
"start": 7025,
"end": 7033,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 7025,
"end": 7031,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7036,
"end": 7057,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7041,
"end": 7044,
"ctxt": 0
},
"value": "T07",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7047,
"end": 7056,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7047,
"end": 7052,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7052,
"end": 7056,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7053,
"end": 7055,
"ctxt": 0
},
"elemTypes": []
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7058,
"end": 7080,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7063,
"end": 7066,
"ctxt": 0
},
"value": "T08",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7069,
"end": 7079,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7069,
"end": 7074,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7074,
"end": 7079,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 7075,
"end": 7078,
"ctxt": 0
},
"kind": "any"
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7081,
"end": 7105,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7086,
"end": 7089,
"ctxt": 0
},
"value": "T09",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7092,
"end": 7104,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7092,
"end": 7097,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7097,
"end": 7104,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 7098,
"end": 7103,
"ctxt": 0
},
"kind": "never"
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7107,
"end": 7154,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7112,
"end": 7115,
"ctxt": 0
},
"value": "T10",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7118,
"end": 7153,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7118,
"end": 7127,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7127,
"end": 7153,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7128,
"end": 7152,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7129,
"end": 7135,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7129,
"end": 7135,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7137,
"end": 7143,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7137,
"end": 7143,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7145,
"end": 7151,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7145,
"end": 7151,
"ctxt": 0
},
"kind": "string"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7155,
"end": 7194,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7160,
"end": 7163,
"ctxt": 0
},
"value": "T11",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7166,
"end": 7193,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7166,
"end": 7175,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7175,
"end": 7193,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7176,
"end": 7192,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7177,
"end": 7183,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7177,
"end": 7183,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7185,
"end": 7191,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7185,
"end": 7191,
"ctxt": 0
},
"kind": "string"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7195,
"end": 7226,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7200,
"end": 7203,
"ctxt": 0
},
"value": "T12",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7206,
"end": 7225,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7206,
"end": 7215,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7215,
"end": 7225,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7216,
"end": 7224,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7217,
"end": 7223,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7217,
"end": 7223,
"ctxt": 0
},
"kind": "string"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7227,
"end": 7279,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7232,
"end": 7235,
"ctxt": 0
},
"value": "T13",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7238,
"end": 7278,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7238,
"end": 7247,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7247,
"end": 7278,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7248,
"end": 7277,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7249,
"end": 7255,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7249,
"end": 7255,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7257,
"end": 7263,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7257,
"end": 7263,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7265,
"end": 7276,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 7265,
"end": 7276,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 7268,
"end": 7276,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 7268,
"end": 7274,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7280,
"end": 7324,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7285,
"end": 7288,
"ctxt": 0
},
"value": "T14",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7291,
"end": 7323,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7291,
"end": 7300,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7300,
"end": 7323,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7301,
"end": 7322,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7302,
"end": 7308,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7302,
"end": 7308,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7310,
"end": 7321,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 7310,
"end": 7321,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 7313,
"end": 7321,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 7313,
"end": 7319,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7325,
"end": 7357,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7330,
"end": 7333,
"ctxt": 0
},
"value": "T15",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7336,
"end": 7356,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7336,
"end": 7345,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7345,
"end": 7356,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7346,
"end": 7355,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7347,
"end": 7354,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsOptionalType",
"span": {
"start": 7347,
"end": 7354,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 7347,
"end": 7353,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7358,
"end": 7389,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7363,
"end": 7366,
"ctxt": 0
},
"value": "T16",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7369,
"end": 7388,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7369,
"end": 7378,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7378,
"end": 7388,
"ctxt": 0
},
"params": [
{
"type": "TsArrayType",
"span": {
"start": 7379,
"end": 7387,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 7379,
"end": 7385,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7390,
"end": 7415,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7395,
"end": 7398,
"ctxt": 0
},
"value": "T17",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7401,
"end": 7414,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7401,
"end": 7410,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7410,
"end": 7414,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7411,
"end": 7413,
"ctxt": 0
},
"elemTypes": []
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7416,
"end": 7442,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7421,
"end": 7424,
"ctxt": 0
},
"value": "T18",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7427,
"end": 7441,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7427,
"end": 7436,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7436,
"end": 7441,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 7437,
"end": 7440,
"ctxt": 0
},
"kind": "any"
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7443,
"end": 7471,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7448,
"end": 7451,
"ctxt": 0
},
"value": "T19",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7454,
"end": 7470,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7454,
"end": 7463,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7463,
"end": 7470,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 7464,
"end": 7469,
"ctxt": 0
},
"kind": "never"
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7473,
"end": 7515,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7478,
"end": 7481,
"ctxt": 0
},
"value": "T20",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7484,
"end": 7514,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7484,
"end": 7488,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7488,
"end": 7514,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7489,
"end": 7513,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7490,
"end": 7496,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7490,
"end": 7496,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7498,
"end": 7504,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7498,
"end": 7504,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7506,
"end": 7512,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7506,
"end": 7512,
"ctxt": 0
},
"kind": "string"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7516,
"end": 7550,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7521,
"end": 7524,
"ctxt": 0
},
"value": "T21",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7527,
"end": 7549,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7527,
"end": 7531,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7531,
"end": 7549,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7532,
"end": 7548,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7533,
"end": 7539,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7533,
"end": 7539,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7541,
"end": 7547,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7541,
"end": 7547,
"ctxt": 0
},
"kind": "string"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7551,
"end": 7577,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7556,
"end": 7559,
"ctxt": 0
},
"value": "T22",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7562,
"end": 7576,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7562,
"end": 7566,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7566,
"end": 7576,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7567,
"end": 7575,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7568,
"end": 7574,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7568,
"end": 7574,
"ctxt": 0
},
"kind": "string"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7578,
"end": 7625,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7583,
"end": 7586,
"ctxt": 0
},
"value": "T23",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7589,
"end": 7624,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7589,
"end": 7593,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7593,
"end": 7624,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7594,
"end": 7623,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7595,
"end": 7601,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7595,
"end": 7601,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7603,
"end": 7609,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7603,
"end": 7609,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7611,
"end": 7622,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 7611,
"end": 7622,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 7614,
"end": 7622,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 7614,
"end": 7620,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7626,
"end": 7665,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7631,
"end": 7634,
"ctxt": 0
},
"value": "T24",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7637,
"end": 7664,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7637,
"end": 7641,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7641,
"end": 7664,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7642,
"end": 7663,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7643,
"end": 7649,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7643,
"end": 7649,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7651,
"end": 7662,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 7651,
"end": 7662,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 7654,
"end": 7662,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 7654,
"end": 7660,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7666,
"end": 7693,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7671,
"end": 7674,
"ctxt": 0
},
"value": "T25",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7677,
"end": 7692,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7677,
"end": 7681,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7681,
"end": 7692,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7682,
"end": 7691,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7683,
"end": 7690,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsOptionalType",
"span": {
"start": 7683,
"end": 7690,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 7683,
"end": 7689,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7694,
"end": 7720,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7699,
"end": 7702,
"ctxt": 0
},
"value": "T26",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7705,
"end": 7719,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7705,
"end": 7709,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7709,
"end": 7719,
"ctxt": 0
},
"params": [
{
"type": "TsArrayType",
"span": {
"start": 7710,
"end": 7718,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 7710,
"end": 7716,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7721,
"end": 7741,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7726,
"end": 7729,
"ctxt": 0
},
"value": "T27",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7732,
"end": 7740,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7732,
"end": 7736,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7736,
"end": 7740,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7737,
"end": 7739,
"ctxt": 0
},
"elemTypes": []
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7742,
"end": 7763,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7747,
"end": 7750,
"ctxt": 0
},
"value": "T28",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7753,
"end": 7762,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7753,
"end": 7757,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7757,
"end": 7762,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 7758,
"end": 7761,
"ctxt": 0
},
"kind": "any"
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7764,
"end": 7787,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7769,
"end": 7772,
"ctxt": 0
},
"value": "T29",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7775,
"end": 7786,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7775,
"end": 7779,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7779,
"end": 7786,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 7780,
"end": 7785,
"ctxt": 0
},
"kind": "never"
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7789,
"end": 7835,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7794,
"end": 7797,
"ctxt": 0
},
"value": "T30",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7800,
"end": 7834,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7800,
"end": 7808,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7808,
"end": 7834,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7809,
"end": 7833,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7810,
"end": 7816,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7810,
"end": 7816,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7818,
"end": 7824,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7818,
"end": 7824,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7826,
"end": 7832,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7826,
"end": 7832,
"ctxt": 0
},
"kind": "string"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7836,
"end": 7874,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7841,
"end": 7844,
"ctxt": 0
},
"value": "T31",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7847,
"end": 7873,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7847,
"end": 7855,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7855,
"end": 7873,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7856,
"end": 7872,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7857,
"end": 7863,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7857,
"end": 7863,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7865,
"end": 7871,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7865,
"end": 7871,
"ctxt": 0
},
"kind": "string"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7875,
"end": 7905,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7880,
"end": 7883,
"ctxt": 0
},
"value": "T32",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7886,
"end": 7904,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7886,
"end": 7894,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7894,
"end": 7904,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7895,
"end": 7903,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7896,
"end": 7902,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7896,
"end": 7902,
"ctxt": 0
},
"kind": "string"
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7906,
"end": 7957,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7911,
"end": 7914,
"ctxt": 0
},
"value": "T33",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7917,
"end": 7956,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7917,
"end": 7925,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7925,
"end": 7956,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7926,
"end": 7955,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7927,
"end": 7933,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7927,
"end": 7933,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7935,
"end": 7941,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7935,
"end": 7941,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7943,
"end": 7954,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 7943,
"end": 7954,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 7946,
"end": 7954,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 7946,
"end": 7952,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 7958,
"end": 8001,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 7963,
"end": 7966,
"ctxt": 0
},
"value": "T34",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 7969,
"end": 8000,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 7969,
"end": 7977,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 7977,
"end": 8000,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 7978,
"end": 7999,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 7979,
"end": 7985,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 7979,
"end": 7985,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 7987,
"end": 7998,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 7987,
"end": 7998,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 7990,
"end": 7998,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 7990,
"end": 7996,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8002,
"end": 8033,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8007,
"end": 8010,
"ctxt": 0
},
"value": "T35",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8013,
"end": 8032,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8013,
"end": 8021,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8021,
"end": 8032,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 8022,
"end": 8031,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8023,
"end": 8030,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsOptionalType",
"span": {
"start": 8023,
"end": 8030,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 8023,
"end": 8029,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8034,
"end": 8064,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8039,
"end": 8042,
"ctxt": 0
},
"value": "T36",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8045,
"end": 8063,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8045,
"end": 8053,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8053,
"end": 8063,
"ctxt": 0
},
"params": [
{
"type": "TsArrayType",
"span": {
"start": 8054,
"end": 8062,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 8054,
"end": 8060,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8065,
"end": 8089,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8070,
"end": 8073,
"ctxt": 0
},
"value": "T37",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8076,
"end": 8088,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8076,
"end": 8084,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8084,
"end": 8088,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 8085,
"end": 8087,
"ctxt": 0
},
"elemTypes": []
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8124,
"end": 8149,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8129,
"end": 8132,
"ctxt": 0
},
"value": "T38",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8135,
"end": 8148,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8135,
"end": 8143,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8143,
"end": 8148,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 8144,
"end": 8147,
"ctxt": 0
},
"kind": "any"
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8150,
"end": 8177,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8155,
"end": 8158,
"ctxt": 0
},
"value": "T39",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8161,
"end": 8176,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8161,
"end": 8169,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8169,
"end": 8176,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 8170,
"end": 8175,
"ctxt": 0
},
"kind": "never"
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8179,
"end": 8231,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8184,
"end": 8187,
"ctxt": 0
},
"value": "R00",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8190,
"end": 8230,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8190,
"end": 8195,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8195,
"end": 8230,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8196,
"end": 8229,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8205,
"end": 8229,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8206,
"end": 8212,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8206,
"end": 8212,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8214,
"end": 8220,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8214,
"end": 8220,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8222,
"end": 8228,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8222,
"end": 8228,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8232,
"end": 8276,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8237,
"end": 8240,
"ctxt": 0
},
"value": "R01",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8243,
"end": 8275,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8243,
"end": 8248,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8248,
"end": 8275,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8249,
"end": 8274,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8258,
"end": 8274,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8259,
"end": 8265,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8259,
"end": 8265,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8267,
"end": 8273,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8267,
"end": 8273,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8277,
"end": 8313,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8282,
"end": 8285,
"ctxt": 0
},
"value": "R02",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8288,
"end": 8312,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8288,
"end": 8293,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8293,
"end": 8312,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8294,
"end": 8311,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8303,
"end": 8311,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8304,
"end": 8310,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8304,
"end": 8310,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8314,
"end": 8371,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8319,
"end": 8322,
"ctxt": 0
},
"value": "R03",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8325,
"end": 8370,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8325,
"end": 8330,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8330,
"end": 8370,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8331,
"end": 8369,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8340,
"end": 8369,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8341,
"end": 8347,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8341,
"end": 8347,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8349,
"end": 8355,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8349,
"end": 8355,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8357,
"end": 8368,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 8357,
"end": 8368,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 8360,
"end": 8368,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 8360,
"end": 8366,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8372,
"end": 8421,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8377,
"end": 8380,
"ctxt": 0
},
"value": "R04",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8383,
"end": 8420,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8383,
"end": 8388,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8388,
"end": 8420,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8389,
"end": 8419,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8398,
"end": 8419,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8399,
"end": 8405,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8399,
"end": 8405,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8407,
"end": 8418,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 8407,
"end": 8418,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 8410,
"end": 8418,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 8410,
"end": 8416,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8422,
"end": 8458,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8427,
"end": 8430,
"ctxt": 0
},
"value": "R05",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8433,
"end": 8457,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8433,
"end": 8438,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8438,
"end": 8457,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8439,
"end": 8456,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 8448,
"end": 8456,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 8448,
"end": 8454,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8459,
"end": 8489,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8464,
"end": 8467,
"ctxt": 0
},
"value": "R06",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8470,
"end": 8488,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8470,
"end": 8475,
"ctxt": 0
},
"value": "First",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8475,
"end": 8488,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8476,
"end": 8487,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8485,
"end": 8487,
"ctxt": 0
},
"elemTypes": []
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8491,
"end": 8547,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8496,
"end": 8499,
"ctxt": 0
},
"value": "R10",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8502,
"end": 8546,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8502,
"end": 8511,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8511,
"end": 8546,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8512,
"end": 8545,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8521,
"end": 8545,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8522,
"end": 8528,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8522,
"end": 8528,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8530,
"end": 8536,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8530,
"end": 8536,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8538,
"end": 8544,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8538,
"end": 8544,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8548,
"end": 8596,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8553,
"end": 8556,
"ctxt": 0
},
"value": "R11",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8559,
"end": 8595,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8559,
"end": 8568,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8568,
"end": 8595,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8569,
"end": 8594,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8578,
"end": 8594,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8579,
"end": 8585,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8579,
"end": 8585,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8587,
"end": 8593,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8587,
"end": 8593,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8597,
"end": 8637,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8602,
"end": 8605,
"ctxt": 0
},
"value": "R12",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8608,
"end": 8636,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8608,
"end": 8617,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8617,
"end": 8636,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8618,
"end": 8635,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8627,
"end": 8635,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8628,
"end": 8634,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8628,
"end": 8634,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8638,
"end": 8699,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8643,
"end": 8646,
"ctxt": 0
},
"value": "R13",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8649,
"end": 8698,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8649,
"end": 8658,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8658,
"end": 8698,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8659,
"end": 8697,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8668,
"end": 8697,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8669,
"end": 8675,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8669,
"end": 8675,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8677,
"end": 8683,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8677,
"end": 8683,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8685,
"end": 8696,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 8685,
"end": 8696,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 8688,
"end": 8696,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 8688,
"end": 8694,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8700,
"end": 8753,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8705,
"end": 8708,
"ctxt": 0
},
"value": "R14",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8711,
"end": 8752,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8711,
"end": 8720,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8720,
"end": 8752,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8721,
"end": 8751,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8730,
"end": 8751,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8731,
"end": 8737,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8731,
"end": 8737,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8739,
"end": 8750,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 8739,
"end": 8750,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 8742,
"end": 8750,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 8742,
"end": 8748,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8754,
"end": 8794,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8759,
"end": 8762,
"ctxt": 0
},
"value": "R15",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8765,
"end": 8793,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8765,
"end": 8774,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8774,
"end": 8793,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8775,
"end": 8792,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 8784,
"end": 8792,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 8784,
"end": 8790,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8795,
"end": 8829,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8800,
"end": 8803,
"ctxt": 0
},
"value": "R16",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8806,
"end": 8828,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8806,
"end": 8815,
"ctxt": 0
},
"value": "DropFirst",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8815,
"end": 8828,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8816,
"end": 8827,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8825,
"end": 8827,
"ctxt": 0
},
"elemTypes": []
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8831,
"end": 8882,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8836,
"end": 8839,
"ctxt": 0
},
"value": "R20",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8842,
"end": 8881,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8842,
"end": 8846,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8846,
"end": 8881,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8847,
"end": 8880,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8856,
"end": 8880,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8857,
"end": 8863,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8857,
"end": 8863,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8865,
"end": 8871,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8865,
"end": 8871,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8873,
"end": 8879,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8873,
"end": 8879,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8883,
"end": 8926,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8888,
"end": 8891,
"ctxt": 0
},
"value": "R21",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8894,
"end": 8925,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8894,
"end": 8898,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8898,
"end": 8925,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8899,
"end": 8924,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8908,
"end": 8924,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8909,
"end": 8915,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8909,
"end": 8915,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8917,
"end": 8923,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8917,
"end": 8923,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8927,
"end": 8962,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8932,
"end": 8935,
"ctxt": 0
},
"value": "R22",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8938,
"end": 8961,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8938,
"end": 8942,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8942,
"end": 8961,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8943,
"end": 8960,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8952,
"end": 8960,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8953,
"end": 8959,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8953,
"end": 8959,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 8963,
"end": 9019,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 8968,
"end": 8971,
"ctxt": 0
},
"value": "R23",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 8974,
"end": 9018,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 8974,
"end": 8978,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 8978,
"end": 9018,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 8979,
"end": 9017,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 8988,
"end": 9017,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 8989,
"end": 8995,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8989,
"end": 8995,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 8997,
"end": 9003,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 8997,
"end": 9003,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 9005,
"end": 9016,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 9005,
"end": 9016,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 9008,
"end": 9016,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 9008,
"end": 9014,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 9020,
"end": 9068,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 9025,
"end": 9028,
"ctxt": 0
},
"value": "R24",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9031,
"end": 9067,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9031,
"end": 9035,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 9035,
"end": 9067,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 9036,
"end": 9066,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 9045,
"end": 9066,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 9046,
"end": 9052,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 9046,
"end": 9052,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 9054,
"end": 9065,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 9054,
"end": 9065,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 9057,
"end": 9065,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 9057,
"end": 9063,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 9069,
"end": 9104,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 9074,
"end": 9077,
"ctxt": 0
},
"value": "R25",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9080,
"end": 9103,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9080,
"end": 9084,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 9084,
"end": 9103,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 9085,
"end": 9102,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 9094,
"end": 9102,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 9094,
"end": 9100,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 9105,
"end": 9134,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 9110,
"end": 9113,
"ctxt": 0
},
"value": "R26",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9116,
"end": 9133,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9116,
"end": 9120,
"ctxt": 0
},
"value": "Last",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 9120,
"end": 9133,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 9121,
"end": 9132,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 9130,
"end": 9132,
"ctxt": 0
},
"elemTypes": []
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 9136,
"end": 9191,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 9141,
"end": 9144,
"ctxt": 0
},
"value": "R30",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9147,
"end": 9190,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9147,
"end": 9155,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 9155,
"end": 9190,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 9156,
"end": 9189,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 9165,
"end": 9189,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 9166,
"end": 9172,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 9166,
"end": 9172,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 9174,
"end": 9180,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 9174,
"end": 9180,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 9182,
"end": 9188,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 9182,
"end": 9188,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 9192,
"end": 9239,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 9197,
"end": 9200,
"ctxt": 0
},
"value": "R31",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9203,
"end": 9238,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9203,
"end": 9211,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 9211,
"end": 9238,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 9212,
"end": 9237,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 9221,
"end": 9237,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 9222,
"end": 9228,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 9222,
"end": 9228,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 9230,
"end": 9236,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 9230,
"end": 9236,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 9240,
"end": 9279,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 9245,
"end": 9248,
"ctxt": 0
},
"value": "R32",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9251,
"end": 9278,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9251,
"end": 9259,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 9259,
"end": 9278,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 9260,
"end": 9277,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 9269,
"end": 9277,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 9270,
"end": 9276,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 9270,
"end": 9276,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 9280,
"end": 9340,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 9285,
"end": 9288,
"ctxt": 0
},
"value": "R33",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9291,
"end": 9339,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9291,
"end": 9299,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 9299,
"end": 9339,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 9300,
"end": 9338,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 9309,
"end": 9338,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 9310,
"end": 9316,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 9310,
"end": 9316,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 9318,
"end": 9324,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 9318,
"end": 9324,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 9326,
"end": 9337,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 9326,
"end": 9337,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 9329,
"end": 9337,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 9329,
"end": 9335,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 9341,
"end": 9393,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 9346,
"end": 9349,
"ctxt": 0
},
"value": "R34",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9352,
"end": 9392,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9352,
"end": 9360,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 9360,
"end": 9392,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 9361,
"end": 9391,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 9370,
"end": 9391,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 9371,
"end": 9377,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 9371,
"end": 9377,
"ctxt": 0
},
"kind": "symbol"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 9379,
"end": 9390,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 9379,
"end": 9390,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 9382,
"end": 9390,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 9382,
"end": 9388,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 9394,
"end": 9433,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 9399,
"end": 9402,
"ctxt": 0
},
"value": "R35",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9405,
"end": 9432,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9405,
"end": 9413,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 9413,
"end": 9432,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 9414,
"end": 9431,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 9423,
"end": 9431,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 9423,
"end": 9429,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 9434,
"end": 9467,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 9439,
"end": 9442,
"ctxt": 0
},
"value": "R36",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9445,
"end": 9466,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9445,
"end": 9453,
"ctxt": 0
},
"value": "DropLast",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 9453,
"end": 9466,
"ctxt": 0
},
"params": [
{
"type": "TsTypeOperator",
"span": {
"start": 9454,
"end": 9465,
"ctxt": 0
},
"op": "readonly",
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 9463,
"end": 9465,
"ctxt": 0
},
"elemTypes": []
}
}
]
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 9533,
"end": 9538,
"ctxt": 0
},
"value": "curry",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 9584,
"end": 9615,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 9584,
"end": 9615,
"ctxt": 0
},
"value": "f",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 9585,
"end": 9615,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 9587,
"end": 9615,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 9588,
"end": 9609,
"ctxt": 0
},
"rest": {
"start": 9588,
"end": 9591,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 9591,
"end": 9595,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 9595,
"end": 9609,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 9597,
"end": 9609,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 9598,
"end": 9602,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 9598,
"end": 9602,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9601,
"end": 9602,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9601,
"end": 9602,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 9604,
"end": 9608,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 9604,
"end": 9608,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9607,
"end": 9608,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9607,
"end": 9608,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 9611,
"end": 9615,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9614,
"end": 9615,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9614,
"end": 9615,
"ctxt": 0
},
"value": "R",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 9617,
"end": 9624,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "RestElement",
"span": {
"start": 9617,
"end": 9624,
"ctxt": 0
},
"rest": {
"start": 9617,
"end": 9620,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 9620,
"end": 9621,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 9621,
"end": 9624,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9623,
"end": 9624,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9623,
"end": 9624,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
}
],
"decorators": [],
"span": {
"start": 9524,
"end": 9668,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 9626,
"end": 9668,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 9632,
"end": 9666,
"ctxt": 0
},
"argument": {
"type": "ArrowFunctionExpression",
"span": {
"start": 9639,
"end": 9665,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 9640,
"end": 9647,
"ctxt": 0
},
"rest": {
"start": 9640,
"end": 9643,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 9643,
"end": 9644,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 9644,
"end": 9647,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 9646,
"end": 9647,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 9646,
"end": 9647,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
],
"body": {
"type": "CallExpression",
"span": {
"start": 9652,
"end": 9665,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 9652,
"end": 9653,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": {
"start": 9654,
"end": 9657,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 9657,
"end": 9658,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
{
"spread": {
"start": 9660,
"end": 9663,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 9663,
"end": 9664,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
],
"typeArguments": null
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 9538,
"end": 9583,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 9539,
"end": 9558,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 9539,
"end": 9540,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 9549,
"end": 9558,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 9549,
"end": 9556,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 9560,
"end": 9579,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 9560,
"end": 9561,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 9570,
"end": 9579,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 9570,
"end": 9577,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 9581,
"end": 9582,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 9581,
"end": 9582,
"ctxt": 0
},
"value": "R",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
{
"type": "VariableDeclaration",
"span": {
"start": 9670,
"end": 9735,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 9676,
"end": 9734,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 9676,
"end": 9679,
"ctxt": 0
},
"value": "fn1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 9682,
"end": 9734,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 9683,
"end": 9692,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 9684,
"end": 9692,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 9686,
"end": 9692,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "Identifier",
"span": {
"start": 9694,
"end": 9703,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 9695,
"end": 9703,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 9697,
"end": 9703,
"ctxt": 0
},
"kind": "string"
}
}
},
{
"type": "Identifier",
"span": {
"start": 9705,
"end": 9715,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 9706,
"end": 9715,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 9708,
"end": 9715,
"ctxt": 0
},
"kind": "boolean"
}
}
},
{
"type": "Identifier",
"span": {
"start": 9717,
"end": 9728,
"ctxt": 0
},
"value": "d",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 9718,
"end": 9728,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 9720,
"end": 9728,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 9720,
"end": 9726,
"ctxt": 0
},
"kind": "string"
}
}
}
}
],
"body": {
"type": "NumericLiteral",
"span": {
"start": 9733,
"end": 9734,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 9737,
"end": 9759,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 9743,
"end": 9758,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 9743,
"end": 9745,
"ctxt": 0
},
"value": "c0",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 9748,
"end": 9758,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 9748,
"end": 9753,
"ctxt": 0
},
"value": "curry",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 9754,
"end": 9757,
"ctxt": 0
},
"value": "fn1",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 9822,
"end": 9847,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 9828,
"end": 9846,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 9828,
"end": 9830,
"ctxt": 0
},
"value": "c1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 9833,
"end": 9846,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 9833,
"end": 9838,
"ctxt": 0
},
"value": "curry",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 9839,
"end": 9842,
"ctxt": 0
},
"value": "fn1",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 9844,
"end": 9845,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 9899,
"end": 9931,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 9905,
"end": 9930,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 9905,
"end": 9907,
"ctxt": 0
},
"value": "c2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 9910,
"end": 9930,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 9910,
"end": 9915,
"ctxt": 0
},
"value": "curry",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 9916,
"end": 9919,
"ctxt": 0
},
"value": "fn1",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 9921,
"end": 9922,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 9924,
"end": 9929,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 9972,
"end": 10010,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 9978,
"end": 10009,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 9978,
"end": 9980,
"ctxt": 0
},
"value": "c3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 9983,
"end": 10009,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 9983,
"end": 9988,
"ctxt": 0
},
"value": "curry",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 9989,
"end": 9992,
"ctxt": 0
},
"value": "fn1",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 9994,
"end": 9995,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 9997,
"end": 10002,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 10004,
"end": 10008,
"ctxt": 0
},
"value": true
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 10039,
"end": 10089,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 10045,
"end": 10088,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 10045,
"end": 10047,
"ctxt": 0
},
"value": "c4",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 10050,
"end": 10088,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 10050,
"end": 10055,
"ctxt": 0
},
"value": "curry",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 10056,
"end": 10059,
"ctxt": 0
},
"value": "fn1",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 10061,
"end": 10062,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 10064,
"end": 10069,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 10071,
"end": 10075,
"ctxt": 0
},
"value": true
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 10077,
"end": 10087,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 10078,
"end": 10081,
"ctxt": 0
},
"value": "x",
"raw": "'x'"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 10083,
"end": 10086,
"ctxt": 0
},
"value": "y",
"raw": "'y'"
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 10108,
"end": 10168,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 10114,
"end": 10167,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 10114,
"end": 10117,
"ctxt": 0
},
"value": "fn2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 10120,
"end": 10167,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 10121,
"end": 10130,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 10122,
"end": 10130,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 10124,
"end": 10130,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "Identifier",
"span": {
"start": 10132,
"end": 10142,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 10133,
"end": 10142,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 10135,
"end": 10142,
"ctxt": 0
},
"kind": "boolean"
}
}
},
{
"type": "RestElement",
"span": {
"start": 10144,
"end": 10161,
"ctxt": 0
},
"rest": {
"start": 10144,
"end": 10147,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 10147,
"end": 10151,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 10151,
"end": 10161,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 10153,
"end": 10161,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 10153,
"end": 10159,
"ctxt": 0
},
"kind": "string"
}
}
}
}
],
"body": {
"type": "NumericLiteral",
"span": {
"start": 10166,
"end": 10167,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 10170,
"end": 10193,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 10176,
"end": 10192,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 10176,
"end": 10179,
"ctxt": 0
},
"value": "c10",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 10182,
"end": 10192,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 10182,
"end": 10187,
"ctxt": 0
},
"value": "curry",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 10188,
"end": 10191,
"ctxt": 0
},
"value": "fn2",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 10251,
"end": 10277,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 10257,
"end": 10276,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 10257,
"end": 10260,
"ctxt": 0
},
"value": "c11",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 10263,
"end": 10276,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 10263,
"end": 10268,
"ctxt": 0
},
"value": "curry",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 10269,
"end": 10272,
"ctxt": 0
},
"value": "fn2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 10274,
"end": 10275,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 10324,
"end": 10356,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 10330,
"end": 10355,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 10330,
"end": 10333,
"ctxt": 0
},
"value": "c12",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 10336,
"end": 10355,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 10336,
"end": 10341,
"ctxt": 0
},
"value": "curry",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 10342,
"end": 10345,
"ctxt": 0
},
"value": "fn2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 10347,
"end": 10348,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 10350,
"end": 10354,
"ctxt": 0
},
"value": true
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 10391,
"end": 10437,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 10397,
"end": 10436,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 10397,
"end": 10400,
"ctxt": 0
},
"value": "c13",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 10403,
"end": 10436,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 10403,
"end": 10408,
"ctxt": 0
},
"value": "curry",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 10409,
"end": 10412,
"ctxt": 0
},
"value": "fn2",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 10414,
"end": 10415,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 10417,
"end": 10421,
"ctxt": 0
},
"value": true
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 10423,
"end": 10428,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 10430,
"end": 10435,
"ctxt": 0
},
"value": "def",
"raw": "'def'"
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 10473,
"end": 10510,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 10479,
"end": 10509,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 10479,
"end": 10482,
"ctxt": 0
},
"value": "fn3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 10485,
"end": 10509,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 10486,
"end": 10503,
"ctxt": 0
},
"rest": {
"start": 10486,
"end": 10489,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 10489,
"end": 10493,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 10493,
"end": 10503,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 10495,
"end": 10503,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 10495,
"end": 10501,
"ctxt": 0
},
"kind": "string"
}
}
}
}
],
"body": {
"type": "NumericLiteral",
"span": {
"start": 10508,
"end": 10509,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 10512,
"end": 10535,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 10518,
"end": 10534,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 10518,
"end": 10521,
"ctxt": 0
},
"value": "c20",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 10524,
"end": 10534,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 10524,
"end": 10529,
"ctxt": 0
},
"value": "curry",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 10530,
"end": 10533,
"ctxt": 0
},
"value": "fn3",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 10570,
"end": 10607,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 10576,
"end": 10606,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 10576,
"end": 10579,
"ctxt": 0
},
"value": "c21",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 10582,
"end": 10606,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 10582,
"end": 10587,
"ctxt": 0
},
"value": "curry",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 10588,
"end": 10591,
"ctxt": 0
},
"value": "fn3",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 10593,
"end": 10598,
"ctxt": 0
},
"value": "abc",
"raw": "'abc'"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 10600,
"end": 10605,
"ctxt": 0
},
"value": "def",
"raw": "'def'"
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 10642,
"end": 10672,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 10648,
"end": 10671,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 10648,
"end": 10651,
"ctxt": 0
},
"value": "c22",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 10654,
"end": 10671,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 10654,
"end": 10659,
"ctxt": 0
},
"value": "curry",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 10660,
"end": 10663,
"ctxt": 0
},
"value": "fn3",
"optional": false
}
},
{
"spread": {
"start": 10665,
"end": 10668,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 10668,
"end": 10670,
"ctxt": 0
},
"value": "sa",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 10781,
"end": 10787,
"ctxt": 0
},
"value": "curry2",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 10833,
"end": 10864,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 10833,
"end": 10864,
"ctxt": 0
},
"value": "f",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 10834,
"end": 10864,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 10836,
"end": 10864,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 10837,
"end": 10858,
"ctxt": 0
},
"rest": {
"start": 10837,
"end": 10840,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 10840,
"end": 10844,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 10844,
"end": 10858,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 10846,
"end": 10858,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 10847,
"end": 10851,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 10847,
"end": 10851,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 10850,
"end": 10851,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 10850,
"end": 10851,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 10853,
"end": 10857,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 10853,
"end": 10857,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 10856,
"end": 10857,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 10856,
"end": 10857,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 10860,
"end": 10864,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 10863,
"end": 10864,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 10863,
"end": 10864,
"ctxt": 0
},
"value": "R",
"optional": false
},
"typeParams": null
}
}
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 10866,
"end": 10875,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 10866,
"end": 10875,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 10867,
"end": 10875,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 10869,
"end": 10875,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 10870,
"end": 10874,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 10870,
"end": 10874,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 10873,
"end": 10874,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 10873,
"end": 10874,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 10877,
"end": 10886,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 10877,
"end": 10886,
"ctxt": 0
},
"value": "u",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 10878,
"end": 10886,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 10880,
"end": 10886,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 10881,
"end": 10885,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 10881,
"end": 10885,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 10884,
"end": 10885,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 10884,
"end": 10885,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 10772,
"end": 10917,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 10888,
"end": 10917,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 10894,
"end": 10915,
"ctxt": 0
},
"argument": {
"type": "CallExpression",
"span": {
"start": 10901,
"end": 10914,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 10901,
"end": 10902,
"ctxt": 0
},
"value": "f",
"optional": false
},
"arguments": [
{
"spread": {
"start": 10903,
"end": 10906,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 10906,
"end": 10907,
"ctxt": 0
},
"value": "t",
"optional": false
}
},
{
"spread": {
"start": 10909,
"end": 10912,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 10912,
"end": 10913,
"ctxt": 0
},
"value": "u",
"optional": false
}
}
],
"typeArguments": null
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 10787,
"end": 10832,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 10788,
"end": 10807,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 10788,
"end": 10789,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 10798,
"end": 10807,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 10798,
"end": 10805,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 10809,
"end": 10828,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 10809,
"end": 10810,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 10819,
"end": 10828,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 10819,
"end": 10826,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 10830,
"end": 10831,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 10830,
"end": 10831,
"ctxt": 0
},
"value": "R",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 10936,
"end": 10940,
"ctxt": 0
},
"value": "fn10",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 10941,
"end": 10950,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 10941,
"end": 10950,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 10942,
"end": 10950,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 10944,
"end": 10950,
"ctxt": 0
},
"kind": "string"
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 10952,
"end": 10961,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 10952,
"end": 10961,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 10953,
"end": 10961,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 10955,
"end": 10961,
"ctxt": 0
},
"kind": "number"
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 10963,
"end": 10973,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 10963,
"end": 10973,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 10964,
"end": 10973,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 10966,
"end": 10973,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
],
"decorators": [],
"span": {
"start": 10919,
"end": 10985,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 10974,
"end": 10984,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 10976,
"end": 10984,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 10976,
"end": 10982,
"ctxt": 0
},
"kind": "string"
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 10987,
"end": 11023,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 10987,
"end": 11022,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 10987,
"end": 10993,
"ctxt": 0
},
"value": "curry2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 10994,
"end": 10998,
"ctxt": 0
},
"value": "fn10",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11000,
"end": 11013,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11001,
"end": 11008,
"ctxt": 0
},
"value": "hello",
"raw": "'hello'"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11010,
"end": 11012,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11015,
"end": 11021,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 11016,
"end": 11020,
"ctxt": 0
},
"value": true
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 11024,
"end": 11060,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 11024,
"end": 11059,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 11024,
"end": 11030,
"ctxt": 0
},
"value": "curry2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 11031,
"end": 11035,
"ctxt": 0
},
"value": "fn10",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11037,
"end": 11046,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11038,
"end": 11045,
"ctxt": 0
},
"value": "hello",
"raw": "'hello'"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11048,
"end": 11058,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11049,
"end": 11051,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 11053,
"end": 11057,
"ctxt": 0
},
"value": true
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 11157,
"end": 11159,
"ctxt": 0
},
"value": "ft",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 11181,
"end": 11191,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 11181,
"end": 11191,
"ctxt": 0
},
"value": "t1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 11183,
"end": 11191,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 11185,
"end": 11191,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 11186,
"end": 11190,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 11186,
"end": 11190,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 11189,
"end": 11190,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11189,
"end": 11190,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 11193,
"end": 11212,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 11193,
"end": 11212,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 11195,
"end": 11212,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 11197,
"end": 11212,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 11198,
"end": 11202,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 11198,
"end": 11202,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 11201,
"end": 11202,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11201,
"end": 11202,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 11204,
"end": 11211,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsOptionalType",
"span": {
"start": 11204,
"end": 11211,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 11204,
"end": 11210,
"ctxt": 0
},
"kind": "number"
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 11140,
"end": 11217,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 11159,
"end": 11180,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 11160,
"end": 11179,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 11160,
"end": 11161,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 11170,
"end": 11179,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 11170,
"end": 11177,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 11213,
"end": 11216,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 11215,
"end": 11216,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11215,
"end": 11216,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 11219,
"end": 11244,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 11219,
"end": 11243,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 11219,
"end": 11221,
"ctxt": 0
},
"value": "ft",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11222,
"end": 11231,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11223,
"end": 11224,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11226,
"end": 11227,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11229,
"end": 11230,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11233,
"end": 11242,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11234,
"end": 11235,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11237,
"end": 11238,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11240,
"end": 11241,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 11245,
"end": 11267,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 11245,
"end": 11266,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 11245,
"end": 11247,
"ctxt": 0
},
"value": "ft",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11248,
"end": 11254,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11249,
"end": 11250,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11252,
"end": 11253,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11256,
"end": 11265,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11257,
"end": 11258,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11260,
"end": 11261,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11263,
"end": 11264,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 11268,
"end": 11294,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 11268,
"end": 11294,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 11268,
"end": 11270,
"ctxt": 0
},
"value": "ft",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11271,
"end": 11281,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11272,
"end": 11275,
"ctxt": 0
},
"value": "a",
"raw": "'a'"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11277,
"end": 11280,
"ctxt": 0
},
"value": "b",
"raw": "'b'"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11283,
"end": 11293,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11284,
"end": 11287,
"ctxt": 0
},
"value": "c",
"raw": "'c'"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11289,
"end": 11292,
"ctxt": 0
},
"value": "d",
"raw": "'d'"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 11295,
"end": 11325,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 11295,
"end": 11325,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 11295,
"end": 11297,
"ctxt": 0
},
"value": "ft",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11298,
"end": 11308,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11299,
"end": 11302,
"ctxt": 0
},
"value": "a",
"raw": "'a'"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11304,
"end": 11307,
"ctxt": 0
},
"value": "b",
"raw": "'b'"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11310,
"end": 11324,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11311,
"end": 11314,
"ctxt": 0
},
"value": "c",
"raw": "'c'"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11316,
"end": 11319,
"ctxt": 0
},
"value": "d",
"raw": "'d'"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11321,
"end": 11323,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 11384,
"end": 11388,
"ctxt": 0
},
"value": "call",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 11413,
"end": 11447,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "RestElement",
"span": {
"start": 11413,
"end": 11447,
"ctxt": 0
},
"rest": {
"start": 11413,
"end": 11416,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 11416,
"end": 11420,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 11420,
"end": 11447,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 11422,
"end": 11447,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 11423,
"end": 11427,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 11423,
"end": 11427,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 11426,
"end": 11427,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11426,
"end": 11427,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 11429,
"end": 11446,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsFunctionType",
"span": {
"start": 11429,
"end": 11446,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 11430,
"end": 11440,
"ctxt": 0
},
"rest": {
"start": 11430,
"end": 11433,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 11433,
"end": 11437,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 11437,
"end": 11440,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 11439,
"end": 11440,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11439,
"end": 11440,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 11442,
"end": 11446,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 11445,
"end": 11446,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11445,
"end": 11446,
"ctxt": 0
},
"value": "R",
"optional": false
},
"typeParams": null
}
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 11367,
"end": 11457,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 11388,
"end": 11412,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 11389,
"end": 11408,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 11389,
"end": 11390,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 11399,
"end": 11408,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 11399,
"end": 11406,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 11410,
"end": 11411,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 11410,
"end": 11411,
"ctxt": 0
},
"value": "R",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 11448,
"end": 11456,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 11450,
"end": 11456,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 11451,
"end": 11452,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsTypeReference",
"span": {
"start": 11451,
"end": 11452,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11451,
"end": 11452,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
},
{
"type": "TsTupleElement",
"span": {
"start": 11454,
"end": 11455,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsTypeReference",
"span": {
"start": 11454,
"end": 11455,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11454,
"end": 11455,
"ctxt": 0
},
"value": "R",
"optional": false
},
"typeParams": null
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 11459,
"end": 11491,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 11459,
"end": 11490,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 11459,
"end": 11463,
"ctxt": 0
},
"value": "call",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11464,
"end": 11471,
"ctxt": 0
},
"value": "hello",
"raw": "'hello'"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11473,
"end": 11475,
"ctxt": 0
},
"value": 32.0,
"raw": "32"
}
},
{
"spread": null,
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 11477,
"end": 11489,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 11478,
"end": 11479,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 11481,
"end": 11482,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
}
],
"body": {
"type": "NumericLiteral",
"span": {
"start": 11487,
"end": 11489,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 11492,
"end": 11518,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 11492,
"end": 11517,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 11492,
"end": 11496,
"ctxt": 0
},
"value": "call",
"optional": false
},
"arguments": [
{
"spread": {
"start": 11497,
"end": 11500,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 11500,
"end": 11502,
"ctxt": 0
},
"value": "sa",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 11504,
"end": 11516,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 11508,
"end": 11509,
"ctxt": 0
},
"rest": {
"start": 11505,
"end": 11508,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 11508,
"end": 11509,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": null
}
],
"body": {
"type": "NumericLiteral",
"span": {
"start": 11514,
"end": 11516,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
],
"typeArguments": null
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 11616,
"end": 11619,
"ctxt": 0
},
"value": "f20",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 11646,
"end": 11667,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 11646,
"end": 11667,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 11650,
"end": 11667,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 11652,
"end": 11667,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 11653,
"end": 11657,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 11653,
"end": 11657,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 11656,
"end": 11657,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11656,
"end": 11657,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 11659,
"end": 11666,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsOptionalType",
"span": {
"start": 11659,
"end": 11666,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 11659,
"end": 11665,
"ctxt": 0
},
"kind": "number"
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 11599,
"end": 11672,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 11619,
"end": 11645,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 11620,
"end": 11644,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 11620,
"end": 11621,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 11630,
"end": 11639,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 11630,
"end": 11637,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": {
"type": "TsTupleType",
"span": {
"start": 11642,
"end": 11644,
"ctxt": 0
},
"elemTypes": []
}
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 11668,
"end": 11671,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 11670,
"end": 11671,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11670,
"end": 11671,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 11683,
"end": 11686,
"ctxt": 0
},
"value": "f21",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 11707,
"end": 11728,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 11707,
"end": 11728,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 11711,
"end": 11728,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 11713,
"end": 11728,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 11714,
"end": 11718,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 11714,
"end": 11718,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 11717,
"end": 11718,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11717,
"end": 11718,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 11720,
"end": 11727,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsOptionalType",
"span": {
"start": 11720,
"end": 11727,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 11720,
"end": 11726,
"ctxt": 0
},
"kind": "number"
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 11674,
"end": 11854,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 11730,
"end": 11854,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 11736,
"end": 11755,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 11740,
"end": 11754,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 11740,
"end": 11742,
"ctxt": 0
},
"value": "v1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 11745,
"end": 11754,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 11745,
"end": 11748,
"ctxt": 0
},
"value": "f20",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 11749,
"end": 11753,
"ctxt": 0
},
"value": "args",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 11766,
"end": 11795,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 11770,
"end": 11794,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 11770,
"end": 11772,
"ctxt": 0
},
"value": "v2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 11775,
"end": 11794,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 11775,
"end": 11778,
"ctxt": 0
},
"value": "f20",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11779,
"end": 11793,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11780,
"end": 11785,
"ctxt": 0
},
"value": "foo",
"raw": "\"foo\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11787,
"end": 11792,
"ctxt": 0
},
"value": "bar",
"raw": "\"bar\""
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 11813,
"end": 11839,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 11817,
"end": 11838,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 11817,
"end": 11819,
"ctxt": 0
},
"value": "v3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 11822,
"end": 11838,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 11822,
"end": 11825,
"ctxt": 0
},
"value": "f20",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 11826,
"end": 11837,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 11827,
"end": 11832,
"ctxt": 0
},
"value": "foo",
"raw": "\"foo\""
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 11834,
"end": 11836,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 11686,
"end": 11706,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 11687,
"end": 11705,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 11687,
"end": 11688,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 11697,
"end": 11705,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 11697,
"end": 11703,
"ctxt": 0
},
"kind": "string"
}
},
"default": null
}
]
},
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 11873,
"end": 11876,
"ctxt": 0
},
"value": "f22",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 11903,
"end": 11923,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 11903,
"end": 11923,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 11907,
"end": 11923,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 11909,
"end": 11923,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 11910,
"end": 11914,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 11910,
"end": 11914,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 11913,
"end": 11914,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11913,
"end": 11914,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 11916,
"end": 11922,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 11916,
"end": 11922,
"ctxt": 0
},
"kind": "number"
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 11856,
"end": 11928,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 11876,
"end": 11902,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 11877,
"end": 11901,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 11877,
"end": 11878,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 11887,
"end": 11896,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 11887,
"end": 11894,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": {
"type": "TsTupleType",
"span": {
"start": 11899,
"end": 11901,
"ctxt": 0
},
"elemTypes": []
}
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 11924,
"end": 11927,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 11926,
"end": 11927,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11926,
"end": 11927,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 11946,
"end": 11949,
"ctxt": 0
},
"value": "f22",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 11976,
"end": 11988,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 11976,
"end": 11988,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 11980,
"end": 11988,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 11982,
"end": 11988,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 11983,
"end": 11987,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 11983,
"end": 11987,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 11986,
"end": 11987,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11986,
"end": 11987,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 11929,
"end": 11993,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 11949,
"end": 11975,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 11950,
"end": 11974,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 11950,
"end": 11951,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 11960,
"end": 11969,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 11960,
"end": 11967,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": {
"type": "TsTupleType",
"span": {
"start": 11972,
"end": 11974,
"ctxt": 0
},
"elemTypes": []
}
}
]
},
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 11989,
"end": 11992,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 11991,
"end": 11992,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 11991,
"end": 11992,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 12004,
"end": 12007,
"ctxt": 0
},
"value": "f23",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 12028,
"end": 12048,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 12028,
"end": 12048,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12032,
"end": 12048,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 12034,
"end": 12048,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 12035,
"end": 12039,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 12035,
"end": 12039,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12038,
"end": 12039,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12038,
"end": 12039,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 12041,
"end": 12047,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 12041,
"end": 12047,
"ctxt": 0
},
"kind": "number"
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 11995,
"end": 12182,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 12050,
"end": 12182,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 12056,
"end": 12075,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 12060,
"end": 12074,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 12060,
"end": 12062,
"ctxt": 0
},
"value": "v1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 12065,
"end": 12074,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 12065,
"end": 12068,
"ctxt": 0
},
"value": "f22",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 12069,
"end": 12073,
"ctxt": 0
},
"value": "args",
"optional": false
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 12086,
"end": 12115,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 12090,
"end": 12114,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 12090,
"end": 12092,
"ctxt": 0
},
"value": "v2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 12095,
"end": 12114,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 12095,
"end": 12098,
"ctxt": 0
},
"value": "f22",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 12099,
"end": 12113,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 12100,
"end": 12105,
"ctxt": 0
},
"value": "foo",
"raw": "\"foo\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 12107,
"end": 12112,
"ctxt": 0
},
"value": "bar",
"raw": "\"bar\""
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 12141,
"end": 12167,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 12145,
"end": 12166,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 12145,
"end": 12147,
"ctxt": 0
},
"value": "v3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 12150,
"end": 12166,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 12150,
"end": 12153,
"ctxt": 0
},
"value": "f22",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 12154,
"end": 12165,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 12155,
"end": 12160,
"ctxt": 0
},
"value": "foo",
"raw": "\"foo\""
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 12162,
"end": 12164,
"ctxt": 0
},
"value": 42.0,
"raw": "42"
}
}
]
}
}
],
"typeArguments": null
},
"definite": false
}
]
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 12007,
"end": 12027,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 12008,
"end": 12026,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 12008,
"end": 12009,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 12018,
"end": 12026,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 12018,
"end": 12024,
"ctxt": 0
},
"kind": "string"
}
},
"default": null
}
]
},
"returnType": null
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 12206,
"end": 12396,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 12216,
"end": 12220,
"ctxt": 0
},
"value": "Desc",
"optional": false
},
"declare": false,
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 12220,
"end": 12244,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 12221,
"end": 12240,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 12221,
"end": 12222,
"ctxt": 0
},
"value": "A",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 12231,
"end": 12240,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 12231,
"end": 12238,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 12242,
"end": 12243,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 12242,
"end": 12243,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
},
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 12245,
"end": 12396,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 12251,
"end": 12281,
"ctxt": 0
},
"readonly": true,
"key": {
"type": "Identifier",
"span": {
"start": 12260,
"end": 12261,
"ctxt": 0
},
"value": "f",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12261,
"end": 12280,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 12263,
"end": 12280,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 12264,
"end": 12274,
"ctxt": 0
},
"rest": {
"start": 12264,
"end": 12267,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 12267,
"end": 12271,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12271,
"end": 12274,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12273,
"end": 12274,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12273,
"end": 12274,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeParams": null
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12276,
"end": 12280,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12279,
"end": 12280,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12279,
"end": 12280,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
},
"typeParams": null
},
{
"type": "TsMethodSignature",
"span": {
"start": 12286,
"end": 12394,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 12286,
"end": 12290,
"ctxt": 0
},
"value": "bind",
"optional": false
},
"computed": false,
"optional": false,
"params": [
{
"type": "Identifier",
"span": {
"start": 12336,
"end": 12363,
"ctxt": 0
},
"value": "this",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12340,
"end": 12363,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12342,
"end": 12363,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12342,
"end": 12346,
"ctxt": 0
},
"value": "Desc",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 12346,
"end": 12363,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 12347,
"end": 12359,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 12348,
"end": 12352,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 12348,
"end": 12352,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12351,
"end": 12352,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12351,
"end": 12352,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 12354,
"end": 12358,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 12354,
"end": 12358,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12357,
"end": 12358,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12357,
"end": 12358,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
]
},
{
"type": "TsTypeReference",
"span": {
"start": 12361,
"end": 12362,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12361,
"end": 12362,
"ctxt": 0
},
"value": "R",
"optional": false
},
"typeParams": null
}
]
}
}
}
},
{
"type": "RestElement",
"span": {
"start": 12365,
"end": 12375,
"ctxt": 0
},
"rest": {
"start": 12365,
"end": 12368,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 12368,
"end": 12372,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12372,
"end": 12375,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12374,
"end": 12375,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12374,
"end": 12375,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
],
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 12376,
"end": 12393,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12378,
"end": 12393,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12378,
"end": 12382,
"ctxt": 0
},
"value": "Desc",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 12382,
"end": 12393,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 12383,
"end": 12389,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 12384,
"end": 12388,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 12384,
"end": 12388,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12387,
"end": 12388,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12387,
"end": 12388,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
]
},
{
"type": "TsTypeReference",
"span": {
"start": 12391,
"end": 12392,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12391,
"end": 12392,
"ctxt": 0
},
"value": "R",
"optional": false
},
"typeParams": null
}
]
}
}
},
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 12290,
"end": 12335,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 12291,
"end": 12310,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 12291,
"end": 12292,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 12301,
"end": 12310,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 12301,
"end": 12308,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 12312,
"end": 12331,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 12312,
"end": 12313,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 12322,
"end": 12331,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 12322,
"end": 12329,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": null
},
{
"type": "TsTypeParameter",
"span": {
"start": 12333,
"end": 12334,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 12333,
"end": 12334,
"ctxt": 0
},
"value": "R",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": null
}
]
}
}
]
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 12398,
"end": 12455,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 12412,
"end": 12454,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 12412,
"end": 12413,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12413,
"end": 12454,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12415,
"end": 12454,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12415,
"end": 12419,
"ctxt": 0
},
"value": "Desc",
"optional": false
},
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 12419,
"end": 12454,
"ctxt": 0
},
"params": [
{
"type": "TsTupleType",
"span": {
"start": 12420,
"end": 12445,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 12421,
"end": 12427,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 12421,
"end": 12427,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 12429,
"end": 12435,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 12429,
"end": 12435,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 12437,
"end": 12444,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 12437,
"end": 12444,
"ctxt": 0
},
"kind": "boolean"
}
}
]
},
{
"type": "TsKeywordType",
"span": {
"start": 12447,
"end": 12453,
"ctxt": 0
},
"kind": "object"
}
]
}
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 12456,
"end": 12480,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 12462,
"end": 12479,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 12462,
"end": 12463,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 12466,
"end": 12479,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 12466,
"end": 12472,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 12466,
"end": 12467,
"ctxt": 0
},
"value": "a",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 12468,
"end": 12472,
"ctxt": 0
},
"value": "bind",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 12473,
"end": 12475,
"ctxt": 0
},
"value": "",
"raw": "\"\""
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 12477,
"end": 12478,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 12549,
"end": 12556,
"ctxt": 0
},
"value": "getUser",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 12557,
"end": 12567,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 12557,
"end": 12567,
"ctxt": 0
},
"value": "id",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12559,
"end": 12567,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 12561,
"end": 12567,
"ctxt": 0
},
"kind": "string"
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 12569,
"end": 12593,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 12569,
"end": 12593,
"ctxt": 0
},
"value": "options",
"optional": true,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12577,
"end": 12593,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 12579,
"end": 12593,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 12581,
"end": 12591,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 12581,
"end": 12582,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": true,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12583,
"end": 12591,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 12585,
"end": 12591,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 12532,
"end": 12603,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 12594,
"end": 12602,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 12596,
"end": 12602,
"ctxt": 0
},
"kind": "string"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 12622,
"end": 12632,
"ctxt": 0
},
"value": "getOrgUser",
"optional": false
},
"declare": true,
"params": [
{
"type": "Parameter",
"span": {
"start": 12633,
"end": 12643,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 12633,
"end": 12643,
"ctxt": 0
},
"value": "id",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12635,
"end": 12643,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 12637,
"end": 12643,
"ctxt": 0
},
"kind": "string"
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 12645,
"end": 12658,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 12645,
"end": 12658,
"ctxt": 0
},
"value": "orgId",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12650,
"end": 12658,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 12652,
"end": 12658,
"ctxt": 0
},
"kind": "number"
}
}
}
},
{
"type": "Parameter",
"span": {
"start": 12660,
"end": 12697,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 12660,
"end": 12697,
"ctxt": 0
},
"value": "options",
"optional": true,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12668,
"end": 12697,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 12670,
"end": 12697,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 12672,
"end": 12683,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 12672,
"end": 12673,
"ctxt": 0
},
"value": "y",
"optional": false
},
"computed": false,
"optional": true,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12674,
"end": 12682,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 12676,
"end": 12682,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 12684,
"end": 12695,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 12684,
"end": 12685,
"ctxt": 0
},
"value": "z",
"optional": false
},
"computed": false,
"optional": true,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12686,
"end": 12695,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 12688,
"end": 12695,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 12605,
"end": 12705,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 12698,
"end": 12704,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 12700,
"end": 12704,
"ctxt": 0
},
"kind": "void"
}
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 12716,
"end": 12723,
"ctxt": 0
},
"value": "callApi",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 12760,
"end": 12798,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 12760,
"end": 12798,
"ctxt": 0
},
"value": "method",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12766,
"end": 12798,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 12768,
"end": 12798,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 12769,
"end": 12792,
"ctxt": 0
},
"rest": {
"start": 12769,
"end": 12772,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 12772,
"end": 12776,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12776,
"end": 12792,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 12778,
"end": 12792,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 12779,
"end": 12783,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 12779,
"end": 12783,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12782,
"end": 12783,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12782,
"end": 12783,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 12785,
"end": 12791,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 12785,
"end": 12791,
"ctxt": 0
},
"kind": "object"
}
}
]
}
}
}
],
"typeParams": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12794,
"end": 12798,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12797,
"end": 12798,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12797,
"end": 12798,
"ctxt": 0
},
"value": "U",
"optional": false
},
"typeParams": null
}
}
}
}
}
}
],
"decorators": [],
"span": {
"start": 12707,
"end": 12856,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 12800,
"end": 12856,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 12806,
"end": 12854,
"ctxt": 0
},
"argument": {
"type": "ArrowFunctionExpression",
"span": {
"start": 12813,
"end": 12853,
"ctxt": 0
},
"params": [
{
"type": "RestElement",
"span": {
"start": 12814,
"end": 12829,
"ctxt": 0
},
"rest": {
"start": 12814,
"end": 12817,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 12817,
"end": 12821,
"ctxt": 0
},
"value": "args",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12821,
"end": 12829,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 12823,
"end": 12829,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 12824,
"end": 12828,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 12824,
"end": 12828,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12827,
"end": 12828,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12827,
"end": 12828,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
}
],
"body": {
"type": "CallExpression",
"span": {
"start": 12834,
"end": 12853,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 12834,
"end": 12840,
"ctxt": 0
},
"value": "method",
"optional": false
},
"arguments": [
{
"spread": {
"start": 12841,
"end": 12844,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 12844,
"end": 12848,
"ctxt": 0
},
"value": "args",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 12850,
"end": 12852,
"ctxt": 0
},
"properties": []
}
}
],
"typeArguments": null
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
]
},
"generator": false,
"async": false,
"typeParameters": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 12723,
"end": 12759,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 12724,
"end": 12748,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 12724,
"end": 12725,
"ctxt": 0
},
"value": "T",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": {
"type": "TsArrayType",
"span": {
"start": 12734,
"end": 12743,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 12734,
"end": 12741,
"ctxt": 0
},
"kind": "unknown"
}
},
"default": {
"type": "TsTupleType",
"span": {
"start": 12746,
"end": 12748,
"ctxt": 0
},
"elemTypes": []
}
},
{
"type": "TsTypeParameter",
"span": {
"start": 12750,
"end": 12758,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 12750,
"end": 12751,
"ctxt": 0
},
"value": "U",
"optional": false
},
"in": false,
"out": false,
"const": false,
"constraint": null,
"default": {
"type": "TsKeywordType",
"span": {
"start": 12754,
"end": 12758,
"ctxt": 0
},
"kind": "void"
}
}
]
},
"returnType": null
},
{
"type": "ExpressionStatement",
"span": {
"start": 12858,
"end": 12875,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 12858,
"end": 12874,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 12858,
"end": 12865,
"ctxt": 0
},
"value": "callApi",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 12866,
"end": 12873,
"ctxt": 0
},
"value": "getUser",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 12876,
"end": 12896,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 12876,
"end": 12895,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 12876,
"end": 12883,
"ctxt": 0
},
"value": "callApi",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 12884,
"end": 12894,
"ctxt": 0
},
"value": "getOrgUser",
"optional": false
}
}
],
"typeArguments": null
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 12920,
"end": 12944,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 12925,
"end": 12932,
"ctxt": 0
},
"value": "Numbers",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 12935,
"end": 12943,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 12935,
"end": 12941,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 12945,
"end": 12984,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 12950,
"end": 12959,
"ctxt": 0
},
"value": "Unbounded",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 12962,
"end": 12983,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 12963,
"end": 12973,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 12963,
"end": 12973,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12966,
"end": 12973,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12966,
"end": 12973,
"ctxt": 0
},
"value": "Numbers",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 12975,
"end": 12982,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 12975,
"end": 12982,
"ctxt": 0
},
"kind": "boolean"
}
}
]
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 12985,
"end": 13024,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 12991,
"end": 13023,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 12991,
"end": 12995,
"ctxt": 0
},
"value": "data",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 12995,
"end": 13006,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 12997,
"end": 13006,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 12997,
"end": 13006,
"ctxt": 0
},
"value": "Unbounded",
"optional": false
},
"typeParams": null
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 13009,
"end": 13023,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 13010,
"end": 13015,
"ctxt": 0
},
"value": false
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 13017,
"end": 13022,
"ctxt": 0
},
"value": false
}
}
]
},
"definite": false
}
]
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 13036,
"end": 13076,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 13041,
"end": 13043,
"ctxt": 0
},
"value": "U1",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 13046,
"end": 13075,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 13047,
"end": 13053,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 13047,
"end": 13053,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 13055,
"end": 13065,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 13055,
"end": 13065,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 13058,
"end": 13065,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 13058,
"end": 13065,
"ctxt": 0
},
"value": "Numbers",
"optional": false
},
"typeParams": null
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 13067,
"end": 13074,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 13067,
"end": 13074,
"ctxt": 0
},
"kind": "boolean"
}
}
]
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 13077,
"end": 13122,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 13082,
"end": 13084,
"ctxt": 0
},
"value": "U2",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 13087,
"end": 13121,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 13088,
"end": 13111,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 13088,
"end": 13111,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 13091,
"end": 13111,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 13092,
"end": 13098,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 13092,
"end": 13098,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 13100,
"end": 13110,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 13100,
"end": 13110,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 13103,
"end": 13110,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 13103,
"end": 13110,
"ctxt": 0
},
"value": "Numbers",
"optional": false
},
"typeParams": null
}
}
}
]
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 13113,
"end": 13120,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 13113,
"end": 13120,
"ctxt": 0
},
"kind": "boolean"
}
}
]
}
},
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 13123,
"end": 13164,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 13128,
"end": 13130,
"ctxt": 0
},
"value": "U3",
"optional": false
},
"typeParams": null,
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 13133,
"end": 13163,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 13134,
"end": 13153,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsRestType",
"span": {
"start": 13134,
"end": 13153,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 13137,
"end": 13153,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 13138,
"end": 13144,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 13138,
"end": 13144,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 13146,
"end": 13152,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 13146,
"end": 13152,
"ctxt": 0
},
"kind": "number"
}
}
]
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 13155,
"end": 13162,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 13155,
"end": 13162,
"ctxt": 0
},
"kind": "boolean"
}
}
]
}
}
],
"interpreter": null
}