{
  "type": "Program",
  "statements": [
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "func1",
          "decorators": [],
          "loc": {
            "start": {
              "line": 1,
              "column": 10
            },
            "end": {
              "line": 1,
              "column": 15
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "Identifier",
            "name": "arg",
            "typeAnnotation": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "Type",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 59
                  },
                  "end": {
                    "line": 1,
                    "column": 63
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 1,
                  "column": 59
                },
                "end": {
                  "line": 1,
                  "column": 63
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 1,
                "column": 54
              },
              "end": {
                "line": 1,
                "column": 57
              }
            }
          }
        ],
        "returnType": {
          "type": "TSTypeReference",
          "typeName": {
            "type": "Identifier",
            "name": "Type",
            "decorators": [],
            "loc": {
              "start": {
                "line": 1,
                "column": 66
              },
              "end": {
                "line": 1,
                "column": 70
              }
            }
          },
          "loc": {
            "start": {
              "line": 1,
              "column": 66
            },
            "end": {
              "line": 1,
              "column": 70
            }
          }
        },
        "typeParameters": {
          "type": "TSTypeParameterDeclaration",
          "params": [
            {
              "type": "TSTypeParameter",
              "name": {
                "type": "Identifier",
                "name": "Type",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 16
                  },
                  "end": {
                    "line": 1,
                    "column": 20
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 1,
                  "column": 16
                },
                "end": {
                  "line": 1,
                  "column": 21
                }
              }
            },
            {
              "type": "TSTypeParameter",
              "name": {
                "type": "Identifier",
                "name": "A",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 22
                  },
                  "end": {
                    "line": 1,
                    "column": 23
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 1,
                  "column": 22
                },
                "end": {
                  "line": 1,
                  "column": 24
                }
              }
            },
            {
              "type": "TSTypeParameter",
              "name": {
                "type": "Identifier",
                "name": "B",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 25
                  },
                  "end": {
                    "line": 1,
                    "column": 26
                  }
                }
              },
              "constraint": {
                "type": "TSTypeOperator",
                "operator": "readonly",
                "typeAnnotation": {
                  "type": "TSArrayType",
                  "elementType": {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 1,
                        "column": 44
                      },
                      "end": {
                        "line": 1,
                        "column": 50
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 44
                    },
                    "end": {
                      "line": 1,
                      "column": 52
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 35
                  },
                  "end": {
                    "line": 1,
                    "column": 52
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 1,
                  "column": 25
                },
                "end": {
                  "line": 1,
                  "column": 53
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 15
            },
            "end": {
              "line": 1,
              "column": 53
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "statements": [
            {
              "type": "ReturnStatement",
              "argument": {
                "type": "Identifier",
                "name": "arg",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 12
                  },
                  "end": {
                    "line": 2,
                    "column": 15
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 2,
                  "column": 5
                },
                "end": {
                  "line": 2,
                  "column": 16
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 71
            },
            "end": {
              "line": 3,
              "column": 2
            }
          }
        },
        "loc": {
          "start": {
            "line": 1,
            "column": 1
          },
          "end": {
            "line": 3,
            "column": 2
          }
        }
      },
      "loc": {
        "start": {
          "line": 1,
          "column": 1
        },
        "end": {
          "line": 3,
          "column": 2
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "func2",
          "decorators": [],
          "loc": {
            "start": {
              "line": 5,
              "column": 10
            },
            "end": {
              "line": 5,
              "column": 15
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [],
        "typeParameters": {
          "type": "TSTypeParameterDeclaration",
          "params": [
            {
              "type": "TSTypeParameter",
              "name": {
                "type": "Identifier",
                "name": "A",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 5,
                    "column": 16
                  },
                  "end": {
                    "line": 5,
                    "column": 17
                  }
                }
              },
              "constraint": {
                "type": "TSTypeLiteral",
                "members": [
                  {
                    "type": "TSPropertySignature",
                    "computed": false,
                    "optional": false,
                    "readonly": false,
                    "key": {
                      "type": "Identifier",
                      "name": "a",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 5,
                          "column": 28
                        },
                        "end": {
                          "line": 5,
                          "column": 29
                        }
                      }
                    },
                    "typeAnnotation": {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 5,
                          "column": 31
                        },
                        "end": {
                          "line": 5,
                          "column": 37
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 5,
                        "column": 28
                      },
                      "end": {
                        "line": 5,
                        "column": 38
                      }
                    }
                  },
                  {
                    "type": "TSPropertySignature",
                    "computed": false,
                    "optional": false,
                    "readonly": false,
                    "key": {
                      "type": "Identifier",
                      "name": "b",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 5,
                          "column": 39
                        },
                        "end": {
                          "line": 5,
                          "column": 40
                        }
                      }
                    },
                    "typeAnnotation": {
                      "type": "TSStringKeyword",
                      "loc": {
                        "start": {
                          "line": 5,
                          "column": 42
                        },
                        "end": {
                          "line": 5,
                          "column": 48
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 5,
                        "column": 39
                      },
                      "end": {
                        "line": 5,
                        "column": 50
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 5,
                    "column": 26
                  },
                  "end": {
                    "line": 5,
                    "column": 50
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 5,
                  "column": 16
                },
                "end": {
                  "line": 5,
                  "column": 51
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 5,
              "column": 15
            },
            "end": {
              "line": 5,
              "column": 51
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "statements": [],
          "loc": {
            "start": {
              "line": 5,
              "column": 54
            },
            "end": {
              "line": 5,
              "column": 57
            }
          }
        },
        "loc": {
          "start": {
            "line": 5,
            "column": 1
          },
          "end": {
            "line": 5,
            "column": 57
          }
        }
      },
      "loc": {
        "start": {
          "line": 5,
          "column": 1
        },
        "end": {
          "line": 5,
          "column": 57
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "func3",
          "decorators": [],
          "loc": {
            "start": {
              "line": 7,
              "column": 10
            },
            "end": {
              "line": 7,
              "column": 15
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "Identifier",
            "name": "a",
            "typeAnnotation": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "A",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 7,
                    "column": 90
                  },
                  "end": {
                    "line": 7,
                    "column": 91
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 7,
                  "column": 90
                },
                "end": {
                  "line": 7,
                  "column": 91
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 7,
                "column": 87
              },
              "end": {
                "line": 7,
                "column": 88
              }
            }
          },
          {
            "type": "Identifier",
            "name": "b",
            "typeAnnotation": {
              "type": "TSStringKeyword",
              "loc": {
                "start": {
                  "line": 7,
                  "column": 96
                },
                "end": {
                  "line": 7,
                  "column": 102
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 7,
                "column": 93
              },
              "end": {
                "line": 7,
                "column": 94
              }
            }
          }
        ],
        "returnType": {
          "type": "TSUnionType",
          "types": [
            {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 7,
                  "column": 105
                },
                "end": {
                  "line": 7,
                  "column": 111
                }
              }
            },
            {
              "type": "TSBooleanKeyword",
              "loc": {
                "start": {
                  "line": 7,
                  "column": 114
                },
                "end": {
                  "line": 7,
                  "column": 121
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 7,
              "column": 105
            },
            "end": {
              "line": 7,
              "column": 121
            }
          }
        },
        "typeParameters": {
          "type": "TSTypeParameterDeclaration",
          "params": [
            {
              "type": "TSTypeParameter",
              "name": {
                "type": "Identifier",
                "name": "A",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 7,
                    "column": 16
                  },
                  "end": {
                    "line": 7,
                    "column": 17
                  }
                }
              },
              "constraint": {
                "type": "TSTypeOperator",
                "operator": "keyof",
                "typeAnnotation": {
                  "type": "TSTypeLiteral",
                  "members": [
                    {
                      "type": "TSPropertySignature",
                      "computed": false,
                      "optional": false,
                      "readonly": false,
                      "key": {
                        "type": "Identifier",
                        "name": "a",
                        "decorators": [],
                        "loc": {
                          "start": {
                            "line": 7,
                            "column": 34
                          },
                          "end": {
                            "line": 7,
                            "column": 35
                          }
                        }
                      },
                      "typeAnnotation": {
                        "type": "TSTypeLiteral",
                        "members": [
                          {
                            "type": "TSPropertySignature",
                            "computed": false,
                            "optional": false,
                            "readonly": false,
                            "key": {
                              "type": "Identifier",
                              "name": "b",
                              "decorators": [],
                              "loc": {
                                "start": {
                                  "line": 7,
                                  "column": 39
                                },
                                "end": {
                                  "line": 7,
                                  "column": 40
                                }
                              }
                            },
                            "typeAnnotation": {
                              "type": "TSNumberKeyword",
                              "loc": {
                                "start": {
                                  "line": 7,
                                  "column": 42
                                },
                                "end": {
                                  "line": 7,
                                  "column": 48
                                }
                              }
                            },
                            "loc": {
                              "start": {
                                "line": 7,
                                "column": 39
                              },
                              "end": {
                                "line": 7,
                                "column": 49
                              }
                            }
                          },
                          {
                            "type": "TSPropertySignature",
                            "computed": false,
                            "optional": false,
                            "readonly": false,
                            "key": {
                              "type": "Identifier",
                              "name": "c",
                              "decorators": [],
                              "loc": {
                                "start": {
                                  "line": 7,
                                  "column": 50
                                },
                                "end": {
                                  "line": 7,
                                  "column": 51
                                }
                              }
                            },
                            "typeAnnotation": {
                              "type": "TSBooleanKeyword",
                              "loc": {
                                "start": {
                                  "line": 7,
                                  "column": 53
                                },
                                "end": {
                                  "line": 7,
                                  "column": 60
                                }
                              }
                            },
                            "loc": {
                              "start": {
                                "line": 7,
                                "column": 50
                              },
                              "end": {
                                "line": 7,
                                "column": 62
                              }
                            }
                          }
                        ],
                        "loc": {
                          "start": {
                            "line": 7,
                            "column": 37
                          },
                          "end": {
                            "line": 7,
                            "column": 62
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 7,
                          "column": 34
                        },
                        "end": {
                          "line": 7,
                          "column": 63
                        }
                      }
                    },
                    {
                      "type": "TSPropertySignature",
                      "computed": false,
                      "optional": false,
                      "readonly": false,
                      "key": {
                        "type": "Identifier",
                        "name": "b",
                        "decorators": [],
                        "loc": {
                          "start": {
                            "line": 7,
                            "column": 64
                          },
                          "end": {
                            "line": 7,
                            "column": 65
                          }
                        }
                      },
                      "typeAnnotation": {
                        "type": "TSTupleType",
                        "elementTypes": [
                          {
                            "type": "TSNumberKeyword",
                            "loc": {
                              "start": {
                                "line": 7,
                                "column": 68
                              },
                              "end": {
                                "line": 7,
                                "column": 75
                              }
                            }
                          },
                          {
                            "type": "TSStringKeyword",
                            "loc": {
                              "start": {
                                "line": 7,
                                "column": 76
                              },
                              "end": {
                                "line": 7,
                                "column": 83
                              }
                            }
                          }
                        ],
                        "loc": {
                          "start": {
                            "line": 7,
                            "column": 67
                          },
                          "end": {
                            "line": 7,
                            "column": 83
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 7,
                          "column": 64
                        },
                        "end": {
                          "line": 7,
                          "column": 85
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 7,
                      "column": 32
                    },
                    "end": {
                      "line": 7,
                      "column": 85
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 7,
                    "column": 26
                  },
                  "end": {
                    "line": 7,
                    "column": 85
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 7,
                  "column": 16
                },
                "end": {
                  "line": 7,
                  "column": 86
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 7,
              "column": 15
            },
            "end": {
              "line": 7,
              "column": 86
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "statements": [
            {
              "type": "ReturnStatement",
              "argument": {
                "type": "BooleanLiteral",
                "value": true,
                "loc": {
                  "start": {
                    "line": 8,
                    "column": 12
                  },
                  "end": {
                    "line": 8,
                    "column": 16
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 8,
                  "column": 5
                },
                "end": {
                  "line": 8,
                  "column": 17
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 7,
              "column": 122
            },
            "end": {
              "line": 9,
              "column": 2
            }
          }
        },
        "loc": {
          "start": {
            "line": 7,
            "column": 1
          },
          "end": {
            "line": 9,
            "column": 2
          }
        }
      },
      "loc": {
        "start": {
          "line": 7,
          "column": 1
        },
        "end": {
          "line": 9,
          "column": 2
        }
      }
    },
    {
      "type": "TSTypeAliasDeclaration",
      "id": {
        "type": "Identifier",
        "name": "PromiseConstructorLike",
        "decorators": [],
        "loc": {
          "start": {
            "line": 11,
            "column": 14
          },
          "end": {
            "line": 11,
            "column": 36
          }
        }
      },
      "typeAnnotation": {
        "type": "TSConstructorType",
        "params": [
          {
            "type": "Identifier",
            "name": "executor",
            "typeAnnotation": {
              "type": "TSFunctionType",
              "params": [
                {
                  "type": "Identifier",
                  "name": "resolve",
                  "typeAnnotation": {
                    "type": "TSFunctionType",
                    "params": [
                      {
                        "type": "Identifier",
                        "name": "value",
                        "typeAnnotation": {
                          "type": "TSUnionType",
                          "types": [
                            {
                              "type": "TSTypeReference",
                              "typeName": {
                                "type": "Identifier",
                                "name": "T",
                                "decorators": [],
                                "loc": {
                                  "start": {
                                    "line": 11,
                                    "column": 75
                                  },
                                  "end": {
                                    "line": 11,
                                    "column": 76
                                  }
                                }
                              },
                              "loc": {
                                "start": {
                                  "line": 11,
                                  "column": 75
                                },
                                "end": {
                                  "line": 11,
                                  "column": 76
                                }
                              }
                            },
                            {
                              "type": "TSTypeReference",
                              "typeName": {
                                "type": "Identifier",
                                "name": "PromiseLike",
                                "decorators": [],
                                "loc": {
                                  "start": {
                                    "line": 11,
                                    "column": 79
                                  },
                                  "end": {
                                    "line": 11,
                                    "column": 90
                                  }
                                }
                              },
                              "typeParameters": {
                                "type": "TSTypeParameterInstantiation",
                                "params": [
                                  {
                                    "type": "TSTypeReference",
                                    "typeName": {
                                      "type": "Identifier",
                                      "name": "T",
                                      "decorators": [],
                                      "loc": {
                                        "start": {
                                          "line": 11,
                                          "column": 91
                                        },
                                        "end": {
                                          "line": 11,
                                          "column": 92
                                        }
                                      }
                                    },
                                    "loc": {
                                      "start": {
                                        "line": 11,
                                        "column": 91
                                      },
                                      "end": {
                                        "line": 11,
                                        "column": 92
                                      }
                                    }
                                  }
                                ],
                                "loc": {
                                  "start": {
                                    "line": 11,
                                    "column": 79
                                  },
                                  "end": {
                                    "line": 11,
                                    "column": 93
                                  }
                                }
                              },
                              "loc": {
                                "start": {
                                  "line": 11,
                                  "column": 79
                                },
                                "end": {
                                  "line": 11,
                                  "column": 90
                                }
                              }
                            }
                          ],
                          "loc": {
                            "start": {
                              "line": 11,
                              "column": 75
                            },
                            "end": {
                              "line": 11,
                              "column": 90
                            }
                          }
                        },
                        "decorators": [],
                        "loc": {
                          "start": {
                            "line": 11,
                            "column": 68
                          },
                          "end": {
                            "line": 11,
                            "column": 73
                          }
                        }
                      }
                    ],
                    "returnType": {
                      "type": "TSVoidKeyword",
                      "loc": {
                        "start": {
                          "line": 11,
                          "column": 98
                        },
                        "end": {
                          "line": 11,
                          "column": 102
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 11,
                        "column": 67
                      },
                      "end": {
                        "line": 11,
                        "column": 102
                      }
                    }
                  },
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 11,
                      "column": 58
                    },
                    "end": {
                      "line": 11,
                      "column": 65
                    }
                  }
                },
                {
                  "type": "Identifier",
                  "name": "reject",
                  "typeAnnotation": {
                    "type": "TSFunctionType",
                    "params": [
                      {
                        "type": "Identifier",
                        "name": "reason",
                        "typeAnnotation": {
                          "type": "TSAnyKeyword",
                          "loc": {
                            "start": {
                              "line": 11,
                              "column": 122
                            },
                            "end": {
                              "line": 11,
                              "column": 125
                            }
                          }
                        },
                        "optional": true,
                        "decorators": [],
                        "loc": {
                          "start": {
                            "line": 11,
                            "column": 113
                          },
                          "end": {
                            "line": 11,
                            "column": 119
                          }
                        }
                      }
                    ],
                    "returnType": {
                      "type": "TSVoidKeyword",
                      "loc": {
                        "start": {
                          "line": 11,
                          "column": 130
                        },
                        "end": {
                          "line": 11,
                          "column": 134
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 11,
                        "column": 112
                      },
                      "end": {
                        "line": 11,
                        "column": 134
                      }
                    }
                  },
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 11,
                      "column": 104
                    },
                    "end": {
                      "line": 11,
                      "column": 110
                    }
                  }
                }
              ],
              "returnType": {
                "type": "TSVoidKeyword",
                "loc": {
                  "start": {
                    "line": 11,
                    "column": 139
                  },
                  "end": {
                    "line": 11,
                    "column": 143
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 11,
                  "column": 57
                },
                "end": {
                  "line": 11,
                  "column": 143
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 11,
                "column": 47
              },
              "end": {
                "line": 11,
                "column": 55
              }
            }
          }
        ],
        "typeParameters": {
          "type": "TSTypeParameterDeclaration",
          "params": [
            {
              "type": "TSTypeParameter",
              "name": {
                "type": "Identifier",
                "name": "T",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 11,
                    "column": 44
                  },
                  "end": {
                    "line": 11,
                    "column": 45
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 11,
                  "column": 44
                },
                "end": {
                  "line": 11,
                  "column": 46
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 11,
              "column": 43
            },
            "end": {
              "line": 11,
              "column": 46
            }
          }
        },
        "returnType": {
          "type": "TSTypeReference",
          "typeName": {
            "type": "Identifier",
            "name": "PromiseLike",
            "decorators": [],
            "loc": {
              "start": {
                "line": 11,
                "column": 148
              },
              "end": {
                "line": 11,
                "column": 159
              }
            }
          },
          "typeParameters": {
            "type": "TSTypeParameterInstantiation",
            "params": [
              {
                "type": "TSTypeReference",
                "typeName": {
                  "type": "Identifier",
                  "name": "T",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 11,
                      "column": 160
                    },
                    "end": {
                      "line": 11,
                      "column": 161
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 11,
                    "column": 160
                  },
                  "end": {
                    "line": 11,
                    "column": 161
                  }
                }
              }
            ],
            "loc": {
              "start": {
                "line": 11,
                "column": 148
              },
              "end": {
                "line": 11,
                "column": 162
              }
            }
          },
          "loc": {
            "start": {
              "line": 11,
              "column": 148
            },
            "end": {
              "line": 11,
              "column": 159
            }
          }
        },
        "loc": {
          "start": {
            "line": 11,
            "column": 39
          },
          "end": {
            "line": 11,
            "column": 159
          }
        }
      },
      "declare": true,
      "loc": {
        "start": {
          "line": 11,
          "column": 9
        },
        "end": {
          "line": 11,
          "column": 163
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 11,
          "column": 162
        },
        "end": {
          "line": 11,
          "column": 163
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSPropertySignature",
            "computed": false,
            "optional": false,
            "readonly": false,
            "key": {
              "type": "Identifier",
              "name": "a",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 14,
                  "column": 5
                },
                "end": {
                  "line": 14,
                  "column": 6
                }
              }
            },
            "typeAnnotation": {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 14,
                  "column": 8
                },
                "end": {
                  "line": 14,
                  "column": 14
                }
              }
            },
            "loc": {
              "start": {
                "line": 14,
                "column": 5
              },
              "end": {
                "line": 14,
                "column": 15
              }
            }
          },
          {
            "type": "TSIndexSignature",
            "parameters": {
              "type": "Identifier",
              "name": "x",
              "typeAnnotation": {
                "type": "TSStringKeyword",
                "loc": {
                  "start": {
                    "line": 15,
                    "column": 9
                  },
                  "end": {
                    "line": 15,
                    "column": 15
                  }
                }
              },
              "decorators": [],
              "loc": {
                "start": {
                  "line": 15,
                  "column": 6
                },
                "end": {
                  "line": 15,
                  "column": 7
                }
              }
            },
            "typeAnnotation": {
              "type": "TSUnionType",
              "types": [
                {
                  "type": "TSBooleanKeyword",
                  "loc": {
                    "start": {
                      "line": 15,
                      "column": 18
                    },
                    "end": {
                      "line": 15,
                      "column": 25
                    }
                  }
                },
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 15,
                      "column": 28
                    },
                    "end": {
                      "line": 15,
                      "column": 34
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 15,
                  "column": 18
                },
                "end": {
                  "line": 15,
                  "column": 34
                }
              }
            },
            "readonly": false,
            "loc": {
              "start": {
                "line": 15,
                "column": 5
              },
              "end": {
                "line": 15,
                "column": 35
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 13,
            "column": 53
          },
          "end": {
            "line": 16,
            "column": 2
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "R",
        "decorators": [],
        "loc": {
          "start": {
            "line": 13,
            "column": 11
          },
          "end": {
            "line": 13,
            "column": 12
          }
        }
      },
      "extends": [],
      "typeParameters": {
        "type": "TSTypeParameterDeclaration",
        "params": [
          {
            "type": "TSTypeParameter",
            "name": {
              "type": "Identifier",
              "name": "K",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 13,
                  "column": 13
                },
                "end": {
                  "line": 13,
                  "column": 14
                }
              }
            },
            "constraint": {
              "type": "TSTupleType",
              "elementTypes": [
                {
                  "type": "TSNumberKeyword",
                  "loc": {
                    "start": {
                      "line": 13,
                      "column": 24
                    },
                    "end": {
                      "line": 13,
                      "column": 31
                    }
                  }
                },
                {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 13,
                      "column": 32
                    },
                    "end": {
                      "line": 13,
                      "column": 39
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 13,
                  "column": 23
                },
                "end": {
                  "line": 13,
                  "column": 39
                }
              }
            },
            "loc": {
              "start": {
                "line": 13,
                "column": 13
              },
              "end": {
                "line": 13,
                "column": 40
              }
            }
          },
          {
            "type": "TSTypeParameter",
            "name": {
              "type": "Identifier",
              "name": "T",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 13,
                  "column": 41
                },
                "end": {
                  "line": 13,
                  "column": 42
                }
              }
            },
            "default": {
              "type": "TSStringKeyword",
              "loc": {
                "start": {
                  "line": 13,
                  "column": 45
                },
                "end": {
                  "line": 13,
                  "column": 51
                }
              }
            },
            "loc": {
              "start": {
                "line": 13,
                "column": 41
              },
              "end": {
                "line": 13,
                "column": 52
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 13,
            "column": 12
          },
          "end": {
            "line": 13,
            "column": 52
          }
        }
      },
      "loc": {
        "start": {
          "line": 13,
          "column": 1
        },
        "end": {
          "line": 16,
          "column": 2
        }
      }
    },
    {
      "type": "TSInterfaceDeclaration",
      "body": {
        "type": "TSInterfaceBody",
        "body": [
          {
            "type": "TSCallSignatureDeclaration",
            "params": [],
            "typeParameters": {
              "type": "TSTypeParameterDeclaration",
              "params": [
                {
                  "type": "TSTypeParameter",
                  "name": {
                    "type": "Identifier",
                    "name": "A",
                    "decorators": [],
                    "loc": {
                      "start": {
                        "line": 19,
                        "column": 6
                      },
                      "end": {
                        "line": 19,
                        "column": 7
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 19,
                      "column": 6
                    },
                    "end": {
                      "line": 19,
                      "column": 8
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 19,
                  "column": 5
                },
                "end": {
                  "line": 19,
                  "column": 8
                }
              }
            },
            "returnType": {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 19,
                  "column": 12
                },
                "end": {
                  "line": 19,
                  "column": 18
                }
              }
            },
            "loc": {
              "start": {
                "line": 19,
                "column": 5
              },
              "end": {
                "line": 19,
                "column": 19
              }
            }
          },
          {
            "type": "TSMethodSignature",
            "computed": false,
            "optional": false,
            "key": {
              "type": "Identifier",
              "name": "readonly",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 20,
                  "column": 5
                },
                "end": {
                  "line": 20,
                  "column": 13
                }
              }
            },
            "params": [],
            "typeParameters": {
              "type": "TSTypeParameterDeclaration",
              "params": [
                {
                  "type": "TSTypeParameter",
                  "name": {
                    "type": "Identifier",
                    "name": "A",
                    "decorators": [],
                    "loc": {
                      "start": {
                        "line": 20,
                        "column": 14
                      },
                      "end": {
                        "line": 20,
                        "column": 15
                      }
                    }
                  },
                  "constraint": {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 20,
                        "column": 24
                      },
                      "end": {
                        "line": 20,
                        "column": 30
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 20,
                      "column": 14
                    },
                    "end": {
                      "line": 20,
                      "column": 31
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 20,
                  "column": 13
                },
                "end": {
                  "line": 20,
                  "column": 31
                }
              }
            },
            "typeAnnotation": {
              "type": "TSTupleType",
              "elementTypes": [
                {
                  "type": "TSBooleanKeyword",
                  "loc": {
                    "start": {
                      "line": 20,
                      "column": 36
                    },
                    "end": {
                      "line": 20,
                      "column": 44
                    }
                  }
                },
                {
                  "type": "TSArrayType",
                  "elementType": {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 20,
                        "column": 45
                      },
                      "end": {
                        "line": 20,
                        "column": 51
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 20,
                      "column": 45
                    },
                    "end": {
                      "line": 20,
                      "column": 54
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 20,
                  "column": 35
                },
                "end": {
                  "line": 20,
                  "column": 54
                }
              }
            },
            "loc": {
              "start": {
                "line": 20,
                "column": 5
              },
              "end": {
                "line": 20,
                "column": 55
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 18,
            "column": 117
          },
          "end": {
            "line": 21,
            "column": 2
          }
        }
      },
      "id": {
        "type": "Identifier",
        "name": "U",
        "decorators": [],
        "loc": {
          "start": {
            "line": 18,
            "column": 11
          },
          "end": {
            "line": 18,
            "column": 12
          }
        }
      },
      "extends": [
        {
          "type": "TSInterfaceHeritage",
          "expression": {
            "type": "Identifier",
            "name": "R",
            "decorators": [],
            "loc": {
              "start": {
                "line": 18,
                "column": 97
              },
              "end": {
                "line": 18,
                "column": 98
              }
            }
          },
          "typeParameters": {
            "type": "TSTypeParameterInstantiation",
            "params": [
              {
                "type": "TSTupleType",
                "elementTypes": [
                  {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 18,
                        "column": 100
                      },
                      "end": {
                        "line": 18,
                        "column": 107
                      }
                    }
                  },
                  {
                    "type": "TSStringKeyword",
                    "loc": {
                      "start": {
                        "line": 18,
                        "column": 108
                      },
                      "end": {
                        "line": 18,
                        "column": 115
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 18,
                    "column": 99
                  },
                  "end": {
                    "line": 18,
                    "column": 115
                  }
                }
              }
            ],
            "loc": {
              "start": {
                "line": 18,
                "column": 97
              },
              "end": {
                "line": 18,
                "column": 116
              }
            }
          },
          "loc": {
            "start": {
              "line": 18,
              "column": 117
            },
            "end": {
              "line": 18,
              "column": 116
            }
          }
        }
      ],
      "typeParameters": {
        "type": "TSTypeParameterDeclaration",
        "params": [
          {
            "type": "TSTypeParameter",
            "name": {
              "type": "Identifier",
              "name": "A",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 18,
                  "column": 13
                },
                "end": {
                  "line": 18,
                  "column": 14
                }
              }
            },
            "constraint": {
              "type": "TSTypeOperator",
              "operator": "readonly",
              "typeAnnotation": {
                "type": "TSTupleType",
                "elementTypes": [
                  {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 18,
                        "column": 33
                      },
                      "end": {
                        "line": 18,
                        "column": 40
                      }
                    }
                  },
                  {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 18,
                        "column": 41
                      },
                      "end": {
                        "line": 18,
                        "column": 48
                      }
                    }
                  },
                  {
                    "type": "TSTypeLiteral",
                    "members": [
                      {
                        "type": "TSPropertySignature",
                        "computed": false,
                        "optional": false,
                        "readonly": false,
                        "key": {
                          "type": "Identifier",
                          "name": "a",
                          "decorators": [],
                          "loc": {
                            "start": {
                              "line": 18,
                              "column": 51
                            },
                            "end": {
                              "line": 18,
                              "column": 52
                            }
                          }
                        },
                        "typeAnnotation": {
                          "type": "TSNumberKeyword",
                          "loc": {
                            "start": {
                              "line": 18,
                              "column": 54
                            },
                            "end": {
                              "line": 18,
                              "column": 60
                            }
                          }
                        },
                        "loc": {
                          "start": {
                            "line": 18,
                            "column": 51
                          },
                          "end": {
                            "line": 18,
                            "column": 61
                          }
                        }
                      },
                      {
                        "type": "TSPropertySignature",
                        "computed": false,
                        "optional": false,
                        "readonly": false,
                        "key": {
                          "type": "Identifier",
                          "name": "b",
                          "decorators": [],
                          "loc": {
                            "start": {
                              "line": 18,
                              "column": 62
                            },
                            "end": {
                              "line": 18,
                              "column": 63
                            }
                          }
                        },
                        "typeAnnotation": {
                          "type": "TSStringKeyword",
                          "loc": {
                            "start": {
                              "line": 18,
                              "column": 65
                            },
                            "end": {
                              "line": 18,
                              "column": 71
                            }
                          }
                        },
                        "loc": {
                          "start": {
                            "line": 18,
                            "column": 62
                          },
                          "end": {
                            "line": 18,
                            "column": 73
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 18,
                        "column": 49
                      },
                      "end": {
                        "line": 18,
                        "column": 74
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 18,
                    "column": 32
                  },
                  "end": {
                    "line": 18,
                    "column": 74
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 18,
                  "column": 23
                },
                "end": {
                  "line": 18,
                  "column": 74
                }
              }
            },
            "loc": {
              "start": {
                "line": 18,
                "column": 13
              },
              "end": {
                "line": 18,
                "column": 75
              }
            }
          },
          {
            "type": "TSTypeParameter",
            "name": {
              "type": "Identifier",
              "name": "Z",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 18,
                  "column": 76
                },
                "end": {
                  "line": 18,
                  "column": 77
                }
              }
            },
            "default": {
              "type": "TSBooleanKeyword",
              "loc": {
                "start": {
                  "line": 18,
                  "column": 80
                },
                "end": {
                  "line": 18,
                  "column": 87
                }
              }
            },
            "loc": {
              "start": {
                "line": 18,
                "column": 76
              },
              "end": {
                "line": 18,
                "column": 88
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 18,
            "column": 12
          },
          "end": {
            "line": 18,
            "column": 88
          }
        }
      },
      "loc": {
        "start": {
          "line": 18,
          "column": 1
        },
        "end": {
          "line": 21,
          "column": 2
        }
      }
    },
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "CallExpression",
        "callee": {
          "type": "Identifier",
          "name": "func1",
          "decorators": [],
          "loc": {
            "start": {
              "line": 23,
              "column": 1
            },
            "end": {
              "line": 23,
              "column": 6
            }
          }
        },
        "arguments": [],
        "optional": false,
        "typeParameters": {
          "type": "TSTypeParameterInstantiation",
          "params": [
            {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 23,
                  "column": 7
                },
                "end": {
                  "line": 23,
                  "column": 13
                }
              }
            },
            {
              "type": "TSStringKeyword",
              "loc": {
                "start": {
                  "line": 23,
                  "column": 15
                },
                "end": {
                  "line": 23,
                  "column": 21
                }
              }
            },
            {
              "type": "TSTupleType",
              "elementTypes": [
                {
                  "type": "TSLiteralType",
                  "literal": {
                    "type": "NumberLiteral",
                    "value": 1,
                    "loc": {
                      "start": {
                        "line": 23,
                        "column": 24
                      },
                      "end": {
                        "line": 23,
                        "column": 25
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 23,
                      "column": 24
                    },
                    "end": {
                      "line": 23,
                      "column": 26
                    }
                  }
                },
                {
                  "type": "TSLiteralType",
                  "literal": {
                    "type": "NumberLiteral",
                    "value": 2,
                    "loc": {
                      "start": {
                        "line": 23,
                        "column": 27
                      },
                      "end": {
                        "line": 23,
                        "column": 28
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 23,
                      "column": 27
                    },
                    "end": {
                      "line": 23,
                      "column": 29
                    }
                  }
                },
                {
                  "type": "TSLiteralType",
                  "literal": {
                    "type": "NumberLiteral",
                    "value": 3,
                    "loc": {
                      "start": {
                        "line": 23,
                        "column": 30
                      },
                      "end": {
                        "line": 23,
                        "column": 31
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 23,
                      "column": 30
                    },
                    "end": {
                      "line": 23,
                      "column": 32
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 23,
                  "column": 23
                },
                "end": {
                  "line": 23,
                  "column": 32
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 23,
              "column": 6
            },
            "end": {
              "line": 23,
              "column": 33
            }
          }
        },
        "loc": {
          "start": {
            "line": 23,
            "column": 1
          },
          "end": {
            "line": 23,
            "column": 35
          }
        }
      },
      "loc": {
        "start": {
          "line": 23,
          "column": 1
        },
        "end": {
          "line": 23,
          "column": 35
        }
      }
    },
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "CallExpression",
        "callee": {
          "type": "Identifier",
          "name": "func2",
          "decorators": [],
          "loc": {
            "start": {
              "line": 24,
              "column": 1
            },
            "end": {
              "line": 24,
              "column": 6
            }
          }
        },
        "arguments": [],
        "optional": false,
        "typeParameters": {
          "type": "TSTypeParameterInstantiation",
          "params": [
            {
              "type": "TSFunctionType",
              "params": [],
              "typeParameters": {
                "type": "TSTypeParameterDeclaration",
                "params": [
                  {
                    "type": "TSTypeParameter",
                    "name": {
                      "type": "Identifier",
                      "name": "A",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 24,
                          "column": 8
                        },
                        "end": {
                          "line": 24,
                          "column": 9
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 24,
                        "column": 8
                      },
                      "end": {
                        "line": 24,
                        "column": 10
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 24,
                    "column": 7
                  },
                  "end": {
                    "line": 24,
                    "column": 10
                  }
                }
              },
              "returnType": {
                "type": "TSTypeLiteral",
                "members": [],
                "loc": {
                  "start": {
                    "line": 24,
                    "column": 16
                  },
                  "end": {
                    "line": 24,
                    "column": 18
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 24,
                  "column": 7
                },
                "end": {
                  "line": 24,
                  "column": 18
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 24,
              "column": 6
            },
            "end": {
              "line": 24,
              "column": 19
            }
          }
        },
        "loc": {
          "start": {
            "line": 24,
            "column": 1
          },
          "end": {
            "line": 24,
            "column": 21
          }
        }
      },
      "loc": {
        "start": {
          "line": 24,
          "column": 1
        },
        "end": {
          "line": 24,
          "column": 22
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "o",
            "decorators": [],
            "loc": {
              "start": {
                "line": 26,
                "column": 5
              },
              "end": {
                "line": 26,
                "column": 6
              }
            }
          },
          "init": {
            "type": "ObjectExpression",
            "properties": [
              {
                "type": "Property",
                "method": false,
                "shorthand": false,
                "computed": false,
                "key": {
                  "type": "Identifier",
                  "name": "a",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 27,
                      "column": 5
                    },
                    "end": {
                      "line": 27,
                      "column": 6
                    }
                  }
                },
                "value": {
                  "type": "FunctionExpression",
                  "function": {
                    "type": "ScriptFunction",
                    "id": null,
                    "generator": false,
                    "async": false,
                    "expression": false,
                    "params": [],
                    "typeParameters": {
                      "type": "TSTypeParameterDeclaration",
                      "params": [
                        {
                          "type": "TSTypeParameter",
                          "name": {
                            "type": "Identifier",
                            "name": "B",
                            "decorators": [],
                            "loc": {
                              "start": {
                                "line": 27,
                                "column": 18
                              },
                              "end": {
                                "line": 27,
                                "column": 19
                              }
                            }
                          },
                          "loc": {
                            "start": {
                              "line": 27,
                              "column": 18
                            },
                            "end": {
                              "line": 27,
                              "column": 20
                            }
                          }
                        },
                        {
                          "type": "TSTypeParameter",
                          "name": {
                            "type": "Identifier",
                            "name": "C",
                            "decorators": [],
                            "loc": {
                              "start": {
                                "line": 27,
                                "column": 21
                              },
                              "end": {
                                "line": 27,
                                "column": 22
                              }
                            }
                          },
                          "constraint": {
                            "type": "TSTypeQuery",
                            "exprName": {
                              "type": "Identifier",
                              "name": "func1",
                              "decorators": [],
                              "loc": {
                                "start": {
                                  "line": 27,
                                  "column": 38
                                },
                                "end": {
                                  "line": 27,
                                  "column": 43
                                }
                              }
                            },
                            "loc": {
                              "start": {
                                "line": 27,
                                "column": 31
                              },
                              "end": {
                                "line": 27,
                                "column": 43
                              }
                            }
                          },
                          "loc": {
                            "start": {
                              "line": 27,
                              "column": 21
                            },
                            "end": {
                              "line": 27,
                              "column": 44
                            }
                          }
                        }
                      ],
                      "loc": {
                        "start": {
                          "line": 27,
                          "column": 17
                        },
                        "end": {
                          "line": 27,
                          "column": 44
                        }
                      }
                    },
                    "body": {
                      "type": "BlockStatement",
                      "statements": [],
                      "loc": {
                        "start": {
                          "line": 27,
                          "column": 47
                        },
                        "end": {
                          "line": 27,
                          "column": 50
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 27,
                        "column": 8
                      },
                      "end": {
                        "line": 27,
                        "column": 50
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 27,
                      "column": 8
                    },
                    "end": {
                      "line": 27,
                      "column": 50
                    }
                  }
                },
                "kind": "init",
                "loc": {
                  "start": {
                    "line": 27,
                    "column": 5
                  },
                  "end": {
                    "line": 27,
                    "column": 50
                  }
                }
              },
              {
                "type": "Property",
                "method": false,
                "shorthand": false,
                "computed": false,
                "key": {
                  "type": "Identifier",
                  "name": "b",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 28,
                      "column": 5
                    },
                    "end": {
                      "line": 28,
                      "column": 6
                    }
                  }
                },
                "value": {
                  "type": "FunctionExpression",
                  "function": {
                    "type": "ScriptFunction",
                    "id": null,
                    "generator": false,
                    "async": false,
                    "expression": false,
                    "params": [],
                    "typeParameters": {
                      "type": "TSTypeParameterDeclaration",
                      "params": [
                        {
                          "type": "TSTypeParameter",
                          "name": {
                            "type": "Identifier",
                            "name": "D",
                            "decorators": [],
                            "loc": {
                              "start": {
                                "line": 28,
                                "column": 18
                              },
                              "end": {
                                "line": 28,
                                "column": 19
                              }
                            }
                          },
                          "default": {
                            "type": "TSNumberKeyword",
                            "loc": {
                              "start": {
                                "line": 28,
                                "column": 22
                              },
                              "end": {
                                "line": 28,
                                "column": 28
                              }
                            }
                          },
                          "loc": {
                            "start": {
                              "line": 28,
                              "column": 18
                            },
                            "end": {
                              "line": 28,
                              "column": 29
                            }
                          }
                        },
                        {
                          "type": "TSTypeParameter",
                          "name": {
                            "type": "Identifier",
                            "name": "T",
                            "decorators": [],
                            "loc": {
                              "start": {
                                "line": 28,
                                "column": 30
                              },
                              "end": {
                                "line": 28,
                                "column": 31
                              }
                            }
                          },
                          "default": {
                            "type": "TSStringKeyword",
                            "loc": {
                              "start": {
                                "line": 28,
                                "column": 34
                              },
                              "end": {
                                "line": 28,
                                "column": 40
                              }
                            }
                          },
                          "loc": {
                            "start": {
                              "line": 28,
                              "column": 30
                            },
                            "end": {
                              "line": 28,
                              "column": 41
                            }
                          }
                        }
                      ],
                      "loc": {
                        "start": {
                          "line": 28,
                          "column": 17
                        },
                        "end": {
                          "line": 28,
                          "column": 41
                        }
                      }
                    },
                    "body": {
                      "type": "BlockStatement",
                      "statements": [],
                      "loc": {
                        "start": {
                          "line": 28,
                          "column": 44
                        },
                        "end": {
                          "line": 28,
                          "column": 47
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 28,
                        "column": 8
                      },
                      "end": {
                        "line": 28,
                        "column": 47
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 28,
                      "column": 8
                    },
                    "end": {
                      "line": 28,
                      "column": 47
                    }
                  }
                },
                "kind": "init",
                "loc": {
                  "start": {
                    "line": 28,
                    "column": 5
                  },
                  "end": {
                    "line": 28,
                    "column": 47
                  }
                }
              },
              {
                "type": "Property",
                "method": true,
                "shorthand": false,
                "computed": false,
                "key": {
                  "type": "Identifier",
                  "name": "c",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 29,
                      "column": 5
                    },
                    "end": {
                      "line": 29,
                      "column": 6
                    }
                  }
                },
                "value": {
                  "type": "FunctionExpression",
                  "function": {
                    "type": "ScriptFunction",
                    "id": null,
                    "generator": false,
                    "async": false,
                    "expression": false,
                    "params": [],
                    "typeParameters": {
                      "type": "TSTypeParameterDeclaration",
                      "params": [
                        {
                          "type": "TSTypeParameter",
                          "name": {
                            "type": "Identifier",
                            "name": "E",
                            "decorators": [],
                            "loc": {
                              "start": {
                                "line": 29,
                                "column": 7
                              },
                              "end": {
                                "line": 29,
                                "column": 8
                              }
                            }
                          },
                          "loc": {
                            "start": {
                              "line": 29,
                              "column": 7
                            },
                            "end": {
                              "line": 29,
                              "column": 9
                            }
                          }
                        },
                        {
                          "type": "TSTypeParameter",
                          "name": {
                            "type": "Identifier",
                            "name": "F",
                            "decorators": [],
                            "loc": {
                              "start": {
                                "line": 29,
                                "column": 10
                              },
                              "end": {
                                "line": 29,
                                "column": 11
                              }
                            }
                          },
                          "constraint": {
                            "type": "TSTypeOperator",
                            "operator": "readonly",
                            "typeAnnotation": {
                              "type": "TSTupleType",
                              "elementTypes": [],
                              "loc": {
                                "start": {
                                  "line": 29,
                                  "column": 29
                                },
                                "end": {
                                  "line": 29,
                                  "column": 31
                                }
                              }
                            },
                            "loc": {
                              "start": {
                                "line": 29,
                                "column": 20
                              },
                              "end": {
                                "line": 29,
                                "column": 31
                              }
                            }
                          },
                          "loc": {
                            "start": {
                              "line": 29,
                              "column": 10
                            },
                            "end": {
                              "line": 29,
                              "column": 32
                            }
                          }
                        }
                      ],
                      "loc": {
                        "start": {
                          "line": 29,
                          "column": 6
                        },
                        "end": {
                          "line": 29,
                          "column": 32
                        }
                      }
                    },
                    "body": {
                      "type": "BlockStatement",
                      "statements": [],
                      "loc": {
                        "start": {
                          "line": 29,
                          "column": 35
                        },
                        "end": {
                          "line": 29,
                          "column": 38
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 29,
                        "column": 6
                      },
                      "end": {
                        "line": 29,
                        "column": 38
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 29,
                      "column": 6
                    },
                    "end": {
                      "line": 29,
                      "column": 38
                    }
                  }
                },
                "kind": "init",
                "loc": {
                  "start": {
                    "line": 29,
                    "column": 5
                  },
                  "end": {
                    "line": 29,
                    "column": 38
                  }
                }
              }
            ],
            "loc": {
              "start": {
                "line": 26,
                "column": 9
              },
              "end": {
                "line": 30,
                "column": 2
              }
            }
          },
          "loc": {
            "start": {
              "line": 26,
              "column": 5
            },
            "end": {
              "line": 30,
              "column": 2
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 26,
          "column": 1
        },
        "end": {
          "line": 30,
          "column": 2
        }
      }
    },
    {
      "type": "ClassDeclaration",
      "definition": {
        "id": {
          "type": "Identifier",
          "name": "A",
          "decorators": [],
          "loc": {
            "start": {
              "line": 32,
              "column": 7
            },
            "end": {
              "line": 32,
              "column": 8
            }
          }
        },
        "typeParameters": {
          "type": "TSTypeParameterDeclaration",
          "params": [
            {
              "type": "TSTypeParameter",
              "name": {
                "type": "Identifier",
                "name": "T",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 32,
                    "column": 9
                  },
                  "end": {
                    "line": 32,
                    "column": 10
                  }
                }
              },
              "constraint": {
                "type": "TSTypeReference",
                "typeName": {
                  "type": "Identifier",
                  "name": "B",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 32,
                      "column": 19
                    },
                    "end": {
                      "line": 32,
                      "column": 20
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 32,
                    "column": 19
                  },
                  "end": {
                    "line": 32,
                    "column": 20
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 32,
                  "column": 9
                },
                "end": {
                  "line": 32,
                  "column": 21
                }
              }
            },
            {
              "type": "TSTypeParameter",
              "name": {
                "type": "Identifier",
                "name": "Z",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 32,
                    "column": 22
                  },
                  "end": {
                    "line": 32,
                    "column": 23
                  }
                }
              },
              "default": {
                "type": "TSTypeLiteral",
                "members": [
                  {
                    "type": "TSPropertySignature",
                    "computed": false,
                    "optional": false,
                    "readonly": false,
                    "key": {
                      "type": "Identifier",
                      "name": "a",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 32,
                          "column": 28
                        },
                        "end": {
                          "line": 32,
                          "column": 29
                        }
                      }
                    },
                    "typeAnnotation": {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 32,
                          "column": 31
                        },
                        "end": {
                          "line": 32,
                          "column": 37
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 32,
                        "column": 28
                      },
                      "end": {
                        "line": 32,
                        "column": 38
                      }
                    }
                  },
                  {
                    "type": "TSPropertySignature",
                    "computed": false,
                    "optional": false,
                    "readonly": false,
                    "key": {
                      "type": "Identifier",
                      "name": "b",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 32,
                          "column": 39
                        },
                        "end": {
                          "line": 32,
                          "column": 40
                        }
                      }
                    },
                    "typeAnnotation": {
                      "type": "TSStringKeyword",
                      "loc": {
                        "start": {
                          "line": 32,
                          "column": 42
                        },
                        "end": {
                          "line": 32,
                          "column": 48
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 32,
                        "column": 39
                      },
                      "end": {
                        "line": 32,
                        "column": 50
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 32,
                    "column": 26
                  },
                  "end": {
                    "line": 32,
                    "column": 50
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 32,
                  "column": 22
                },
                "end": {
                  "line": 32,
                  "column": 51
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 32,
              "column": 8
            },
            "end": {
              "line": 32,
              "column": 51
            }
          }
        },
        "superClass": null,
        "implements": [],
        "constructor": {
          "type": "MethodDefinition",
          "key": {
            "type": "Identifier",
            "name": "constructor",
            "decorators": [],
            "loc": {
              "start": {
                "line": 1,
                "column": 1
              },
              "end": {
                "line": 1,
                "column": 1
              }
            }
          },
          "kind": "constructor",
          "static": false,
          "optional": false,
          "computed": false,
          "value": {
            "type": "FunctionExpression",
            "function": {
              "type": "ScriptFunction",
              "id": null,
              "generator": false,
              "async": false,
              "expression": false,
              "params": [],
              "body": {
                "type": "BlockStatement",
                "statements": [],
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 1
                  },
                  "end": {
                    "line": 1,
                    "column": 1
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 1,
                  "column": 1
                },
                "end": {
                  "line": 1,
                  "column": 1
                }
              }
            },
            "loc": {
              "start": {
                "line": 1,
                "column": 1
              },
              "end": {
                "line": 1,
                "column": 1
              }
            }
          },
          "overloads": [],
          "decorators": [],
          "loc": {
            "start": {
              "line": 32,
              "column": 1
            },
            "end": {
              "line": 35,
              "column": 2
            }
          }
        },
        "body": [
          {
            "type": "MethodDefinition",
            "key": {
              "type": "Identifier",
              "name": "a",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 33,
                  "column": 12
                },
                "end": {
                  "line": 33,
                  "column": 13
                }
              }
            },
            "kind": "method",
            "accessibility": "public",
            "static": false,
            "optional": false,
            "computed": false,
            "value": {
              "type": "FunctionExpression",
              "function": {
                "type": "ScriptFunction",
                "id": null,
                "generator": false,
                "async": false,
                "expression": false,
                "params": [],
                "typeParameters": {
                  "type": "TSTypeParameterDeclaration",
                  "params": [
                    {
                      "type": "TSTypeParameter",
                      "name": {
                        "type": "Identifier",
                        "name": "T",
                        "decorators": [],
                        "loc": {
                          "start": {
                            "line": 33,
                            "column": 14
                          },
                          "end": {
                            "line": 33,
                            "column": 15
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 33,
                          "column": 14
                        },
                        "end": {
                          "line": 33,
                          "column": 16
                        }
                      }
                    },
                    {
                      "type": "TSTypeParameter",
                      "name": {
                        "type": "Identifier",
                        "name": "R",
                        "decorators": [],
                        "loc": {
                          "start": {
                            "line": 33,
                            "column": 17
                          },
                          "end": {
                            "line": 33,
                            "column": 18
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 33,
                          "column": 17
                        },
                        "end": {
                          "line": 33,
                          "column": 19
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 33,
                      "column": 13
                    },
                    "end": {
                      "line": 33,
                      "column": 19
                    }
                  }
                },
                "body": {
                  "type": "BlockStatement",
                  "statements": [],
                  "loc": {
                    "start": {
                      "line": 33,
                      "column": 22
                    },
                    "end": {
                      "line": 33,
                      "column": 25
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 33,
                    "column": 13
                  },
                  "end": {
                    "line": 33,
                    "column": 25
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 33,
                  "column": 13
                },
                "end": {
                  "line": 33,
                  "column": 25
                }
              }
            },
            "overloads": [],
            "decorators": [],
            "loc": {
              "start": {
                "line": 33,
                "column": 5
              },
              "end": {
                "line": 33,
                "column": 25
              }
            }
          },
          {
            "type": "MethodDefinition",
            "key": {
              "type": "Identifier",
              "name": "b",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 34,
                  "column": 13
                },
                "end": {
                  "line": 34,
                  "column": 14
                }
              }
            },
            "kind": "method",
            "accessibility": "private",
            "static": false,
            "optional": false,
            "computed": false,
            "value": {
              "type": "FunctionExpression",
              "function": {
                "type": "ScriptFunction",
                "id": null,
                "generator": false,
                "async": false,
                "expression": false,
                "params": [],
                "typeParameters": {
                  "type": "TSTypeParameterDeclaration",
                  "params": [
                    {
                      "type": "TSTypeParameter",
                      "name": {
                        "type": "Identifier",
                        "name": "E",
                        "decorators": [],
                        "loc": {
                          "start": {
                            "line": 34,
                            "column": 15
                          },
                          "end": {
                            "line": 34,
                            "column": 16
                          }
                        }
                      },
                      "constraint": {
                        "type": "TSFunctionType",
                        "params": [
                          {
                            "type": "Identifier",
                            "name": "a",
                            "typeAnnotation": {
                              "type": "TSNumberKeyword",
                              "loc": {
                                "start": {
                                  "line": 34,
                                  "column": 29
                                },
                                "end": {
                                  "line": 34,
                                  "column": 35
                                }
                              }
                            },
                            "decorators": [],
                            "loc": {
                              "start": {
                                "line": 34,
                                "column": 26
                              },
                              "end": {
                                "line": 34,
                                "column": 27
                              }
                            }
                          },
                          {
                            "type": "Identifier",
                            "name": "b",
                            "typeAnnotation": {
                              "type": "TSStringKeyword",
                              "loc": {
                                "start": {
                                  "line": 34,
                                  "column": 40
                                },
                                "end": {
                                  "line": 34,
                                  "column": 46
                                }
                              }
                            },
                            "decorators": [],
                            "loc": {
                              "start": {
                                "line": 34,
                                "column": 37
                              },
                              "end": {
                                "line": 34,
                                "column": 38
                              }
                            }
                          }
                        ],
                        "returnType": {
                          "type": "TSArrayType",
                          "elementType": {
                            "type": "TSAnyKeyword",
                            "loc": {
                              "start": {
                                "line": 34,
                                "column": 51
                              },
                              "end": {
                                "line": 34,
                                "column": 54
                              }
                            }
                          },
                          "loc": {
                            "start": {
                              "line": 34,
                              "column": 51
                            },
                            "end": {
                              "line": 34,
                              "column": 56
                            }
                          }
                        },
                        "loc": {
                          "start": {
                            "line": 34,
                            "column": 25
                          },
                          "end": {
                            "line": 34,
                            "column": 56
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 34,
                          "column": 15
                        },
                        "end": {
                          "line": 34,
                          "column": 57
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 34,
                      "column": 14
                    },
                    "end": {
                      "line": 34,
                      "column": 57
                    }
                  }
                },
                "body": {
                  "type": "BlockStatement",
                  "statements": [],
                  "loc": {
                    "start": {
                      "line": 34,
                      "column": 60
                    },
                    "end": {
                      "line": 34,
                      "column": 63
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 34,
                    "column": 14
                  },
                  "end": {
                    "line": 34,
                    "column": 63
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 34,
                  "column": 14
                },
                "end": {
                  "line": 34,
                  "column": 63
                }
              }
            },
            "overloads": [],
            "decorators": [],
            "loc": {
              "start": {
                "line": 34,
                "column": 5
              },
              "end": {
                "line": 34,
                "column": 63
              }
            }
          }
        ],
        "indexSignatures": [],
        "loc": {
          "start": {
            "line": 32,
            "column": 52
          },
          "end": {
            "line": 35,
            "column": 2
          }
        }
      },
      "decorators": [],
      "loc": {
        "start": {
          "line": 32,
          "column": 1
        },
        "end": {
          "line": 35,
          "column": 2
        }
      }
    },
    {
      "type": "ClassDeclaration",
      "definition": {
        "id": {
          "type": "Identifier",
          "name": "W",
          "decorators": [],
          "loc": {
            "start": {
              "line": 37,
              "column": 7
            },
            "end": {
              "line": 37,
              "column": 8
            }
          }
        },
        "superClass": {
          "type": "Identifier",
          "name": "T",
          "decorators": [],
          "loc": {
            "start": {
              "line": 37,
              "column": 17
            },
            "end": {
              "line": 37,
              "column": 18
            }
          }
        },
        "superTypeParameters": {
          "type": "TSTypeParameterInstantiation",
          "params": [
            {
              "type": "TSFunctionType",
              "params": [],
              "typeParameters": {
                "type": "TSTypeParameterDeclaration",
                "params": [
                  {
                    "type": "TSTypeParameter",
                    "name": {
                      "type": "Identifier",
                      "name": "B",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 37,
                          "column": 20
                        },
                        "end": {
                          "line": 37,
                          "column": 21
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 37,
                        "column": 20
                      },
                      "end": {
                        "line": 37,
                        "column": 22
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 37,
                    "column": 19
                  },
                  "end": {
                    "line": 37,
                    "column": 22
                  }
                }
              },
              "returnType": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 37,
                    "column": 29
                  },
                  "end": {
                    "line": 37,
                    "column": 35
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 37,
                  "column": 19
                },
                "end": {
                  "line": 37,
                  "column": 35
                }
              }
            },
            {
              "type": "TSArrayType",
              "elementType": {
                "type": "TSTupleType",
                "elementTypes": [
                  {
                    "type": "TSUnionType",
                    "types": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 37,
                            "column": 38
                          },
                          "end": {
                            "line": 37,
                            "column": 44
                          }
                        }
                      },
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 37,
                            "column": 47
                          },
                          "end": {
                            "line": 37,
                            "column": 53
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 37,
                        "column": 38
                      },
                      "end": {
                        "line": 37,
                        "column": 54
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 37,
                    "column": 37
                  },
                  "end": {
                    "line": 37,
                    "column": 54
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 37,
                  "column": 37
                },
                "end": {
                  "line": 37,
                  "column": 56
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 37,
              "column": 18
            },
            "end": {
              "line": 37,
              "column": 57
            }
          }
        },
        "implements": [],
        "constructor": {
          "type": "MethodDefinition",
          "key": {
            "type": "Identifier",
            "name": "constructor",
            "decorators": [],
            "loc": {
              "start": {
                "line": 1,
                "column": 1
              },
              "end": {
                "line": 1,
                "column": 1
              }
            }
          },
          "kind": "constructor",
          "static": false,
          "optional": false,
          "computed": false,
          "value": {
            "type": "FunctionExpression",
            "function": {
              "type": "ScriptFunction",
              "id": null,
              "generator": false,
              "async": false,
              "expression": false,
              "params": [
                {
                  "type": "RestElement",
                  "argument": {
                    "type": "Identifier",
                    "name": "args",
                    "decorators": [],
                    "loc": {
                      "start": {
                        "line": 1,
                        "column": 1
                      },
                      "end": {
                        "line": 1,
                        "column": 1
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 1
                    },
                    "end": {
                      "line": 1,
                      "column": 1
                    }
                  }
                }
              ],
              "body": {
                "type": "BlockStatement",
                "statements": [
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "CallExpression",
                      "callee": {
                        "type": "Super",
                        "loc": {
                          "start": {
                            "line": 1,
                            "column": 1
                          },
                          "end": {
                            "line": 1,
                            "column": 1
                          }
                        }
                      },
                      "arguments": [
                        {
                          "type": "SpreadElement",
                          "argument": {
                            "type": "Identifier",
                            "name": "args",
                            "decorators": [],
                            "loc": {
                              "start": {
                                "line": 1,
                                "column": 1
                              },
                              "end": {
                                "line": 1,
                                "column": 1
                              }
                            }
                          },
                          "loc": {
                            "start": {
                              "line": 1,
                              "column": 1
                            },
                            "end": {
                              "line": 1,
                              "column": 1
                            }
                          }
                        }
                      ],
                      "optional": false,
                      "loc": {
                        "start": {
                          "line": 1,
                          "column": 1
                        },
                        "end": {
                          "line": 1,
                          "column": 1
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 1,
                        "column": 1
                      },
                      "end": {
                        "line": 1,
                        "column": 1
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 1
                  },
                  "end": {
                    "line": 1,
                    "column": 1
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 1,
                  "column": 1
                },
                "end": {
                  "line": 1,
                  "column": 1
                }
              }
            },
            "loc": {
              "start": {
                "line": 1,
                "column": 1
              },
              "end": {
                "line": 1,
                "column": 1
              }
            }
          },
          "overloads": [],
          "decorators": [],
          "loc": {
            "start": {
              "line": 37,
              "column": 1
            },
            "end": {
              "line": 39,
              "column": 2
            }
          }
        },
        "body": [],
        "indexSignatures": [],
        "loc": {
          "start": {
            "line": 37,
            "column": 58
          },
          "end": {
            "line": 39,
            "column": 2
          }
        }
      },
      "decorators": [],
      "loc": {
        "start": {
          "line": 37,
          "column": 1
        },
        "end": {
          "line": 39,
          "column": 2
        }
      }
    },
    {
      "type": "ClassDeclaration",
      "definition": {
        "id": {
          "type": "Identifier",
          "name": "X",
          "decorators": [],
          "loc": {
            "start": {
              "line": 41,
              "column": 7
            },
            "end": {
              "line": 41,
              "column": 8
            }
          }
        },
        "superClass": {
          "type": "Identifier",
          "name": "Q",
          "decorators": [],
          "loc": {
            "start": {
              "line": 41,
              "column": 17
            },
            "end": {
              "line": 41,
              "column": 18
            }
          }
        },
        "superTypeParameters": {
          "type": "TSTypeParameterInstantiation",
          "params": [
            {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 41,
                  "column": 19
                },
                "end": {
                  "line": 41,
                  "column": 25
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 41,
              "column": 18
            },
            "end": {
              "line": 41,
              "column": 26
            }
          }
        },
        "implements": [
          {
            "type": "TSClassImplements",
            "expression": {
              "type": "Identifier",
              "name": "S",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 41,
                  "column": 38
                },
                "end": {
                  "line": 41,
                  "column": 39
                }
              }
            },
            "typeParameters": {
              "type": "TSTypeParameterInstantiation",
              "params": [
                {
                  "type": "TSFunctionType",
                  "params": [
                    {
                      "type": "Identifier",
                      "name": "a",
                      "typeAnnotation": {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 41,
                            "column": 46
                          },
                          "end": {
                            "line": 41,
                            "column": 52
                          }
                        }
                      },
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 41,
                          "column": 44
                        },
                        "end": {
                          "line": 41,
                          "column": 45
                        }
                      }
                    },
                    {
                      "type": "Identifier",
                      "name": "b",
                      "typeAnnotation": {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 41,
                            "column": 56
                          },
                          "end": {
                            "line": 41,
                            "column": 62
                          }
                        }
                      },
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 41,
                          "column": 54
                        },
                        "end": {
                          "line": 41,
                          "column": 55
                        }
                      }
                    }
                  ],
                  "typeParameters": {
                    "type": "TSTypeParameterDeclaration",
                    "params": [
                      {
                        "type": "TSTypeParameter",
                        "name": {
                          "type": "Identifier",
                          "name": "R",
                          "decorators": [],
                          "loc": {
                            "start": {
                              "line": 41,
                              "column": 41
                            },
                            "end": {
                              "line": 41,
                              "column": 42
                            }
                          }
                        },
                        "loc": {
                          "start": {
                            "line": 41,
                            "column": 41
                          },
                          "end": {
                            "line": 41,
                            "column": 43
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 41,
                        "column": 40
                      },
                      "end": {
                        "line": 41,
                        "column": 43
                      }
                    }
                  },
                  "returnType": {
                    "type": "TSTupleType",
                    "elementTypes": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 41,
                            "column": 68
                          },
                          "end": {
                            "line": 41,
                            "column": 75
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 41,
                        "column": 67
                      },
                      "end": {
                        "line": 41,
                        "column": 75
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 41,
                      "column": 40
                    },
                    "end": {
                      "line": 41,
                      "column": 75
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 41,
                  "column": 39
                },
                "end": {
                  "line": 41,
                  "column": 76
                }
              }
            },
            "loc": {
              "start": {
                "line": 41,
                "column": 38
              },
              "end": {
                "line": 41,
                "column": 77
              }
            }
          },
          {
            "type": "TSClassImplements",
            "expression": {
              "type": "Identifier",
              "name": "A",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 41,
                  "column": 78
                },
                "end": {
                  "line": 41,
                  "column": 79
                }
              }
            },
            "loc": {
              "start": {
                "line": 41,
                "column": 78
              },
              "end": {
                "line": 41,
                "column": 81
              }
            }
          }
        ],
        "constructor": {
          "type": "MethodDefinition",
          "key": {
            "type": "Identifier",
            "name": "constructor",
            "decorators": [],
            "loc": {
              "start": {
                "line": 1,
                "column": 1
              },
              "end": {
                "line": 1,
                "column": 1
              }
            }
          },
          "kind": "constructor",
          "static": false,
          "optional": false,
          "computed": false,
          "value": {
            "type": "FunctionExpression",
            "function": {
              "type": "ScriptFunction",
              "id": null,
              "generator": false,
              "async": false,
              "expression": false,
              "params": [
                {
                  "type": "RestElement",
                  "argument": {
                    "type": "Identifier",
                    "name": "args",
                    "decorators": [],
                    "loc": {
                      "start": {
                        "line": 1,
                        "column": 1
                      },
                      "end": {
                        "line": 1,
                        "column": 1
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 1
                    },
                    "end": {
                      "line": 1,
                      "column": 1
                    }
                  }
                }
              ],
              "body": {
                "type": "BlockStatement",
                "statements": [
                  {
                    "type": "ExpressionStatement",
                    "expression": {
                      "type": "CallExpression",
                      "callee": {
                        "type": "Super",
                        "loc": {
                          "start": {
                            "line": 1,
                            "column": 1
                          },
                          "end": {
                            "line": 1,
                            "column": 1
                          }
                        }
                      },
                      "arguments": [
                        {
                          "type": "SpreadElement",
                          "argument": {
                            "type": "Identifier",
                            "name": "args",
                            "decorators": [],
                            "loc": {
                              "start": {
                                "line": 1,
                                "column": 1
                              },
                              "end": {
                                "line": 1,
                                "column": 1
                              }
                            }
                          },
                          "loc": {
                            "start": {
                              "line": 1,
                              "column": 1
                            },
                            "end": {
                              "line": 1,
                              "column": 1
                            }
                          }
                        }
                      ],
                      "optional": false,
                      "loc": {
                        "start": {
                          "line": 1,
                          "column": 1
                        },
                        "end": {
                          "line": 1,
                          "column": 1
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 1,
                        "column": 1
                      },
                      "end": {
                        "line": 1,
                        "column": 1
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 1
                  },
                  "end": {
                    "line": 1,
                    "column": 1
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 1,
                  "column": 1
                },
                "end": {
                  "line": 1,
                  "column": 1
                }
              }
            },
            "loc": {
              "start": {
                "line": 1,
                "column": 1
              },
              "end": {
                "line": 1,
                "column": 1
              }
            }
          },
          "overloads": [],
          "decorators": [],
          "loc": {
            "start": {
              "line": 41,
              "column": 1
            },
            "end": {
              "line": 43,
              "column": 2
            }
          }
        },
        "body": [],
        "indexSignatures": [],
        "loc": {
          "start": {
            "line": 41,
            "column": 80
          },
          "end": {
            "line": 43,
            "column": 2
          }
        }
      },
      "decorators": [],
      "loc": {
        "start": {
          "line": 41,
          "column": 1
        },
        "end": {
          "line": 43,
          "column": 2
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "a",
            "typeAnnotation": {
              "type": "TSConstructorType",
              "params": [],
              "typeParameters": {
                "type": "TSTypeParameterDeclaration",
                "params": [
                  {
                    "type": "TSTypeParameter",
                    "name": {
                      "type": "Identifier",
                      "name": "A",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 45,
                          "column": 13
                        },
                        "end": {
                          "line": 45,
                          "column": 14
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 45,
                        "column": 13
                      },
                      "end": {
                        "line": 45,
                        "column": 15
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 45,
                    "column": 12
                  },
                  "end": {
                    "line": 45,
                    "column": 15
                  }
                }
              },
              "returnType": {
                "type": "TSFunctionType",
                "params": [],
                "typeParameters": {
                  "type": "TSTypeParameterDeclaration",
                  "params": [
                    {
                      "type": "TSTypeParameter",
                      "name": {
                        "type": "Identifier",
                        "name": "B",
                        "decorators": [],
                        "loc": {
                          "start": {
                            "line": 45,
                            "column": 22
                          },
                          "end": {
                            "line": 45,
                            "column": 23
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 45,
                          "column": 22
                        },
                        "end": {
                          "line": 45,
                          "column": 24
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 45,
                      "column": 21
                    },
                    "end": {
                      "line": 45,
                      "column": 24
                    }
                  }
                },
                "returnType": {
                  "type": "TSStringKeyword",
                  "loc": {
                    "start": {
                      "line": 45,
                      "column": 30
                    },
                    "end": {
                      "line": 45,
                      "column": 36
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 45,
                    "column": 21
                  },
                  "end": {
                    "line": 45,
                    "column": 36
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 45,
                  "column": 8
                },
                "end": {
                  "line": 45,
                  "column": 36
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 45,
                "column": 5
              },
              "end": {
                "line": 45,
                "column": 6
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 45,
              "column": 5
            },
            "end": {
              "line": 45,
              "column": 6
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 45,
          "column": 1
        },
        "end": {
          "line": 45,
          "column": 37
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "b",
            "typeAnnotation": {
              "type": "TSFunctionType",
              "params": [
                {
                  "type": "Identifier",
                  "name": "a",
                  "typeAnnotation": {
                    "type": "TSUnionType",
                    "types": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 46,
                            "column": 32
                          },
                          "end": {
                            "line": 46,
                            "column": 38
                          }
                        }
                      },
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 46,
                            "column": 41
                          },
                          "end": {
                            "line": 46,
                            "column": 47
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 46,
                        "column": 32
                      },
                      "end": {
                        "line": 46,
                        "column": 47
                      }
                    }
                  },
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 46,
                      "column": 29
                    },
                    "end": {
                      "line": 46,
                      "column": 30
                    }
                  }
                }
              ],
              "typeParameters": {
                "type": "TSTypeParameterDeclaration",
                "params": [
                  {
                    "type": "TSTypeParameter",
                    "name": {
                      "type": "Identifier",
                      "name": "A",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 46,
                          "column": 9
                        },
                        "end": {
                          "line": 46,
                          "column": 10
                        }
                      }
                    },
                    "constraint": {
                      "type": "TSTypeReference",
                      "typeName": {
                        "type": "Identifier",
                        "name": "T",
                        "decorators": [],
                        "loc": {
                          "start": {
                            "line": 46,
                            "column": 19
                          },
                          "end": {
                            "line": 46,
                            "column": 20
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 46,
                          "column": 19
                        },
                        "end": {
                          "line": 46,
                          "column": 20
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 46,
                        "column": 9
                      },
                      "end": {
                        "line": 46,
                        "column": 21
                      }
                    }
                  },
                  {
                    "type": "TSTypeParameter",
                    "name": {
                      "type": "Identifier",
                      "name": "U",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 46,
                          "column": 22
                        },
                        "end": {
                          "line": 46,
                          "column": 23
                        }
                      }
                    },
                    "default": {
                      "type": "TSLiteralType",
                      "literal": {
                        "type": "NumberLiteral",
                        "value": 5,
                        "loc": {
                          "start": {
                            "line": 46,
                            "column": 26
                          },
                          "end": {
                            "line": 46,
                            "column": 27
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 46,
                          "column": 26
                        },
                        "end": {
                          "line": 46,
                          "column": 27
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 46,
                        "column": 22
                      },
                      "end": {
                        "line": 46,
                        "column": 28
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 46,
                    "column": 8
                  },
                  "end": {
                    "line": 46,
                    "column": 28
                  }
                }
              },
              "returnType": {
                "type": "TSTypeLiteral",
                "members": [
                  {
                    "type": "TSPropertySignature",
                    "computed": false,
                    "optional": false,
                    "readonly": false,
                    "key": {
                      "type": "Identifier",
                      "name": "a",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 46,
                          "column": 54
                        },
                        "end": {
                          "line": 46,
                          "column": 55
                        }
                      }
                    },
                    "typeAnnotation": {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 46,
                          "column": 57
                        },
                        "end": {
                          "line": 46,
                          "column": 63
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 46,
                        "column": 54
                      },
                      "end": {
                        "line": 46,
                        "column": 65
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 46,
                    "column": 52
                  },
                  "end": {
                    "line": 46,
                    "column": 65
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 46,
                  "column": 8
                },
                "end": {
                  "line": 46,
                  "column": 65
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 46,
                "column": 5
              },
              "end": {
                "line": 46,
                "column": 6
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 46,
              "column": 5
            },
            "end": {
              "line": 46,
              "column": 6
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 46,
          "column": 1
        },
        "end": {
          "line": 46,
          "column": 66
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "c",
            "typeAnnotation": {
              "type": "TSIndexedAccessType",
              "objectType": {
                "type": "TSTypeReference",
                "typeName": {
                  "type": "TSQualifiedName",
                  "left": {
                    "type": "Identifier",
                    "name": "B",
                    "decorators": [],
                    "loc": {
                      "start": {
                        "line": 48,
                        "column": 8
                      },
                      "end": {
                        "line": 48,
                        "column": 9
                      }
                    }
                  },
                  "right": {
                    "type": "Identifier",
                    "name": "T",
                    "decorators": [],
                    "loc": {
                      "start": {
                        "line": 48,
                        "column": 10
                      },
                      "end": {
                        "line": 48,
                        "column": 11
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 48,
                      "column": 8
                    },
                    "end": {
                      "line": 48,
                      "column": 12
                    }
                  }
                },
                "typeParameters": {
                  "type": "TSTypeParameterInstantiation",
                  "params": [
                    {
                      "type": "TSTypeReference",
                      "typeName": {
                        "type": "Identifier",
                        "name": "A",
                        "decorators": [],
                        "loc": {
                          "start": {
                            "line": 48,
                            "column": 12
                          },
                          "end": {
                            "line": 48,
                            "column": 13
                          }
                        }
                      },
                      "typeParameters": {
                        "type": "TSTypeParameterInstantiation",
                        "params": [
                          {
                            "type": "TSTypeReference",
                            "typeName": {
                              "type": "Identifier",
                              "name": "C",
                              "decorators": [],
                              "loc": {
                                "start": {
                                  "line": 48,
                                  "column": 14
                                },
                                "end": {
                                  "line": 48,
                                  "column": 15
                                }
                              }
                            },
                            "typeParameters": {
                              "type": "TSTypeParameterInstantiation",
                              "params": [
                                {
                                  "type": "TSNumberKeyword",
                                  "loc": {
                                    "start": {
                                      "line": 48,
                                      "column": 16
                                    },
                                    "end": {
                                      "line": 48,
                                      "column": 22
                                    }
                                  }
                                }
                              ],
                              "loc": {
                                "start": {
                                  "line": 48,
                                  "column": 14
                                },
                                "end": {
                                  "line": 48,
                                  "column": 25
                                }
                              }
                            },
                            "loc": {
                              "start": {
                                "line": 48,
                                "column": 14
                              },
                              "end": {
                                "line": 48,
                                "column": 15
                              }
                            }
                          }
                        ],
                        "loc": {
                          "start": {
                            "line": 48,
                            "column": 12
                          },
                          "end": {
                            "line": 48,
                            "column": 25
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 48,
                          "column": 12
                        },
                        "end": {
                          "line": 48,
                          "column": 13
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 48,
                      "column": 11
                    },
                    "end": {
                      "line": 48,
                      "column": 25
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 48,
                    "column": 8
                  },
                  "end": {
                    "line": 48,
                    "column": 26
                  }
                }
              },
              "indexType": {
                "type": "TSLiteralType",
                "literal": {
                  "type": "NumberLiteral",
                  "value": 0,
                  "loc": {
                    "start": {
                      "line": 48,
                      "column": 26
                    },
                    "end": {
                      "line": 48,
                      "column": 27
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 48,
                    "column": 26
                  },
                  "end": {
                    "line": 48,
                    "column": 27
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 48,
                  "column": 8
                },
                "end": {
                  "line": 48,
                  "column": 29
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 48,
                "column": 5
              },
              "end": {
                "line": 48,
                "column": 6
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 48,
              "column": 5
            },
            "end": {
              "line": 48,
              "column": 6
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 48,
          "column": 1
        },
        "end": {
          "line": 48,
          "column": 29
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "d",
            "typeAnnotation": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "A",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 49,
                    "column": 8
                  },
                  "end": {
                    "line": 49,
                    "column": 9
                  }
                }
              },
              "typeParameters": {
                "type": "TSTypeParameterInstantiation",
                "params": [
                  {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 49,
                        "column": 10
                      },
                      "end": {
                        "line": 49,
                        "column": 16
                      }
                    }
                  },
                  {
                    "type": "TSTypeLiteral",
                    "members": [
                      {
                        "type": "TSPropertySignature",
                        "computed": false,
                        "optional": false,
                        "readonly": false,
                        "key": {
                          "type": "Identifier",
                          "name": "a",
                          "decorators": [],
                          "loc": {
                            "start": {
                              "line": 49,
                              "column": 20
                            },
                            "end": {
                              "line": 49,
                              "column": 21
                            }
                          }
                        },
                        "typeAnnotation": {
                          "type": "TSNumberKeyword",
                          "loc": {
                            "start": {
                              "line": 49,
                              "column": 23
                            },
                            "end": {
                              "line": 49,
                              "column": 29
                            }
                          }
                        },
                        "loc": {
                          "start": {
                            "line": 49,
                            "column": 20
                          },
                          "end": {
                            "line": 49,
                            "column": 30
                          }
                        }
                      },
                      {
                        "type": "TSPropertySignature",
                        "computed": false,
                        "optional": false,
                        "readonly": false,
                        "key": {
                          "type": "Identifier",
                          "name": "b",
                          "decorators": [],
                          "loc": {
                            "start": {
                              "line": 49,
                              "column": 31
                            },
                            "end": {
                              "line": 49,
                              "column": 32
                            }
                          }
                        },
                        "typeAnnotation": {
                          "type": "TSStringKeyword",
                          "loc": {
                            "start": {
                              "line": 49,
                              "column": 34
                            },
                            "end": {
                              "line": 49,
                              "column": 40
                            }
                          }
                        },
                        "loc": {
                          "start": {
                            "line": 49,
                            "column": 31
                          },
                          "end": {
                            "line": 49,
                            "column": 42
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 49,
                        "column": 18
                      },
                      "end": {
                        "line": 49,
                        "column": 42
                      }
                    }
                  },
                  {
                    "type": "TSTupleType",
                    "elementTypes": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 49,
                            "column": 45
                          },
                          "end": {
                            "line": 49,
                            "column": 52
                          }
                        }
                      },
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 49,
                            "column": 53
                          },
                          "end": {
                            "line": 49,
                            "column": 60
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 49,
                        "column": 44
                      },
                      "end": {
                        "line": 49,
                        "column": 60
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 49,
                    "column": 8
                  },
                  "end": {
                    "line": 49,
                    "column": 61
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 49,
                  "column": 8
                },
                "end": {
                  "line": 49,
                  "column": 9
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 49,
                "column": 5
              },
              "end": {
                "line": 49,
                "column": 6
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 49,
              "column": 5
            },
            "end": {
              "line": 49,
              "column": 6
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 49,
          "column": 1
        },
        "end": {
          "line": 49,
          "column": 62
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "e",
            "typeAnnotation": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "T",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 50,
                    "column": 8
                  },
                  "end": {
                    "line": 50,
                    "column": 9
                  }
                }
              },
              "typeParameters": {
                "type": "TSTypeParameterInstantiation",
                "params": [
                  {
                    "type": "TSFunctionType",
                    "params": [],
                    "typeParameters": {
                      "type": "TSTypeParameterDeclaration",
                      "params": [
                        {
                          "type": "TSTypeParameter",
                          "name": {
                            "type": "Identifier",
                            "name": "A",
                            "decorators": [],
                            "loc": {
                              "start": {
                                "line": 50,
                                "column": 11
                              },
                              "end": {
                                "line": 50,
                                "column": 12
                              }
                            }
                          },
                          "loc": {
                            "start": {
                              "line": 50,
                              "column": 11
                            },
                            "end": {
                              "line": 50,
                              "column": 13
                            }
                          }
                        }
                      ],
                      "loc": {
                        "start": {
                          "line": 50,
                          "column": 10
                        },
                        "end": {
                          "line": 50,
                          "column": 13
                        }
                      }
                    },
                    "returnType": {
                      "type": "TSTypeLiteral",
                      "members": [],
                      "loc": {
                        "start": {
                          "line": 50,
                          "column": 19
                        },
                        "end": {
                          "line": 50,
                          "column": 21
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 50,
                        "column": 10
                      },
                      "end": {
                        "line": 50,
                        "column": 21
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 50,
                    "column": 8
                  },
                  "end": {
                    "line": 50,
                    "column": 22
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 50,
                  "column": 8
                },
                "end": {
                  "line": 50,
                  "column": 9
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 50,
                "column": 5
              },
              "end": {
                "line": 50,
                "column": 6
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 50,
              "column": 5
            },
            "end": {
              "line": 50,
              "column": 6
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 50,
          "column": 1
        },
        "end": {
          "line": 50,
          "column": 23
        }
      }
    },
    {
      "type": "TSTypeAliasDeclaration",
      "id": {
        "type": "Identifier",
        "name": "E",
        "decorators": [],
        "loc": {
          "start": {
            "line": 52,
            "column": 6
          },
          "end": {
            "line": 52,
            "column": 7
          }
        }
      },
      "typeAnnotation": {
        "type": "TSUnionType",
        "types": [
          {
            "type": "TSNumberKeyword",
            "loc": {
              "start": {
                "line": 52,
                "column": 38
              },
              "end": {
                "line": 52,
                "column": 44
              }
            }
          },
          {
            "type": "TSTypeReference",
            "typeName": {
              "type": "Identifier",
              "name": "T",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 52,
                  "column": 47
                },
                "end": {
                  "line": 52,
                  "column": 48
                }
              }
            },
            "loc": {
              "start": {
                "line": 52,
                "column": 47
              },
              "end": {
                "line": 52,
                "column": 48
              }
            }
          },
          {
            "type": "TSStringKeyword",
            "loc": {
              "start": {
                "line": 52,
                "column": 51
              },
              "end": {
                "line": 52,
                "column": 57
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 52,
            "column": 38
          },
          "end": {
            "line": 52,
            "column": 57
          }
        }
      },
      "typeParameters": {
        "type": "TSTypeParameterDeclaration",
        "params": [
          {
            "type": "TSTypeParameter",
            "name": {
              "type": "Identifier",
              "name": "R",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 52,
                  "column": 8
                },
                "end": {
                  "line": 52,
                  "column": 9
                }
              }
            },
            "constraint": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "B",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 52,
                    "column": 18
                  },
                  "end": {
                    "line": 52,
                    "column": 19
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 52,
                  "column": 18
                },
                "end": {
                  "line": 52,
                  "column": 19
                }
              }
            },
            "loc": {
              "start": {
                "line": 52,
                "column": 8
              },
              "end": {
                "line": 52,
                "column": 20
              }
            }
          },
          {
            "type": "TSTypeParameter",
            "name": {
              "type": "Identifier",
              "name": "C",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 52,
                  "column": 21
                },
                "end": {
                  "line": 52,
                  "column": 22
                }
              }
            },
            "loc": {
              "start": {
                "line": 52,
                "column": 21
              },
              "end": {
                "line": 52,
                "column": 23
              }
            }
          },
          {
            "type": "TSTypeParameter",
            "name": {
              "type": "Identifier",
              "name": "T",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 52,
                  "column": 24
                },
                "end": {
                  "line": 52,
                  "column": 25
                }
              }
            },
            "default": {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 52,
                  "column": 28
                },
                "end": {
                  "line": 52,
                  "column": 34
                }
              }
            },
            "loc": {
              "start": {
                "line": 52,
                "column": 24
              },
              "end": {
                "line": 52,
                "column": 35
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 52,
            "column": 7
          },
          "end": {
            "line": 52,
            "column": 35
          }
        }
      },
      "loc": {
        "start": {
          "line": 52,
          "column": 1
        },
        "end": {
          "line": 52,
          "column": 58
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 52,
          "column": 57
        },
        "end": {
          "line": 52,
          "column": 58
        }
      }
    },
    {
      "type": "TSTypeAliasDeclaration",
      "id": {
        "type": "Identifier",
        "name": "P",
        "decorators": [],
        "loc": {
          "start": {
            "line": 53,
            "column": 6
          },
          "end": {
            "line": 53,
            "column": 7
          }
        }
      },
      "typeAnnotation": {
        "type": "TSTypeLiteral",
        "members": [
          {
            "type": "TSPropertySignature",
            "computed": false,
            "optional": false,
            "readonly": false,
            "key": {
              "type": "Identifier",
              "name": "a",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 53,
                  "column": 52
                },
                "end": {
                  "line": 53,
                  "column": 53
                }
              }
            },
            "typeAnnotation": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "K",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 53,
                    "column": 54
                  },
                  "end": {
                    "line": 53,
                    "column": 55
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 53,
                  "column": 54
                },
                "end": {
                  "line": 53,
                  "column": 55
                }
              }
            },
            "loc": {
              "start": {
                "line": 53,
                "column": 52
              },
              "end": {
                "line": 53,
                "column": 56
              }
            }
          },
          {
            "type": "TSPropertySignature",
            "computed": false,
            "optional": false,
            "readonly": false,
            "key": {
              "type": "Identifier",
              "name": "b",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 53,
                  "column": 57
                },
                "end": {
                  "line": 53,
                  "column": 58
                }
              }
            },
            "typeAnnotation": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "Q",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 53,
                    "column": 59
                  },
                  "end": {
                    "line": 53,
                    "column": 60
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 53,
                  "column": 59
                },
                "end": {
                  "line": 53,
                  "column": 60
                }
              }
            },
            "loc": {
              "start": {
                "line": 53,
                "column": 57
              },
              "end": {
                "line": 53,
                "column": 61
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 53,
            "column": 51
          },
          "end": {
            "line": 53,
            "column": 61
          }
        }
      },
      "typeParameters": {
        "type": "TSTypeParameterDeclaration",
        "params": [
          {
            "type": "TSTypeParameter",
            "name": {
              "type": "Identifier",
              "name": "K",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 53,
                  "column": 8
                },
                "end": {
                  "line": 53,
                  "column": 9
                }
              }
            },
            "loc": {
              "start": {
                "line": 53,
                "column": 8
              },
              "end": {
                "line": 53,
                "column": 10
              }
            }
          },
          {
            "type": "TSTypeParameter",
            "name": {
              "type": "Identifier",
              "name": "Q",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 53,
                  "column": 11
                },
                "end": {
                  "line": 53,
                  "column": 12
                }
              }
            },
            "default": {
              "type": "TSUnionType",
              "types": [
                {
                  "type": "TSTupleType",
                  "elementTypes": [
                    {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 53,
                          "column": 16
                        },
                        "end": {
                          "line": 53,
                          "column": 23
                        }
                      }
                    },
                    {
                      "type": "TSNumberKeyword",
                      "loc": {
                        "start": {
                          "line": 53,
                          "column": 24
                        },
                        "end": {
                          "line": 53,
                          "column": 31
                        }
                      }
                    },
                    {
                      "type": "TSStringKeyword",
                      "loc": {
                        "start": {
                          "line": 53,
                          "column": 32
                        },
                        "end": {
                          "line": 53,
                          "column": 39
                        }
                      }
                    }
                  ],
                  "loc": {
                    "start": {
                      "line": 53,
                      "column": 15
                    },
                    "end": {
                      "line": 53,
                      "column": 39
                    }
                  }
                },
                {
                  "type": "TSArrayType",
                  "elementType": {
                    "type": "TSAnyKeyword",
                    "loc": {
                      "start": {
                        "line": 53,
                        "column": 42
                      },
                      "end": {
                        "line": 53,
                        "column": 45
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 53,
                      "column": 42
                    },
                    "end": {
                      "line": 53,
                      "column": 47
                    }
                  }
                }
              ],
              "loc": {
                "start": {
                  "line": 53,
                  "column": 15
                },
                "end": {
                  "line": 53,
                  "column": 47
                }
              }
            },
            "loc": {
              "start": {
                "line": 53,
                "column": 11
              },
              "end": {
                "line": 53,
                "column": 48
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 53,
            "column": 7
          },
          "end": {
            "line": 53,
            "column": 48
          }
        }
      },
      "loc": {
        "start": {
          "line": 53,
          "column": 1
        },
        "end": {
          "line": 53,
          "column": 62
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 53,
          "column": 61
        },
        "end": {
          "line": 53,
          "column": 62
        }
      }
    },
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "CallExpression",
        "callee": {
          "type": "Identifier",
          "name": "async",
          "decorators": [],
          "loc": {
            "start": {
              "line": 55,
              "column": 1
            },
            "end": {
              "line": 55,
              "column": 6
            }
          }
        },
        "arguments": [],
        "optional": false,
        "typeParameters": {
          "type": "TSTypeParameterInstantiation",
          "params": [
            {
              "type": "TSFunctionType",
              "params": [],
              "typeParameters": {
                "type": "TSTypeParameterDeclaration",
                "params": [
                  {
                    "type": "TSTypeParameter",
                    "name": {
                      "type": "Identifier",
                      "name": "A",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 55,
                          "column": 8
                        },
                        "end": {
                          "line": 55,
                          "column": 9
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 55,
                        "column": 8
                      },
                      "end": {
                        "line": 55,
                        "column": 10
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 55,
                    "column": 7
                  },
                  "end": {
                    "line": 55,
                    "column": 10
                  }
                }
              },
              "returnType": {
                "type": "TSTypeLiteral",
                "members": [],
                "loc": {
                  "start": {
                    "line": 55,
                    "column": 16
                  },
                  "end": {
                    "line": 55,
                    "column": 18
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 55,
                  "column": 7
                },
                "end": {
                  "line": 55,
                  "column": 18
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 55,
              "column": 6
            },
            "end": {
              "line": 55,
              "column": 19
            }
          }
        },
        "loc": {
          "start": {
            "line": 55,
            "column": 1
          },
          "end": {
            "line": 55,
            "column": 21
          }
        }
      },
      "loc": {
        "start": {
          "line": 55,
          "column": 1
        },
        "end": {
          "line": 55,
          "column": 22
        }
      }
    },
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "CallExpression",
        "callee": {
          "type": "Identifier",
          "name": "async",
          "decorators": [],
          "loc": {
            "start": {
              "line": 56,
              "column": 1
            },
            "end": {
              "line": 56,
              "column": 6
            }
          }
        },
        "arguments": [],
        "optional": false,
        "typeParameters": {
          "type": "TSTypeParameterInstantiation",
          "params": [
            {
              "type": "TSNumberKeyword",
              "loc": {
                "start": {
                  "line": 56,
                  "column": 7
                },
                "end": {
                  "line": 56,
                  "column": 13
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 56,
              "column": 6
            },
            "end": {
              "line": 56,
              "column": 14
            }
          }
        },
        "loc": {
          "start": {
            "line": 56,
            "column": 1
          },
          "end": {
            "line": 56,
            "column": 16
          }
        }
      },
      "loc": {
        "start": {
          "line": 56,
          "column": 1
        },
        "end": {
          "line": 56,
          "column": 17
        }
      }
    },
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "ArrowFunctionExpression",
        "function": {
          "type": "ScriptFunction",
          "id": null,
          "generator": false,
          "async": false,
          "expression": true,
          "params": [],
          "returnType": {
            "type": "TSNumberKeyword",
            "loc": {
              "start": {
                "line": 57,
                "column": 17
              },
              "end": {
                "line": 57,
                "column": 23
              }
            }
          },
          "typeParameters": {
            "type": "TSTypeParameterDeclaration",
            "params": [
              {
                "type": "TSTypeParameter",
                "name": {
                  "type": "Identifier",
                  "name": "A",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 57,
                      "column": 2
                    },
                    "end": {
                      "line": 57,
                      "column": 3
                    }
                  }
                },
                "constraint": {
                  "type": "TSTypeReference",
                  "typeName": {
                    "type": "Identifier",
                    "name": "B",
                    "decorators": [],
                    "loc": {
                      "start": {
                        "line": 57,
                        "column": 12
                      },
                      "end": {
                        "line": 57,
                        "column": 13
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 57,
                      "column": 12
                    },
                    "end": {
                      "line": 57,
                      "column": 13
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 57,
                    "column": 2
                  },
                  "end": {
                    "line": 57,
                    "column": 14
                  }
                }
              }
            ],
            "loc": {
              "start": {
                "line": 57,
                "column": 1
              },
              "end": {
                "line": 57,
                "column": 14
              }
            }
          },
          "body": {
            "type": "BooleanLiteral",
            "value": true,
            "loc": {
              "start": {
                "line": 57,
                "column": 27
              },
              "end": {
                "line": 57,
                "column": 31
              }
            }
          },
          "loc": {
            "start": {
              "line": 57,
              "column": 1
            },
            "end": {
              "line": 57,
              "column": 31
            }
          }
        },
        "loc": {
          "start": {
            "line": 57,
            "column": 1
          },
          "end": {
            "line": 57,
            "column": 31
          }
        }
      },
      "loc": {
        "start": {
          "line": 57,
          "column": 1
        },
        "end": {
          "line": 57,
          "column": 32
        }
      }
    },
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "ArrowFunctionExpression",
        "function": {
          "type": "ScriptFunction",
          "id": null,
          "generator": false,
          "async": true,
          "expression": false,
          "params": [],
          "typeParameters": {
            "type": "TSTypeParameterDeclaration",
            "params": [
              {
                "type": "TSTypeParameter",
                "name": {
                  "type": "Identifier",
                  "name": "A",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 58,
                      "column": 7
                    },
                    "end": {
                      "line": 58,
                      "column": 8
                    }
                  }
                },
                "constraint": {
                  "type": "TSTypeOperator",
                  "operator": "readonly",
                  "typeAnnotation": {
                    "type": "TSTupleType",
                    "elementTypes": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 58,
                            "column": 27
                          },
                          "end": {
                            "line": 58,
                            "column": 34
                          }
                        }
                      },
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 58,
                            "column": 35
                          },
                          "end": {
                            "line": 58,
                            "column": 42
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 58,
                        "column": 26
                      },
                      "end": {
                        "line": 58,
                        "column": 42
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 58,
                      "column": 17
                    },
                    "end": {
                      "line": 58,
                      "column": 42
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 58,
                    "column": 7
                  },
                  "end": {
                    "line": 58,
                    "column": 43
                  }
                }
              }
            ],
            "loc": {
              "start": {
                "line": 58,
                "column": 6
              },
              "end": {
                "line": 58,
                "column": 43
              }
            }
          },
          "body": {
            "type": "BlockStatement",
            "statements": [
              {
                "type": "ReturnStatement",
                "argument": {
                  "type": "StringLiteral",
                  "value": "",
                  "loc": {
                    "start": {
                      "line": 58,
                      "column": 57
                    },
                    "end": {
                      "line": 58,
                      "column": 62
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 58,
                    "column": 50
                  },
                  "end": {
                    "line": 58,
                    "column": 63
                  }
                }
              }
            ],
            "loc": {
              "start": {
                "line": 58,
                "column": 49
              },
              "end": {
                "line": 58,
                "column": 64
              }
            }
          },
          "loc": {
            "start": {
              "line": 58,
              "column": 1
            },
            "end": {
              "line": 58,
              "column": 64
            }
          }
        },
        "loc": {
          "start": {
            "line": 58,
            "column": 1
          },
          "end": {
            "line": 58,
            "column": 64
          }
        }
      },
      "loc": {
        "start": {
          "line": 58,
          "column": 1
        },
        "end": {
          "line": 58,
          "column": 65
        }
      }
    }
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 1
    },
    "end": {
      "line": 58,
      "column": 65
    }
  }
}
