{
  "type": "Program",
  "statements": [
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "a",
            "typeAnnotation": {
              "type": "TSTupleType",
              "elementTypes": [
                {
                  "type": "TSNamedTupleMember",
                  "elementType": {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 17,
                        "column": 12,
                        "program": "test-tuple-type.ts"
                      },
                      "end": {
                        "line": 17,
                        "column": 18,
                        "program": "test-tuple-type.ts"
                      }
                    }
                  },
                  "label": {
                    "type": "Identifier",
                    "name": "a",
                    "loc": {
                      "start": {
                        "line": 17,
                        "column": 9,
                        "program": "test-tuple-type.ts"
                      },
                      "end": {
                        "line": 17,
                        "column": 10,
                        "program": "test-tuple-type.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 17,
                      "column": 9,
                      "program": "test-tuple-type.ts"
                    },
                    "end": {
                      "line": 17,
                      "column": 19,
                      "program": "test-tuple-type.ts"
                    }
                  }
                },
                {
                  "type": "TSNamedTupleMember",
                  "elementType": {
                    "type": "TSStringKeyword",
                    "loc": {
                      "start": {
                        "line": 17,
                        "column": 23,
                        "program": "test-tuple-type.ts"
                      },
                      "end": {
                        "line": 17,
                        "column": 29,
                        "program": "test-tuple-type.ts"
                      }
                    }
                  },
                  "label": {
                    "type": "Identifier",
                    "name": "b",
                    "loc": {
                      "start": {
                        "line": 17,
                        "column": 20,
                        "program": "test-tuple-type.ts"
                      },
                      "end": {
                        "line": 17,
                        "column": 21,
                        "program": "test-tuple-type.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 17,
                      "column": 20,
                      "program": "test-tuple-type.ts"
                    },
                    "end": {
                      "line": 17,
                      "column": 30,
                      "program": "test-tuple-type.ts"
                    }
                  }
                },
                {
                  "type": "TSNamedTupleMember",
                  "elementType": {
                    "type": "TSArrayType",
                    "elementType": {
                      "type": "TSParenthesizedType",
                      "typeAnnotation": {
                        "type": "TSUnionType",
                        "types": [
                          {
                            "type": "TSBooleanKeyword",
                            "loc": {
                              "start": {
                                "line": 17,
                                "column": 35,
                                "program": "test-tuple-type.ts"
                              },
                              "end": {
                                "line": 17,
                                "column": 42,
                                "program": "test-tuple-type.ts"
                              }
                            }
                          },
                          {
                            "type": "TSVoidKeyword",
                            "loc": {
                              "start": {
                                "line": 17,
                                "column": 45,
                                "program": "test-tuple-type.ts"
                              },
                              "end": {
                                "line": 17,
                                "column": 49,
                                "program": "test-tuple-type.ts"
                              }
                            }
                          }
                        ],
                        "loc": {
                          "start": {
                            "line": 17,
                            "column": 35,
                            "program": "test-tuple-type.ts"
                          },
                          "end": {
                            "line": 17,
                            "column": 49,
                            "program": "test-tuple-type.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 17,
                          "column": 34,
                          "program": "test-tuple-type.ts"
                        },
                        "end": {
                          "line": 17,
                          "column": 50,
                          "program": "test-tuple-type.ts"
                        }
                      }
                    },
                    "annotations": [],
                    "loc": {
                      "start": {
                        "line": 17,
                        "column": 34,
                        "program": "test-tuple-type.ts"
                      },
                      "end": {
                        "line": 17,
                        "column": 52,
                        "program": "test-tuple-type.ts"
                      }
                    }
                  },
                  "label": {
                    "type": "Identifier",
                    "name": "c",
                    "loc": {
                      "start": {
                        "line": 17,
                        "column": 31,
                        "program": "test-tuple-type.ts"
                      },
                      "end": {
                        "line": 17,
                        "column": 32,
                        "program": "test-tuple-type.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 17,
                      "column": 31,
                      "program": "test-tuple-type.ts"
                    },
                    "end": {
                      "line": 17,
                      "column": 53,
                      "program": "test-tuple-type.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 17,
                  "column": 8,
                  "program": "test-tuple-type.ts"
                },
                "end": {
                  "line": 17,
                  "column": 53,
                  "program": "test-tuple-type.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 17,
                "column": 5,
                "program": "test-tuple-type.ts"
              },
              "end": {
                "line": 17,
                "column": 6,
                "program": "test-tuple-type.ts"
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 17,
              "column": 5,
              "program": "test-tuple-type.ts"
            },
            "end": {
              "line": 17,
              "column": 6,
              "program": "test-tuple-type.ts"
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 17,
          "column": 1,
          "program": "test-tuple-type.ts"
        },
        "end": {
          "line": 17,
          "column": 54,
          "program": "test-tuple-type.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "b",
            "typeAnnotation": {
              "type": "TSTupleType",
              "elementTypes": [
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 18,
                      "column": 9,
                      "program": "test-tuple-type.ts"
                    },
                    "end": {
                      "line": 18,
                      "column": 16,
                      "program": "test-tuple-type.ts"
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 18,
                      "column": 17,
                      "program": "test-tuple-type.ts"
                    },
                    "end": {
                      "line": 18,
                      "column": 24,
                      "program": "test-tuple-type.ts"
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 18,
                      "column": 25,
                      "program": "test-tuple-type.ts"
                    },
                    "end": {
                      "line": 18,
                      "column": 32,
                      "program": "test-tuple-type.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 18,
                  "column": 8,
                  "program": "test-tuple-type.ts"
                },
                "end": {
                  "line": 18,
                  "column": 32,
                  "program": "test-tuple-type.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 18,
                "column": 5,
                "program": "test-tuple-type.ts"
              },
              "end": {
                "line": 18,
                "column": 6,
                "program": "test-tuple-type.ts"
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 18,
              "column": 5,
              "program": "test-tuple-type.ts"
            },
            "end": {
              "line": 18,
              "column": 6,
              "program": "test-tuple-type.ts"
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 18,
          "column": 1,
          "program": "test-tuple-type.ts"
        },
        "end": {
          "line": 18,
          "column": 33,
          "program": "test-tuple-type.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "c",
            "typeAnnotation": {
              "type": "TSTupleType",
              "elementTypes": [
                {
                  "type": "TSTupleType",
                  "elementTypes": [
                    {
                      "type": "TSNamedTupleMember",
                      "elementType": {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 19,
                            "column": 13,
                            "program": "test-tuple-type.ts"
                          },
                          "end": {
                            "line": 19,
                            "column": 19,
                            "program": "test-tuple-type.ts"
                          }
                        }
                      },
                      "label": {
                        "type": "Identifier",
                        "name": "a",
                        "loc": {
                          "start": {
                            "line": 19,
                            "column": 10,
                            "program": "test-tuple-type.ts"
                          },
                          "end": {
                            "line": 19,
                            "column": 11,
                            "program": "test-tuple-type.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 19,
                          "column": 10,
                          "program": "test-tuple-type.ts"
                        },
                        "end": {
                          "line": 19,
                          "column": 20,
                          "program": "test-tuple-type.ts"
                        }
                      }
                    },
                    {
                      "type": "TSNamedTupleMember",
                      "elementType": {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 19,
                            "column": 24,
                            "program": "test-tuple-type.ts"
                          },
                          "end": {
                            "line": 19,
                            "column": 30,
                            "program": "test-tuple-type.ts"
                          }
                        }
                      },
                      "label": {
                        "type": "Identifier",
                        "name": "b",
                        "loc": {
                          "start": {
                            "line": 19,
                            "column": 21,
                            "program": "test-tuple-type.ts"
                          },
                          "end": {
                            "line": 19,
                            "column": 22,
                            "program": "test-tuple-type.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 19,
                          "column": 21,
                          "program": "test-tuple-type.ts"
                        },
                        "end": {
                          "line": 19,
                          "column": 31,
                          "program": "test-tuple-type.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 19,
                      "column": 9,
                      "program": "test-tuple-type.ts"
                    },
                    "end": {
                      "line": 19,
                      "column": 32,
                      "program": "test-tuple-type.ts"
                    }
                  }
                },
                {
                  "type": "TSFunctionType",
                  "params": [
                    {
                      "type": "Identifier",
                      "name": "a",
                      "typeAnnotation": {
                        "type": "TSVoidKeyword",
                        "loc": {
                          "start": {
                            "line": 19,
                            "column": 37,
                            "program": "test-tuple-type.ts"
                          },
                          "end": {
                            "line": 19,
                            "column": 41,
                            "program": "test-tuple-type.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 19,
                          "column": 34,
                          "program": "test-tuple-type.ts"
                        },
                        "end": {
                          "line": 19,
                          "column": 35,
                          "program": "test-tuple-type.ts"
                        }
                      }
                    },
                    {
                      "type": "Identifier",
                      "name": "b",
                      "typeAnnotation": {
                        "type": "TSTupleType",
                        "elementTypes": [
                          {
                            "type": "TSBooleanKeyword",
                            "loc": {
                              "start": {
                                "line": 19,
                                "column": 47,
                                "program": "test-tuple-type.ts"
                              },
                              "end": {
                                "line": 19,
                                "column": 55,
                                "program": "test-tuple-type.ts"
                              }
                            }
                          },
                          {
                            "type": "TSBooleanKeyword",
                            "loc": {
                              "start": {
                                "line": 19,
                                "column": 56,
                                "program": "test-tuple-type.ts"
                              },
                              "end": {
                                "line": 19,
                                "column": 64,
                                "program": "test-tuple-type.ts"
                              }
                            }
                          }
                        ],
                        "loc": {
                          "start": {
                            "line": 19,
                            "column": 46,
                            "program": "test-tuple-type.ts"
                          },
                          "end": {
                            "line": 19,
                            "column": 64,
                            "program": "test-tuple-type.ts"
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 19,
                          "column": 43,
                          "program": "test-tuple-type.ts"
                        },
                        "end": {
                          "line": 19,
                          "column": 44,
                          "program": "test-tuple-type.ts"
                        }
                      }
                    }
                  ],
                  "returnType": {
                    "type": "TSUndefinedKeyword",
                    "loc": {
                      "start": {
                        "line": 19,
                        "column": 69,
                        "program": "test-tuple-type.ts"
                      },
                      "end": {
                        "line": 19,
                        "column": 78,
                        "program": "test-tuple-type.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 19,
                      "column": 33,
                      "program": "test-tuple-type.ts"
                    },
                    "end": {
                      "line": 19,
                      "column": 79,
                      "program": "test-tuple-type.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 19,
                  "column": 8,
                  "program": "test-tuple-type.ts"
                },
                "end": {
                  "line": 19,
                  "column": 79,
                  "program": "test-tuple-type.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 19,
                "column": 5,
                "program": "test-tuple-type.ts"
              },
              "end": {
                "line": 19,
                "column": 6,
                "program": "test-tuple-type.ts"
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 19,
              "column": 5,
              "program": "test-tuple-type.ts"
            },
            "end": {
              "line": 19,
              "column": 6,
              "program": "test-tuple-type.ts"
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 19,
          "column": 1,
          "program": "test-tuple-type.ts"
        },
        "end": {
          "line": 19,
          "column": 6,
          "program": "test-tuple-type.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "d",
            "typeAnnotation": {
              "type": "TSTupleType",
              "elementTypes": [
                {
                  "type": "TSTupleType",
                  "elementTypes": [
                    {
                      "type": "TSTupleType",
                      "elementTypes": [
                        {
                          "type": "TSNumberKeyword",
                          "loc": {
                            "start": {
                              "line": 20,
                              "column": 11,
                              "program": "test-tuple-type.ts"
                            },
                            "end": {
                              "line": 20,
                              "column": 18,
                              "program": "test-tuple-type.ts"
                            }
                          }
                        },
                        {
                          "type": "TSNumberKeyword",
                          "loc": {
                            "start": {
                              "line": 20,
                              "column": 19,
                              "program": "test-tuple-type.ts"
                            },
                            "end": {
                              "line": 20,
                              "column": 26,
                              "program": "test-tuple-type.ts"
                            }
                          }
                        }
                      ],
                      "loc": {
                        "start": {
                          "line": 20,
                          "column": 10,
                          "program": "test-tuple-type.ts"
                        },
                        "end": {
                          "line": 20,
                          "column": 27,
                          "program": "test-tuple-type.ts"
                        }
                      }
                    },
                    {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 20,
                          "column": 28,
                          "program": "test-tuple-type.ts"
                        },
                        "end": {
                          "line": 20,
                          "column": 35,
                          "program": "test-tuple-type.ts"
                        }
                      }
                    },
                    {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 20,
                          "column": 36,
                          "program": "test-tuple-type.ts"
                        },
                        "end": {
                          "line": 20,
                          "column": 43,
                          "program": "test-tuple-type.ts"
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 20,
                      "column": 9,
                      "program": "test-tuple-type.ts"
                    },
                    "end": {
                      "line": 20,
                      "column": 44,
                      "program": "test-tuple-type.ts"
                    }
                  }
                },
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 20,
                      "column": 45,
                      "program": "test-tuple-type.ts"
                    },
                    "end": {
                      "line": 20,
                      "column": 52,
                      "program": "test-tuple-type.ts"
                    }
                  }
                },
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 20,
                      "column": 53,
                      "program": "test-tuple-type.ts"
                    },
                    "end": {
                      "line": 20,
                      "column": 60,
                      "program": "test-tuple-type.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 20,
                  "column": 8,
                  "program": "test-tuple-type.ts"
                },
                "end": {
                  "line": 20,
                  "column": 60,
                  "program": "test-tuple-type.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 20,
                "column": 5,
                "program": "test-tuple-type.ts"
              },
              "end": {
                "line": 20,
                "column": 6,
                "program": "test-tuple-type.ts"
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 20,
              "column": 5,
              "program": "test-tuple-type.ts"
            },
            "end": {
              "line": 20,
              "column": 6,
              "program": "test-tuple-type.ts"
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 20,
          "column": 1,
          "program": "test-tuple-type.ts"
        },
        "end": {
          "line": 20,
          "column": 6,
          "program": "test-tuple-type.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "e",
            "typeAnnotation": {
              "type": "TSTupleType",
              "elementTypes": [
                {
                  "type": "TSTypeReference",
                  "typeName": {
                    "type": "Identifier",
                    "name": "A",
                    "loc": {
                      "start": {
                        "line": 21,
                        "column": 9,
                        "program": "test-tuple-type.ts"
                      },
                      "end": {
                        "line": 21,
                        "column": 10,
                        "program": "test-tuple-type.ts"
                      }
                    }
                  },
                  "typeParameters": {
                    "type": "TSTypeParameterInstantiation",
                    "params": [
                      {
                        "type": "TSTypeReference",
                        "typeName": {
                          "type": "Identifier",
                          "name": "T",
                          "loc": {
                            "start": {
                              "line": 21,
                              "column": 11,
                              "program": "test-tuple-type.ts"
                            },
                            "end": {
                              "line": 21,
                              "column": 12,
                              "program": "test-tuple-type.ts"
                            }
                          }
                        },
                        "loc": {
                          "start": {
                            "line": 21,
                            "column": 11,
                            "program": "test-tuple-type.ts"
                          },
                          "end": {
                            "line": 21,
                            "column": 12,
                            "program": "test-tuple-type.ts"
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 21,
                        "column": 9,
                        "program": "test-tuple-type.ts"
                      },
                      "end": {
                        "line": 21,
                        "column": 13,
                        "program": "test-tuple-type.ts"
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 21,
                      "column": 9,
                      "program": "test-tuple-type.ts"
                    },
                    "end": {
                      "line": 21,
                      "column": 14,
                      "program": "test-tuple-type.ts"
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 21,
                  "column": 8,
                  "program": "test-tuple-type.ts"
                },
                "end": {
                  "line": 21,
                  "column": 14,
                  "program": "test-tuple-type.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 21,
                "column": 5,
                "program": "test-tuple-type.ts"
              },
              "end": {
                "line": 21,
                "column": 6,
                "program": "test-tuple-type.ts"
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 21,
              "column": 5,
              "program": "test-tuple-type.ts"
            },
            "end": {
              "line": 21,
              "column": 6,
              "program": "test-tuple-type.ts"
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 21,
          "column": 1,
          "program": "test-tuple-type.ts"
        },
        "end": {
          "line": 21,
          "column": 6,
          "program": "test-tuple-type.ts"
        }
      }
    }
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 1,
      "program": "test-tuple-type.ts"
    },
    "end": {
      "line": 21,
      "column": 14,
      "program": "test-tuple-type.ts"
    }
  }
}
