1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "VariableDeclaration", 6 "declarations": [ 7 { 8 "type": "VariableDeclarator", 9 "id": { 10 "type": "Identifier", 11 "name": "e", 12 "typeAnnotation": { 13 "type": "TSVoidKeyword", 14 "loc": { 15 "start": { 16 "line": 17, 17 "column": 8 18 }, 19 "end": { 20 "line": 17, 21 "column": 12 22 } 23 } 24 }, 25 "decorators": [], 26 "loc": { 27 "start": { 28 "line": 17, 29 "column": 5 30 }, 31 "end": { 32 "line": 17, 33 "column": 6 34 } 35 } 36 }, 37 "init": null, 38 "loc": { 39 "start": { 40 "line": 17, 41 "column": 5 42 }, 43 "end": { 44 "line": 17, 45 "column": 6 46 } 47 } 48 } 49 ], 50 "kind": "var", 51 "loc": { 52 "start": { 53 "line": 17, 54 "column": 1 55 }, 56 "end": { 57 "line": 17, 58 "column": 13 59 } 60 } 61 }, 62 { 63 "type": "VariableDeclaration", 64 "declarations": [ 65 { 66 "type": "VariableDeclarator", 67 "id": { 68 "type": "ObjectPattern", 69 "properties": [ 70 { 71 "type": "Property", 72 "method": false, 73 "shorthand": false, 74 "computed": false, 75 "key": { 76 "type": "Identifier", 77 "name": "a", 78 "decorators": [], 79 "loc": { 80 "start": { 81 "line": 18, 82 "column": 7 83 }, 84 "end": { 85 "line": 18, 86 "column": 8 87 } 88 } 89 }, 90 "value": { 91 "type": "AssignmentPattern", 92 "left": { 93 "type": "ObjectPattern", 94 "properties": [ 95 { 96 "type": "Property", 97 "method": false, 98 "shorthand": false, 99 "computed": false, 100 "key": { 101 "type": "Identifier", 102 "name": "b", 103 "decorators": [], 104 "loc": { 105 "start": { 106 "line": 18, 107 "column": 12 108 }, 109 "end": { 110 "line": 18, 111 "column": 13 112 } 113 } 114 }, 115 "value": { 116 "type": "AssignmentPattern", 117 "left": { 118 "type": "ArrayPattern", 119 "elements": [ 120 { 121 "type": "AssignmentPattern", 122 "left": { 123 "type": "Identifier", 124 "name": "c", 125 "decorators": [], 126 "loc": { 127 "start": { 128 "line": 18, 129 "column": 16 130 }, 131 "end": { 132 "line": 18, 133 "column": 17 134 } 135 } 136 }, 137 "right": { 138 "type": "NumberLiteral", 139 "value": 2, 140 "loc": { 141 "start": { 142 "line": 18, 143 "column": 20 144 }, 145 "end": { 146 "line": 18, 147 "column": 21 148 } 149 } 150 }, 151 "loc": { 152 "start": { 153 "line": 18, 154 "column": 16 155 }, 156 "end": { 157 "line": 18, 158 "column": 21 159 } 160 } 161 }, 162 { 163 "type": "Identifier", 164 "name": "d", 165 "decorators": [], 166 "loc": { 167 "start": { 168 "line": 18, 169 "column": 23 170 }, 171 "end": { 172 "line": 18, 173 "column": 24 174 } 175 } 176 } 177 ], 178 "loc": { 179 "start": { 180 "line": 18, 181 "column": 15 182 }, 183 "end": { 184 "line": 18, 185 "column": 25 186 } 187 } 188 }, 189 "right": { 190 "type": "ArrayExpression", 191 "elements": [ 192 { 193 "type": "StringLiteral", 194 "value": "foo", 195 "loc": { 196 "start": { 197 "line": 18, 198 "column": 29 199 }, 200 "end": { 201 "line": 18, 202 "column": 34 203 } 204 } 205 }, 206 { 207 "type": "BooleanLiteral", 208 "value": true, 209 "loc": { 210 "start": { 211 "line": 18, 212 "column": 36 213 }, 214 "end": { 215 "line": 18, 216 "column": 40 217 } 218 } 219 } 220 ], 221 "loc": { 222 "start": { 223 "line": 18, 224 "column": 28 225 }, 226 "end": { 227 "line": 18, 228 "column": 41 229 } 230 } 231 }, 232 "loc": { 233 "start": { 234 "line": 18, 235 "column": 15 236 }, 237 "end": { 238 "line": 18, 239 "column": 41 240 } 241 } 242 }, 243 "kind": "init", 244 "loc": { 245 "start": { 246 "line": 18, 247 "column": 12 248 }, 249 "end": { 250 "line": 18, 251 "column": 41 252 } 253 } 254 } 255 ], 256 "loc": { 257 "start": { 258 "line": 18, 259 "column": 10 260 }, 261 "end": { 262 "line": 18, 263 "column": 43 264 } 265 } 266 }, 267 "right": { 268 "type": "ObjectExpression", 269 "properties": [ 270 { 271 "type": "Property", 272 "method": false, 273 "shorthand": false, 274 "computed": false, 275 "key": { 276 "type": "Identifier", 277 "name": "b", 278 "decorators": [], 279 "loc": { 280 "start": { 281 "line": 18, 282 "column": 48 283 }, 284 "end": { 285 "line": 18, 286 "column": 49 287 } 288 } 289 }, 290 "value": { 291 "type": "ArrayExpression", 292 "elements": [ 293 { 294 "type": "NumberLiteral", 295 "value": 2, 296 "loc": { 297 "start": { 298 "line": 18, 299 "column": 52 300 }, 301 "end": { 302 "line": 18, 303 "column": 53 304 } 305 } 306 }, 307 { 308 "type": "StringLiteral", 309 "value": "foo", 310 "loc": { 311 "start": { 312 "line": 18, 313 "column": 55 314 }, 315 "end": { 316 "line": 18, 317 "column": 60 318 } 319 } 320 } 321 ], 322 "loc": { 323 "start": { 324 "line": 18, 325 "column": 51 326 }, 327 "end": { 328 "line": 18, 329 "column": 61 330 } 331 } 332 }, 333 "kind": "init", 334 "loc": { 335 "start": { 336 "line": 18, 337 "column": 48 338 }, 339 "end": { 340 "line": 18, 341 "column": 61 342 } 343 } 344 } 345 ], 346 "loc": { 347 "start": { 348 "line": 18, 349 "column": 46 350 }, 351 "end": { 352 "line": 18, 353 "column": 63 354 } 355 } 356 }, 357 "loc": { 358 "start": { 359 "line": 18, 360 "column": 10 361 }, 362 "end": { 363 "line": 18, 364 "column": 63 365 } 366 } 367 }, 368 "kind": "init", 369 "loc": { 370 "start": { 371 "line": 18, 372 "column": 7 373 }, 374 "end": { 375 "line": 18, 376 "column": 63 377 } 378 } 379 } 380 ], 381 "loc": { 382 "start": { 383 "line": 18, 384 "column": 5 385 }, 386 "end": { 387 "line": 18, 388 "column": 65 389 } 390 } 391 }, 392 "init": { 393 "type": "ObjectExpression", 394 "properties": [ 395 { 396 "type": "Property", 397 "method": false, 398 "shorthand": false, 399 "computed": false, 400 "key": { 401 "type": "Identifier", 402 "name": "a", 403 "decorators": [], 404 "loc": { 405 "start": { 406 "line": 18, 407 "column": 70 408 }, 409 "end": { 410 "line": 18, 411 "column": 71 412 } 413 } 414 }, 415 "value": { 416 "type": "ObjectExpression", 417 "properties": [ 418 { 419 "type": "Property", 420 "method": false, 421 "shorthand": false, 422 "computed": false, 423 "key": { 424 "type": "Identifier", 425 "name": "k", 426 "decorators": [], 427 "loc": { 428 "start": { 429 "line": 18, 430 "column": 75 431 }, 432 "end": { 433 "line": 18, 434 "column": 76 435 } 436 } 437 }, 438 "value": { 439 "type": "NumberLiteral", 440 "value": 2, 441 "loc": { 442 "start": { 443 "line": 18, 444 "column": 78 445 }, 446 "end": { 447 "line": 18, 448 "column": 79 449 } 450 } 451 }, 452 "kind": "init", 453 "loc": { 454 "start": { 455 "line": 18, 456 "column": 75 457 }, 458 "end": { 459 "line": 18, 460 "column": 79 461 } 462 } 463 }, 464 { 465 "type": "Property", 466 "method": false, 467 "shorthand": false, 468 "computed": false, 469 "key": { 470 "type": "Identifier", 471 "name": "b", 472 "decorators": [], 473 "loc": { 474 "start": { 475 "line": 18, 476 "column": 81 477 }, 478 "end": { 479 "line": 18, 480 "column": 82 481 } 482 } 483 }, 484 "value": { 485 "type": "ArrayExpression", 486 "elements": [ 487 { 488 "type": "BooleanLiteral", 489 "value": true, 490 "loc": { 491 "start": { 492 "line": 18, 493 "column": 85 494 }, 495 "end": { 496 "line": 18, 497 "column": 89 498 } 499 } 500 }, 501 { 502 "type": "BigIntLiteral", 503 "value": "2", 504 "loc": { 505 "start": { 506 "line": 18, 507 "column": 91 508 }, 509 "end": { 510 "line": 18, 511 "column": 93 512 } 513 } 514 } 515 ], 516 "loc": { 517 "start": { 518 "line": 18, 519 "column": 84 520 }, 521 "end": { 522 "line": 18, 523 "column": 94 524 } 525 } 526 }, 527 "kind": "init", 528 "loc": { 529 "start": { 530 "line": 18, 531 "column": 81 532 }, 533 "end": { 534 "line": 18, 535 "column": 94 536 } 537 } 538 } 539 ], 540 "loc": { 541 "start": { 542 "line": 18, 543 "column": 73 544 }, 545 "end": { 546 "line": 18, 547 "column": 96 548 } 549 } 550 }, 551 "kind": "init", 552 "loc": { 553 "start": { 554 "line": 18, 555 "column": 70 556 }, 557 "end": { 558 "line": 18, 559 "column": 96 560 } 561 } 562 }, 563 { 564 "type": "Property", 565 "method": false, 566 "shorthand": false, 567 "computed": false, 568 "key": { 569 "type": "Identifier", 570 "name": "t", 571 "decorators": [], 572 "loc": { 573 "start": { 574 "line": 18, 575 "column": 98 576 }, 577 "end": { 578 "line": 18, 579 "column": 99 580 } 581 } 582 }, 583 "value": { 584 "type": "NumberLiteral", 585 "value": 6, 586 "loc": { 587 "start": { 588 "line": 18, 589 "column": 101 590 }, 591 "end": { 592 "line": 18, 593 "column": 102 594 } 595 } 596 }, 597 "kind": "init", 598 "loc": { 599 "start": { 600 "line": 18, 601 "column": 98 602 }, 603 "end": { 604 "line": 18, 605 "column": 102 606 } 607 } 608 } 609 ], 610 "loc": { 611 "start": { 612 "line": 18, 613 "column": 68 614 }, 615 "end": { 616 "line": 18, 617 "column": 104 618 } 619 } 620 }, 621 "loc": { 622 "start": { 623 "line": 18, 624 "column": 5 625 }, 626 "end": { 627 "line": 18, 628 "column": 104 629 } 630 } 631 } 632 ], 633 "kind": "var", 634 "loc": { 635 "start": { 636 "line": 18, 637 "column": 1 638 }, 639 "end": { 640 "line": 18, 641 "column": 105 642 } 643 } 644 } 645 ], 646 "loc": { 647 "start": { 648 "line": 1, 649 "column": 1 650 }, 651 "end": { 652 "line": 21, 653 "column": 1 654 } 655 } 656} 657TypeError: Object literal may only specify known properties, and property 't' does not exist in the pattern. [objectDestructuring27.ts:18:5] 658