{
  "type": "Program",
  "statements": [
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "a",
          "decorators": [],
          "loc": {
            "start": {
              "line": 1,
              "column": 10
            },
            "end": {
              "line": 1,
              "column": 11
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "Identifier",
            "name": "a",
            "typeAnnotation": {
              "type": "TSArrayType",
              "elementType": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 15
                  },
                  "end": {
                    "line": 1,
                    "column": 21
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 1,
                  "column": 15
                },
                "end": {
                  "line": 1,
                  "column": 23
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 1,
                "column": 12
              },
              "end": {
                "line": 1,
                "column": 13
              }
            }
          }
        ],
        "returnType": {
          "type": "TSTypeLiteral",
          "members": [
            {
              "type": "TSPropertySignature",
              "computed": false,
              "optional": false,
              "readonly": false,
              "key": {
                "type": "Identifier",
                "name": "b",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 28
                  },
                  "end": {
                    "line": 1,
                    "column": 29
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 31
                  },
                  "end": {
                    "line": 1,
                    "column": 37
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 1,
                  "column": 28
                },
                "end": {
                  "line": 1,
                  "column": 38
                }
              }
            },
            {
              "type": "TSPropertySignature",
              "computed": false,
              "optional": false,
              "readonly": false,
              "key": {
                "type": "Identifier",
                "name": "c",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 39
                  },
                  "end": {
                    "line": 1,
                    "column": 40
                  }
                }
              },
              "typeAnnotation": {
                "type": "TSTupleType",
                "elementTypes": [
                  {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 1,
                        "column": 43
                      },
                      "end": {
                        "line": 1,
                        "column": 50
                      }
                    }
                  },
                  {
                    "type": "TSStringKeyword",
                    "loc": {
                      "start": {
                        "line": 1,
                        "column": 51
                      },
                      "end": {
                        "line": 1,
                        "column": 58
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 42
                  },
                  "end": {
                    "line": 1,
                    "column": 58
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 1,
                  "column": 39
                },
                "end": {
                  "line": 1,
                  "column": 60
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 26
            },
            "end": {
              "line": 1,
              "column": 60
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "statements": [
            {
              "type": "ReturnStatement",
              "argument": {
                "type": "ObjectExpression",
                "properties": [
                  {
                    "type": "Property",
                    "method": false,
                    "shorthand": false,
                    "computed": false,
                    "key": {
                      "type": "Identifier",
                      "name": "b",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 2,
                          "column": 14
                        },
                        "end": {
                          "line": 2,
                          "column": 15
                        }
                      }
                    },
                    "value": {
                      "type": "NumberLiteral",
                      "value": 5,
                      "loc": {
                        "start": {
                          "line": 2,
                          "column": 17
                        },
                        "end": {
                          "line": 2,
                          "column": 18
                        }
                      }
                    },
                    "kind": "init",
                    "loc": {
                      "start": {
                        "line": 2,
                        "column": 14
                      },
                      "end": {
                        "line": 2,
                        "column": 18
                      }
                    }
                  },
                  {
                    "type": "Property",
                    "method": false,
                    "shorthand": false,
                    "computed": false,
                    "key": {
                      "type": "Identifier",
                      "name": "c",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 2,
                          "column": 20
                        },
                        "end": {
                          "line": 2,
                          "column": 21
                        }
                      }
                    },
                    "value": {
                      "type": "ArrayExpression",
                      "elements": [
                        {
                          "type": "NumberLiteral",
                          "value": 1,
                          "loc": {
                            "start": {
                              "line": 2,
                              "column": 24
                            },
                            "end": {
                              "line": 2,
                              "column": 25
                            }
                          }
                        },
                        {
                          "type": "StringLiteral",
                          "value": "",
                          "loc": {
                            "start": {
                              "line": 2,
                              "column": 27
                            },
                            "end": {
                              "line": 2,
                              "column": 32
                            }
                          }
                        }
                      ],
                      "loc": {
                        "start": {
                          "line": 2,
                          "column": 23
                        },
                        "end": {
                          "line": 2,
                          "column": 33
                        }
                      }
                    },
                    "kind": "init",
                    "loc": {
                      "start": {
                        "line": 2,
                        "column": 20
                      },
                      "end": {
                        "line": 2,
                        "column": 33
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 12
                  },
                  "end": {
                    "line": 2,
                    "column": 35
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 2,
                  "column": 5
                },
                "end": {
                  "line": 2,
                  "column": 36
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 61
            },
            "end": {
              "line": 3,
              "column": 2
            }
          }
        },
        "loc": {
          "start": {
            "line": 1,
            "column": 1
          },
          "end": {
            "line": 3,
            "column": 2
          }
        }
      },
      "loc": {
        "start": {
          "line": 1,
          "column": 1
        },
        "end": {
          "line": 3,
          "column": 2
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "ObjectPattern",
            "properties": [
              {
                "type": "Property",
                "method": false,
                "shorthand": true,
                "computed": false,
                "key": {
                  "type": "Identifier",
                  "name": "b",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 5,
                      "column": 7
                    },
                    "end": {
                      "line": 5,
                      "column": 8
                    }
                  }
                },
                "value": {
                  "type": "AssignmentPattern",
                  "left": {
                    "type": "Identifier",
                    "name": "b",
                    "decorators": [],
                    "loc": {
                      "start": {
                        "line": 5,
                        "column": 7
                      },
                      "end": {
                        "line": 5,
                        "column": 8
                      }
                    }
                  },
                  "right": {
                    "type": "StringLiteral",
                    "value": "",
                    "loc": {
                      "start": {
                        "line": 5,
                        "column": 11
                      },
                      "end": {
                        "line": 5,
                        "column": 16
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 5,
                      "column": 7
                    },
                    "end": {
                      "line": 5,
                      "column": 16
                    }
                  }
                },
                "kind": "init",
                "loc": {
                  "start": {
                    "line": 5,
                    "column": 7
                  },
                  "end": {
                    "line": 5,
                    "column": 16
                  }
                }
              },
              {
                "type": "Property",
                "method": false,
                "shorthand": false,
                "computed": false,
                "key": {
                  "type": "Identifier",
                  "name": "c",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 5,
                      "column": 18
                    },
                    "end": {
                      "line": 5,
                      "column": 19
                    }
                  }
                },
                "value": {
                  "type": "ArrayPattern",
                  "elements": [
                    {
                      "type": "Identifier",
                      "name": "c",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 5,
                          "column": 22
                        },
                        "end": {
                          "line": 5,
                          "column": 23
                        }
                      }
                    },
                    {
                      "type": "Identifier",
                      "name": "d",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 5,
                          "column": 25
                        },
                        "end": {
                          "line": 5,
                          "column": 26
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 5,
                      "column": 21
                    },
                    "end": {
                      "line": 5,
                      "column": 27
                    }
                  }
                },
                "kind": "init",
                "loc": {
                  "start": {
                    "line": 5,
                    "column": 18
                  },
                  "end": {
                    "line": 5,
                    "column": 27
                  }
                }
              }
            ],
            "loc": {
              "start": {
                "line": 5,
                "column": 5
              },
              "end": {
                "line": 5,
                "column": 29
              }
            }
          },
          "init": {
            "type": "CallExpression",
            "callee": {
              "type": "Identifier",
              "name": "a",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 5,
                  "column": 32
                },
                "end": {
                  "line": 5,
                  "column": 33
                }
              }
            },
            "arguments": [
              {
                "type": "ArrayExpression",
                "elements": [
                  {
                    "type": "NumberLiteral",
                    "value": 1,
                    "loc": {
                      "start": {
                        "line": 5,
                        "column": 35
                      },
                      "end": {
                        "line": 5,
                        "column": 36
                      }
                    }
                  },
                  {
                    "type": "NumberLiteral",
                    "value": 2,
                    "loc": {
                      "start": {
                        "line": 5,
                        "column": 38
                      },
                      "end": {
                        "line": 5,
                        "column": 39
                      }
                    }
                  },
                  {
                    "type": "NumberLiteral",
                    "value": 3,
                    "loc": {
                      "start": {
                        "line": 5,
                        "column": 41
                      },
                      "end": {
                        "line": 5,
                        "column": 42
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 5,
                    "column": 34
                  },
                  "end": {
                    "line": 5,
                    "column": 43
                  }
                }
              }
            ],
            "optional": false,
            "loc": {
              "start": {
                "line": 5,
                "column": 32
              },
              "end": {
                "line": 5,
                "column": 44
              }
            }
          },
          "loc": {
            "start": {
              "line": 5,
              "column": 5
            },
            "end": {
              "line": 5,
              "column": 44
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 5,
          "column": 1
        },
        "end": {
          "line": 5,
          "column": 45
        }
      }
    },
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "AssignmentExpression",
        "operator": "=",
        "left": {
          "type": "Identifier",
          "name": "d",
          "decorators": [],
          "loc": {
            "start": {
              "line": 6,
              "column": 1
            },
            "end": {
              "line": 6,
              "column": 2
            }
          }
        },
        "right": {
          "type": "ObjectExpression",
          "properties": [],
          "loc": {
            "start": {
              "line": 6,
              "column": 5
            },
            "end": {
              "line": 6,
              "column": 7
            }
          }
        },
        "loc": {
          "start": {
            "line": 6,
            "column": 1
          },
          "end": {
            "line": 6,
            "column": 7
          }
        }
      },
      "loc": {
        "start": {
          "line": 6,
          "column": 1
        },
        "end": {
          "line": 6,
          "column": 8
        }
      }
    }
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 1
    },
    "end": {
      "line": 6,
      "column": 8
    }
  }
}
TypeError: Type '{ }' is not assignable to type 'string'. [objectDestructuring25.ts:6:1]
