{
  "type": "Program",
  "statements": [
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "func1",
          "loc": {
            "start": {
              "line": 17,
              "column": 10,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 17,
              "column": 15,
              "program": "test-func-param.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "Identifier",
            "name": "a",
            "typeAnnotation": {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 17,
                  "column": 19,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 17,
                  "column": 25,
                  "program": "test-func-param.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 17,
                "column": 16,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 17,
                "column": 17,
                "program": "test-func-param.ts"
              }
            }
          },
          {
            "type": "Identifier",
            "name": "b",
            "typeAnnotation": {
              "type": "TSStringKeyword",
              "loc": {
                "start": {
                  "line": 17,
                  "column": 30,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 17,
                  "column": 36,
                  "program": "test-func-param.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 17,
                "column": 27,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 17,
                "column": 28,
                "program": "test-func-param.ts"
              }
            }
          }
        ],
        "body": {
          "type": "BlockStatement",
          "statements": [],
          "loc": {
            "start": {
              "line": 17,
              "column": 38,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 17,
              "column": 41,
              "program": "test-func-param.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 17,
            "column": 1,
            "program": "test-func-param.ts"
          },
          "end": {
            "line": 17,
            "column": 41,
            "program": "test-func-param.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 17,
          "column": 1,
          "program": "test-func-param.ts"
        },
        "end": {
          "line": 17,
          "column": 41,
          "program": "test-func-param.ts"
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "func2",
          "loc": {
            "start": {
              "line": 18,
              "column": 10,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 18,
              "column": 15,
              "program": "test-func-param.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "AssignmentPattern",
            "left": {
              "type": "Identifier",
              "name": "a",
              "typeAnnotation": {
                "type": "TSBooleanKeyword",
                "loc": {
                  "start": {
                    "line": 18,
                    "column": 19,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 18,
                    "column": 26,
                    "program": "test-func-param.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 18,
                  "column": 16,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 18,
                  "column": 17,
                  "program": "test-func-param.ts"
                }
              }
            },
            "right": {
              "type": "BooleanLiteral",
              "value": true,
              "loc": {
                "start": {
                  "line": 18,
                  "column": 29,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 18,
                  "column": 33,
                  "program": "test-func-param.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 18,
                "column": 16,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 18,
                "column": 33,
                "program": "test-func-param.ts"
              }
            }
          },
          {
            "type": "RestElement",
            "argument": {
              "type": "Identifier",
              "name": "b",
              "typeAnnotation": {
                "type": "TSArrayType",
                "elementType": {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 18,
                      "column": 41,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 18,
                      "column": 47,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                "annotations": [],
                "loc": {
                  "start": {
                    "line": 18,
                    "column": 41,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 18,
                    "column": 49,
                    "program": "test-func-param.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 18,
                  "column": 38,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 18,
                  "column": 39,
                  "program": "test-func-param.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 18,
                "column": 35,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 18,
                "column": 39,
                "program": "test-func-param.ts"
              }
            }
          }
        ],
        "body": {
          "type": "BlockStatement",
          "statements": [],
          "loc": {
            "start": {
              "line": 18,
              "column": 51,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 18,
              "column": 54,
              "program": "test-func-param.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 18,
            "column": 1,
            "program": "test-func-param.ts"
          },
          "end": {
            "line": 18,
            "column": 54,
            "program": "test-func-param.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 18,
          "column": 1,
          "program": "test-func-param.ts"
        },
        "end": {
          "line": 18,
          "column": 54,
          "program": "test-func-param.ts"
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "func3",
          "loc": {
            "start": {
              "line": 19,
              "column": 10,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 19,
              "column": 15,
              "program": "test-func-param.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "AssignmentPattern",
            "left": {
              "type": "Identifier",
              "name": "a",
              "loc": {
                "start": {
                  "line": 19,
                  "column": 16,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 19,
                  "column": 17,
                  "program": "test-func-param.ts"
                }
              }
            },
            "right": {
              "type": "NumberLiteral",
              "value": 6,
              "loc": {
                "start": {
                  "line": 19,
                  "column": 20,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 19,
                  "column": 21,
                  "program": "test-func-param.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 19,
                "column": 16,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 19,
                "column": 21,
                "program": "test-func-param.ts"
              }
            }
          },
          {
            "type": "ArrayPattern",
            "elements": [
              {
                "type": "Identifier",
                "name": "c",
                "loc": {
                  "start": {
                    "line": 19,
                    "column": 24,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 19,
                    "column": 25,
                    "program": "test-func-param.ts"
                  }
                }
              },
              {
                "type": "Identifier",
                "name": "d",
                "loc": {
                  "start": {
                    "line": 19,
                    "column": 27,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 19,
                    "column": 28,
                    "program": "test-func-param.ts"
                  }
                }
              }
            ],
            "loc": {
              "start": {
                "line": 19,
                "column": 23,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 19,
                "column": 29,
                "program": "test-func-param.ts"
              }
            }
          },
          {
            "type": "Identifier",
            "name": "b",
            "optional": true,
            "loc": {
              "start": {
                "line": 19,
                "column": 31,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 19,
                "column": 32,
                "program": "test-func-param.ts"
              }
            }
          }
        ],
        "body": {
          "type": "BlockStatement",
          "statements": [],
          "loc": {
            "start": {
              "line": 19,
              "column": 35,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 19,
              "column": 38,
              "program": "test-func-param.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 19,
            "column": 1,
            "program": "test-func-param.ts"
          },
          "end": {
            "line": 19,
            "column": 38,
            "program": "test-func-param.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 19,
          "column": 1,
          "program": "test-func-param.ts"
        },
        "end": {
          "line": 19,
          "column": 38,
          "program": "test-func-param.ts"
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "func4",
          "loc": {
            "start": {
              "line": 20,
              "column": 10,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 20,
              "column": 15,
              "program": "test-func-param.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "ObjectPattern",
            "properties": [],
            "typeAnnotation": {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 20,
                  "column": 21,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 20,
                  "column": 27,
                  "program": "test-func-param.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 20,
                "column": 16,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 20,
                "column": 19,
                "program": "test-func-param.ts"
              }
            }
          },
          {
            "type": "ArrayPattern",
            "elements": [
              {
                "type": "Identifier",
                "name": "a",
                "loc": {
                  "start": {
                    "line": 20,
                    "column": 30,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 20,
                    "column": 31,
                    "program": "test-func-param.ts"
                  }
                }
              },
              {
                "type": "Identifier",
                "name": "b",
                "loc": {
                  "start": {
                    "line": 20,
                    "column": 33,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 20,
                    "column": 34,
                    "program": "test-func-param.ts"
                  }
                }
              }
            ],
            "typeAnnotation": {
              "type": "TSArrayType",
              "elementType": {
                "type": "TSStringKeyword",
                "loc": {
                  "start": {
                    "line": 20,
                    "column": 37,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 20,
                    "column": 43,
                    "program": "test-func-param.ts"
                  }
                }
              },
              "annotations": [],
              "loc": {
                "start": {
                  "line": 20,
                  "column": 37,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 20,
                  "column": 45,
                  "program": "test-func-param.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 20,
                "column": 29,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 20,
                "column": 35,
                "program": "test-func-param.ts"
              }
            }
          }
        ],
        "body": {
          "type": "BlockStatement",
          "statements": [],
          "loc": {
            "start": {
              "line": 20,
              "column": 47,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 20,
              "column": 50,
              "program": "test-func-param.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 20,
            "column": 1,
            "program": "test-func-param.ts"
          },
          "end": {
            "line": 20,
            "column": 50,
            "program": "test-func-param.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 20,
          "column": 1,
          "program": "test-func-param.ts"
        },
        "end": {
          "line": 20,
          "column": 50,
          "program": "test-func-param.ts"
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "func5",
          "loc": {
            "start": {
              "line": 21,
              "column": 10,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 21,
              "column": 15,
              "program": "test-func-param.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "AssignmentPattern",
            "left": {
              "type": "ArrayPattern",
              "elements": [
                {
                  "type": "Identifier",
                  "name": "a",
                  "loc": {
                    "start": {
                      "line": 21,
                      "column": 17,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 21,
                      "column": 18,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                {
                  "type": "Identifier",
                  "name": "b",
                  "loc": {
                    "start": {
                      "line": 21,
                      "column": 20,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 21,
                      "column": 21,
                      "program": "test-func-param.ts"
                    }
                  }
                }
              ],
              "typeAnnotation": {
                "type": "TSTupleType",
                "elementTypes": [
                  {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 21,
                        "column": 25,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 21,
                        "column": 32,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  {
                    "type": "TSStringKeyword",
                    "loc": {
                      "start": {
                        "line": 21,
                        "column": 33,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 21,
                        "column": 40,
                        "program": "test-func-param.ts"
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 21,
                    "column": 24,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 21,
                    "column": 40,
                    "program": "test-func-param.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 21,
                  "column": 16,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 21,
                  "column": 22,
                  "program": "test-func-param.ts"
                }
              }
            },
            "right": {
              "type": "ArrayExpression",
              "elements": [
                {
                  "type": "NumberLiteral",
                  "value": 1,
                  "loc": {
                    "start": {
                      "line": 21,
                      "column": 44,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 21,
                      "column": 45,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                {
                  "type": "StringLiteral",
                  "value": "foo",
                  "loc": {
                    "start": {
                      "line": 21,
                      "column": 47,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 21,
                      "column": 52,
                      "program": "test-func-param.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 21,
                  "column": 43,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 21,
                  "column": 53,
                  "program": "test-func-param.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 21,
                "column": 16,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 21,
                "column": 53,
                "program": "test-func-param.ts"
              }
            }
          }
        ],
        "body": {
          "type": "BlockStatement",
          "statements": [],
          "loc": {
            "start": {
              "line": 21,
              "column": 55,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 21,
              "column": 58,
              "program": "test-func-param.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 21,
            "column": 1,
            "program": "test-func-param.ts"
          },
          "end": {
            "line": 21,
            "column": 58,
            "program": "test-func-param.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 21,
          "column": 1,
          "program": "test-func-param.ts"
        },
        "end": {
          "line": 21,
          "column": 58,
          "program": "test-func-param.ts"
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "func6",
          "loc": {
            "start": {
              "line": 22,
              "column": 10,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 22,
              "column": 15,
              "program": "test-func-param.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "AssignmentPattern",
            "left": {
              "type": "ObjectPattern",
              "properties": [
                {
                  "type": "Property",
                  "method": false,
                  "shorthand": true,
                  "computed": false,
                  "key": {
                    "type": "Identifier",
                    "name": "a",
                    "loc": {
                      "start": {
                        "line": 22,
                        "column": 18,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 22,
                        "column": 19,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "value": {
                    "type": "Identifier",
                    "name": "a",
                    "loc": {
                      "start": {
                        "line": 22,
                        "column": 18,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 22,
                        "column": 19,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "kind": "init",
                  "loc": {
                    "start": {
                      "line": 22,
                      "column": 18,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 22,
                      "column": 19,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                {
                  "type": "Property",
                  "method": false,
                  "shorthand": true,
                  "computed": false,
                  "key": {
                    "type": "Identifier",
                    "name": "b",
                    "loc": {
                      "start": {
                        "line": 22,
                        "column": 21,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 22,
                        "column": 22,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "value": {
                    "type": "Identifier",
                    "name": "b",
                    "loc": {
                      "start": {
                        "line": 22,
                        "column": 21,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 22,
                        "column": 22,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "kind": "init",
                  "loc": {
                    "start": {
                      "line": 22,
                      "column": 21,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 22,
                      "column": 22,
                      "program": "test-func-param.ts"
                    }
                  }
                }
              ],
              "typeAnnotation": {
                "type": "TSTypeLiteral",
                "members": [
                  {
                    "type": "TSPropertySignature",
                    "computed": false,
                    "optional": false,
                    "readonly": false,
                    "key": {
                      "type": "Identifier",
                      "name": "a",
                      "loc": {
                        "start": {
                          "line": 22,
                          "column": 28,
                          "program": "test-func-param.ts"
                        },
                        "end": {
                          "line": 22,
                          "column": 29,
                          "program": "test-func-param.ts"
                        }
                      }
                    },
                    "typeAnnotation": {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 22,
                          "column": 31,
                          "program": "test-func-param.ts"
                        },
                        "end": {
                          "line": 22,
                          "column": 37,
                          "program": "test-func-param.ts"
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 22,
                        "column": 28,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 22,
                        "column": 38,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  {
                    "type": "TSPropertySignature",
                    "computed": false,
                    "optional": false,
                    "readonly": false,
                    "key": {
                      "type": "Identifier",
                      "name": "b",
                      "loc": {
                        "start": {
                          "line": 22,
                          "column": 39,
                          "program": "test-func-param.ts"
                        },
                        "end": {
                          "line": 22,
                          "column": 40,
                          "program": "test-func-param.ts"
                        }
                      }
                    },
                    "typeAnnotation": {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 22,
                          "column": 42,
                          "program": "test-func-param.ts"
                        },
                        "end": {
                          "line": 22,
                          "column": 48,
                          "program": "test-func-param.ts"
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 22,
                        "column": 39,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 22,
                        "column": 50,
                        "program": "test-func-param.ts"
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 22,
                    "column": 26,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 22,
                    "column": 50,
                    "program": "test-func-param.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 22,
                  "column": 16,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 22,
                  "column": 24,
                  "program": "test-func-param.ts"
                }
              }
            },
            "right": {
              "type": "ObjectExpression",
              "properties": [
                {
                  "type": "Property",
                  "method": false,
                  "shorthand": false,
                  "computed": false,
                  "key": {
                    "type": "Identifier",
                    "name": "a",
                    "loc": {
                      "start": {
                        "line": 22,
                        "column": 55,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 22,
                        "column": 56,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "value": {
                    "type": "NumberLiteral",
                    "value": 0,
                    "loc": {
                      "start": {
                        "line": 22,
                        "column": 58,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 22,
                        "column": 59,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "kind": "init",
                  "loc": {
                    "start": {
                      "line": 22,
                      "column": 55,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 22,
                      "column": 59,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                {
                  "type": "Property",
                  "method": false,
                  "shorthand": false,
                  "computed": false,
                  "key": {
                    "type": "Identifier",
                    "name": "b",
                    "loc": {
                      "start": {
                        "line": 22,
                        "column": 61,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 22,
                        "column": 62,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "value": {
                    "type": "NumberLiteral",
                    "value": 0,
                    "loc": {
                      "start": {
                        "line": 22,
                        "column": 64,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 22,
                        "column": 65,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "kind": "init",
                  "loc": {
                    "start": {
                      "line": 22,
                      "column": 61,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 22,
                      "column": 65,
                      "program": "test-func-param.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 22,
                  "column": 53,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 22,
                  "column": 67,
                  "program": "test-func-param.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 22,
                "column": 16,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 22,
                "column": 67,
                "program": "test-func-param.ts"
              }
            }
          }
        ],
        "body": {
          "type": "BlockStatement",
          "statements": [],
          "loc": {
            "start": {
              "line": 22,
              "column": 69,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 22,
              "column": 72,
              "program": "test-func-param.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 22,
            "column": 1,
            "program": "test-func-param.ts"
          },
          "end": {
            "line": 22,
            "column": 72,
            "program": "test-func-param.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 22,
          "column": 1,
          "program": "test-func-param.ts"
        },
        "end": {
          "line": 22,
          "column": 72,
          "program": "test-func-param.ts"
        }
      }
    },
    {
      "type": "TSDeclareFunction",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "func7",
          "loc": {
            "start": {
              "line": 23,
              "column": 18,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 23,
              "column": 23,
              "program": "test-func-param.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "ArrayPattern",
            "elements": [
              {
                "type": "Identifier",
                "name": "a",
                "loc": {
                  "start": {
                    "line": 23,
                    "column": 25,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 23,
                    "column": 26,
                    "program": "test-func-param.ts"
                  }
                }
              },
              {
                "type": "Identifier",
                "name": "b",
                "loc": {
                  "start": {
                    "line": 23,
                    "column": 28,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 23,
                    "column": 29,
                    "program": "test-func-param.ts"
                  }
                }
              }
            ],
            "typeAnnotation": {
              "type": "TSTupleType",
              "elementTypes": [
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 23,
                      "column": 33,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 23,
                      "column": 40,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 23,
                      "column": 41,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 23,
                      "column": 48,
                      "program": "test-func-param.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 23,
                  "column": 32,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 23,
                  "column": 48,
                  "program": "test-func-param.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 23,
                "column": 24,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 23,
                "column": 30,
                "program": "test-func-param.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 23,
            "column": 9,
            "program": "test-func-param.ts"
          },
          "end": {
            "line": 24,
            "column": 8,
            "program": "test-func-param.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 23,
          "column": 9,
          "program": "test-func-param.ts"
        },
        "end": {
          "line": 24,
          "column": 8,
          "program": "test-func-param.ts"
        }
      }
    },
    {
      "type": "TSDeclareFunction",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "func8",
          "loc": {
            "start": {
              "line": 24,
              "column": 18,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 24,
              "column": 23,
              "program": "test-func-param.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "ObjectPattern",
            "properties": [
              {
                "type": "Property",
                "method": false,
                "shorthand": true,
                "computed": false,
                "key": {
                  "type": "Identifier",
                  "name": "a",
                  "loc": {
                    "start": {
                      "line": 24,
                      "column": 26,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 24,
                      "column": 27,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                "value": {
                  "type": "Identifier",
                  "name": "a",
                  "loc": {
                    "start": {
                      "line": 24,
                      "column": 26,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 24,
                      "column": 27,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                "kind": "init",
                "loc": {
                  "start": {
                    "line": 24,
                    "column": 26,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 24,
                    "column": 27,
                    "program": "test-func-param.ts"
                  }
                }
              },
              {
                "type": "Property",
                "method": false,
                "shorthand": true,
                "computed": false,
                "key": {
                  "type": "Identifier",
                  "name": "b",
                  "loc": {
                    "start": {
                      "line": 24,
                      "column": 29,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 24,
                      "column": 30,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                "value": {
                  "type": "Identifier",
                  "name": "b",
                  "loc": {
                    "start": {
                      "line": 24,
                      "column": 29,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 24,
                      "column": 30,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                "kind": "init",
                "loc": {
                  "start": {
                    "line": 24,
                    "column": 29,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 24,
                    "column": 30,
                    "program": "test-func-param.ts"
                  }
                }
              }
            ],
            "typeAnnotation": {
              "type": "TSTypeLiteral",
              "members": [
                {
                  "type": "TSPropertySignature",
                  "computed": false,
                  "optional": false,
                  "readonly": false,
                  "key": {
                    "type": "Identifier",
                    "name": "a",
                    "loc": {
                      "start": {
                        "line": 24,
                        "column": 36,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 24,
                        "column": 37,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "typeAnnotation": {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 24,
                        "column": 39,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 24,
                        "column": 45,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 24,
                      "column": 36,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 24,
                      "column": 46,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                {
                  "type": "TSPropertySignature",
                  "computed": false,
                  "optional": false,
                  "readonly": false,
                  "key": {
                    "type": "Identifier",
                    "name": "b",
                    "loc": {
                      "start": {
                        "line": 24,
                        "column": 47,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 24,
                        "column": 48,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "typeAnnotation": {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 24,
                        "column": 50,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 24,
                        "column": 56,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 24,
                      "column": 47,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 24,
                      "column": 58,
                      "program": "test-func-param.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 24,
                  "column": 34,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 24,
                  "column": 58,
                  "program": "test-func-param.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 24,
                "column": 24,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 24,
                "column": 32,
                "program": "test-func-param.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 24,
            "column": 9,
            "program": "test-func-param.ts"
          },
          "end": {
            "line": 25,
            "column": 8,
            "program": "test-func-param.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 24,
          "column": 9,
          "program": "test-func-param.ts"
        },
        "end": {
          "line": 25,
          "column": 8,
          "program": "test-func-param.ts"
        }
      }
    },
    {
      "type": "TSDeclareFunction",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "func9",
          "loc": {
            "start": {
              "line": 25,
              "column": 18,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 25,
              "column": 23,
              "program": "test-func-param.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "ArrayPattern",
            "elements": [
              {
                "type": "Identifier",
                "name": "a",
                "loc": {
                  "start": {
                    "line": 25,
                    "column": 25,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 25,
                    "column": 26,
                    "program": "test-func-param.ts"
                  }
                }
              },
              {
                "type": "Identifier",
                "name": "b",
                "loc": {
                  "start": {
                    "line": 25,
                    "column": 28,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 25,
                    "column": 29,
                    "program": "test-func-param.ts"
                  }
                }
              }
            ],
            "typeAnnotation": {
              "type": "TSTupleType",
              "elementTypes": [
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 25,
                      "column": 34,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 25,
                      "column": 41,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 25,
                      "column": 42,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 25,
                      "column": 49,
                      "program": "test-func-param.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 25,
                  "column": 33,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 25,
                  "column": 49,
                  "program": "test-func-param.ts"
                }
              }
            },
            "optional": true,
            "loc": {
              "start": {
                "line": 25,
                "column": 24,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 25,
                "column": 30,
                "program": "test-func-param.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 25,
            "column": 9,
            "program": "test-func-param.ts"
          },
          "end": {
            "line": 26,
            "column": 8,
            "program": "test-func-param.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 25,
          "column": 9,
          "program": "test-func-param.ts"
        },
        "end": {
          "line": 26,
          "column": 8,
          "program": "test-func-param.ts"
        }
      }
    },
    {
      "type": "TSDeclareFunction",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "func10",
          "loc": {
            "start": {
              "line": 26,
              "column": 18,
              "program": "test-func-param.ts"
            },
            "end": {
              "line": 26,
              "column": 24,
              "program": "test-func-param.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "ObjectPattern",
            "properties": [
              {
                "type": "Property",
                "method": false,
                "shorthand": true,
                "computed": false,
                "key": {
                  "type": "Identifier",
                  "name": "a",
                  "loc": {
                    "start": {
                      "line": 26,
                      "column": 27,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 26,
                      "column": 28,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                "value": {
                  "type": "Identifier",
                  "name": "a",
                  "loc": {
                    "start": {
                      "line": 26,
                      "column": 27,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 26,
                      "column": 28,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                "kind": "init",
                "loc": {
                  "start": {
                    "line": 26,
                    "column": 27,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 26,
                    "column": 28,
                    "program": "test-func-param.ts"
                  }
                }
              },
              {
                "type": "Property",
                "method": false,
                "shorthand": true,
                "computed": false,
                "key": {
                  "type": "Identifier",
                  "name": "b",
                  "loc": {
                    "start": {
                      "line": 26,
                      "column": 30,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 26,
                      "column": 31,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                "value": {
                  "type": "Identifier",
                  "name": "b",
                  "loc": {
                    "start": {
                      "line": 26,
                      "column": 30,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 26,
                      "column": 31,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                "kind": "init",
                "loc": {
                  "start": {
                    "line": 26,
                    "column": 30,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 26,
                    "column": 31,
                    "program": "test-func-param.ts"
                  }
                }
              }
            ],
            "typeAnnotation": {
              "type": "TSTypeLiteral",
              "members": [
                {
                  "type": "TSPropertySignature",
                  "computed": false,
                  "optional": false,
                  "readonly": false,
                  "key": {
                    "type": "Identifier",
                    "name": "a",
                    "loc": {
                      "start": {
                        "line": 26,
                        "column": 38,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 26,
                        "column": 39,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "typeAnnotation": {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 26,
                        "column": 41,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 26,
                        "column": 47,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 26,
                      "column": 38,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 26,
                      "column": 48,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                {
                  "type": "TSPropertySignature",
                  "computed": false,
                  "optional": false,
                  "readonly": false,
                  "key": {
                    "type": "Identifier",
                    "name": "b",
                    "loc": {
                      "start": {
                        "line": 26,
                        "column": 49,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 26,
                        "column": 50,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "typeAnnotation": {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 26,
                        "column": 52,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 26,
                        "column": 58,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 26,
                      "column": 49,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 26,
                      "column": 60,
                      "program": "test-func-param.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 26,
                  "column": 36,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 26,
                  "column": 60,
                  "program": "test-func-param.ts"
                }
              }
            },
            "optional": true,
            "loc": {
              "start": {
                "line": 26,
                "column": 25,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 26,
                "column": 33,
                "program": "test-func-param.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 26,
            "column": 9,
            "program": "test-func-param.ts"
          },
          "end": {
            "line": 28,
            "column": 10,
            "program": "test-func-param.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 26,
          "column": 9,
          "program": "test-func-param.ts"
        },
        "end": {
          "line": 28,
          "column": 10,
          "program": "test-func-param.ts"
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSCallSignatureDeclaration",
            "params": [
              {
                "type": "Identifier",
                "name": "a",
                "typeAnnotation": {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 29,
                      "column": 9,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 29,
                      "column": 15,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 29,
                    "column": 6,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 29,
                    "column": 7,
                    "program": "test-func-param.ts"
                  }
                }
              },
              {
                "type": "ObjectPattern",
                "properties": [
                  {
                    "type": "Property",
                    "method": false,
                    "shorthand": true,
                    "computed": false,
                    "key": {
                      "type": "Identifier",
                      "name": "b",
                      "loc": {
                        "start": {
                          "line": 29,
                          "column": 19,
                          "program": "test-func-param.ts"
                        },
                        "end": {
                          "line": 29,
                          "column": 20,
                          "program": "test-func-param.ts"
                        }
                      }
                    },
                    "value": {
                      "type": "Identifier",
                      "name": "b",
                      "loc": {
                        "start": {
                          "line": 29,
                          "column": 19,
                          "program": "test-func-param.ts"
                        },
                        "end": {
                          "line": 29,
                          "column": 20,
                          "program": "test-func-param.ts"
                        }
                      }
                    },
                    "kind": "init",
                    "loc": {
                      "start": {
                        "line": 29,
                        "column": 19,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 29,
                        "column": 20,
                        "program": "test-func-param.ts"
                      }
                    }
                  },
                  {
                    "type": "Property",
                    "method": false,
                    "shorthand": true,
                    "computed": false,
                    "key": {
                      "type": "Identifier",
                      "name": "c",
                      "loc": {
                        "start": {
                          "line": 29,
                          "column": 22,
                          "program": "test-func-param.ts"
                        },
                        "end": {
                          "line": 29,
                          "column": 23,
                          "program": "test-func-param.ts"
                        }
                      }
                    },
                    "value": {
                      "type": "Identifier",
                      "name": "c",
                      "loc": {
                        "start": {
                          "line": 29,
                          "column": 22,
                          "program": "test-func-param.ts"
                        },
                        "end": {
                          "line": 29,
                          "column": 23,
                          "program": "test-func-param.ts"
                        }
                      }
                    },
                    "kind": "init",
                    "loc": {
                      "start": {
                        "line": 29,
                        "column": 22,
                        "program": "test-func-param.ts"
                      },
                      "end": {
                        "line": 29,
                        "column": 23,
                        "program": "test-func-param.ts"
                      }
                    }
                  }
                ],
                "typeAnnotation": {
                  "type": "TSTypeLiteral",
                  "members": [
                    {
                      "type": "TSPropertySignature",
                      "computed": false,
                      "optional": true,
                      "readonly": false,
                      "key": {
                        "type": "Identifier",
                        "name": "b",
                        "loc": {
                          "start": {
                            "line": 30,
                            "column": 9,
                            "program": "test-func-param.ts"
                          },
                          "end": {
                            "line": 30,
                            "column": 10,
                            "program": "test-func-param.ts"
                          }
                        }
                      },
                      "typeAnnotation": {
                        "type": "TSBooleanKeyword",
                        "loc": {
                          "start": {
                            "line": 30,
                            "column": 13,
                            "program": "test-func-param.ts"
                          },
                          "end": {
                            "line": 30,
                            "column": 20,
                            "program": "test-func-param.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 30,
                          "column": 9,
                          "program": "test-func-param.ts"
                        },
                        "end": {
                          "line": 30,
                          "column": 21,
                          "program": "test-func-param.ts"
                        }
                      }
                    },
                    {
                      "type": "TSPropertySignature",
                      "computed": false,
                      "optional": true,
                      "readonly": false,
                      "key": {
                        "type": "Identifier",
                        "name": "c",
                        "loc": {
                          "start": {
                            "line": 31,
                            "column": 9,
                            "program": "test-func-param.ts"
                          },
                          "end": {
                            "line": 31,
                            "column": 10,
                            "program": "test-func-param.ts"
                          }
                        }
                      },
                      "typeAnnotation": {
                        "type": "TSAnyKeyword",
                        "loc": {
                          "start": {
                            "line": 31,
                            "column": 13,
                            "program": "test-func-param.ts"
                          },
                          "end": {
                            "line": 31,
                            "column": 16,
                            "program": "test-func-param.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 31,
                          "column": 9,
                          "program": "test-func-param.ts"
                        },
                        "end": {
                          "line": 31,
                          "column": 17,
                          "program": "test-func-param.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 29,
                      "column": 28,
                      "program": "test-func-param.ts"
                    },
                    "end": {
                      "line": 32,
                      "column": 6,
                      "program": "test-func-param.ts"
                    }
                  }
                },
                "optional": true,
                "loc": {
                  "start": {
                    "line": 29,
                    "column": 17,
                    "program": "test-func-param.ts"
                  },
                  "end": {
                    "line": 29,
                    "column": 25,
                    "program": "test-func-param.ts"
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSStringKeyword",
              "loc": {
                "start": {
                  "line": 32,
                  "column": 9,
                  "program": "test-func-param.ts"
                },
                "end": {
                  "line": 32,
                  "column": 15,
                  "program": "test-func-param.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 29,
                "column": 5,
                "program": "test-func-param.ts"
              },
              "end": {
                "line": 32,
                "column": 16,
                "program": "test-func-param.ts"
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 28,
            "column": 22,
            "program": "test-func-param.ts"
          },
          "end": {
            "line": 33,
            "column": 2,
            "program": "test-func-param.ts"
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "Interface1",
        "loc": {
          "start": {
            "line": 28,
            "column": 11,
            "program": "test-func-param.ts"
          },
          "end": {
            "line": 28,
            "column": 21,
            "program": "test-func-param.ts"
          }
        }
      },
      "extends": [],
      "loc": {
        "start": {
          "line": 28,
          "column": 1,
          "program": "test-func-param.ts"
        },
        "end": {
          "line": 33,
          "column": 2,
          "program": "test-func-param.ts"
        }
      }
    }
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 1,
      "program": "test-func-param.ts"
    },
    "end": {
      "line": 33,
      "column": 2,
      "program": "test-func-param.ts"
    }
  }
}
