{
  "type": "Program",
  "statements": [
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "a",
            "decorators": [],
            "loc": {
              "start": {
                "line": 1,
                "column": 5
              },
              "end": {
                "line": 1,
                "column": 6
              }
            }
          },
          "init": {
            "type": "NumberLiteral",
            "value": 5,
            "loc": {
              "start": {
                "line": 1,
                "column": 9
              },
              "end": {
                "line": 1,
                "column": 10
              }
            }
          },
          "loc": {
            "start": {
              "line": 1,
              "column": 5
            },
            "end": {
              "line": 1,
              "column": 10
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 1,
          "column": 1
        },
        "end": {
          "line": 1,
          "column": 11
        }
      }
    },
    {
      "type": "TSTypeAliasDeclaration",
      "id": {
        "type": "Identifier",
        "name": "A",
        "decorators": [],
        "loc": {
          "start": {
            "line": 2,
            "column": 6
          },
          "end": {
            "line": 2,
            "column": 7
          }
        }
      },
      "typeAnnotation": {
        "type": "TSConditionalType",
        "checkType": {
          "type": "TSArrayType",
          "elementType": {
            "type": "TSParenthesizedType",
            "typeAnnotation": {
              "type": "TSConditionalType",
              "checkType": {
                "type": "TSUnionType",
                "types": [
                  {
                    "type": "TSStringKeyword",
                    "loc": {
                      "start": {
                        "line": 2,
                        "column": 11
                      },
                      "end": {
                        "line": 2,
                        "column": 17
                      }
                    }
                  },
                  {
                    "type": "TSIntersectionType",
                    "types": [
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 2,
                            "column": 20
                          },
                          "end": {
                            "line": 2,
                            "column": 26
                          }
                        }
                      },
                      {
                        "type": "TSBooleanKeyword",
                        "loc": {
                          "start": {
                            "line": 2,
                            "column": 29
                          },
                          "end": {
                            "line": 2,
                            "column": 36
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 2,
                        "column": 20
                      },
                      "end": {
                        "line": 2,
                        "column": 36
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 11
                  },
                  "end": {
                    "line": 2,
                    "column": 36
                  }
                }
              },
              "extendsType": {
                "type": "TSBooleanKeyword",
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 45
                  },
                  "end": {
                    "line": 2,
                    "column": 52
                  }
                }
              },
              "trueType": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 55
                  },
                  "end": {
                    "line": 2,
                    "column": 61
                  }
                }
              },
              "falseType": {
                "type": "TSStringKeyword",
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 64
                  },
                  "end": {
                    "line": 2,
                    "column": 70
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 2,
                  "column": 11
                },
                "end": {
                  "line": 2,
                  "column": 70
                }
              }
            },
            "loc": {
              "start": {
                "line": 2,
                "column": 10
              },
              "end": {
                "line": 2,
                "column": 71
              }
            }
          },
          "loc": {
            "start": {
              "line": 2,
              "column": 10
            },
            "end": {
              "line": 2,
              "column": 73
            }
          }
        },
        "extendsType": {
          "type": "TSParenthesizedType",
          "typeAnnotation": {
            "type": "TSUnionType",
            "types": [
              {
                "type": "TSParenthesizedType",
                "typeAnnotation": {
                  "type": "TSConditionalType",
                  "checkType": {
                    "type": "TSBooleanKeyword",
                    "loc": {
                      "start": {
                        "line": 2,
                        "column": 84
                      },
                      "end": {
                        "line": 2,
                        "column": 91
                      }
                    }
                  },
                  "extendsType": {
                    "type": "TSIntersectionType",
                    "types": [
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 2,
                            "column": 102
                          },
                          "end": {
                            "line": 2,
                            "column": 108
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 2,
                        "column": 100
                      },
                      "end": {
                        "line": 2,
                        "column": 108
                      }
                    }
                  },
                  "trueType": {
                    "type": "TSTypeQuery",
                    "exprName": {
                      "type": "Identifier",
                      "name": "a",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 2,
                          "column": 118
                        },
                        "end": {
                          "line": 2,
                          "column": 119
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 2,
                        "column": 111
                      },
                      "end": {
                        "line": 2,
                        "column": 119
                      }
                    }
                  },
                  "falseType": {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 2,
                        "column": 122
                      },
                      "end": {
                        "line": 2,
                        "column": 128
                      }
                    }
                  },
                  "loc": {
                    "start": {
                      "line": 2,
                      "column": 84
                    },
                    "end": {
                      "line": 2,
                      "column": 128
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 83
                  },
                  "end": {
                    "line": 2,
                    "column": 129
                  }
                }
              },
              {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 132
                  },
                  "end": {
                    "line": 2,
                    "column": 138
                  }
                }
              }
            ],
            "loc": {
              "start": {
                "line": 2,
                "column": 83
              },
              "end": {
                "line": 2,
                "column": 138
              }
            }
          },
          "loc": {
            "start": {
              "line": 2,
              "column": 82
            },
            "end": {
              "line": 2,
              "column": 139
            }
          }
        },
        "trueType": {
          "type": "TSConditionalType",
          "checkType": {
            "type": "TSUnionType",
            "types": [
              {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 142
                  },
                  "end": {
                    "line": 2,
                    "column": 148
                  }
                }
              },
              {
                "type": "TSBooleanKeyword",
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 151
                  },
                  "end": {
                    "line": 2,
                    "column": 158
                  }
                }
              }
            ],
            "loc": {
              "start": {
                "line": 2,
                "column": 142
              },
              "end": {
                "line": 2,
                "column": 158
              }
            }
          },
          "extendsType": {
            "type": "TSStringKeyword",
            "loc": {
              "start": {
                "line": 2,
                "column": 167
              },
              "end": {
                "line": 2,
                "column": 173
              }
            }
          },
          "trueType": {
            "type": "TSNumberKeyword",
            "loc": {
              "start": {
                "line": 2,
                "column": 176
              },
              "end": {
                "line": 2,
                "column": 182
              }
            }
          },
          "falseType": {
            "type": "TSStringKeyword",
            "loc": {
              "start": {
                "line": 2,
                "column": 185
              },
              "end": {
                "line": 2,
                "column": 191
              }
            }
          },
          "loc": {
            "start": {
              "line": 2,
              "column": 142
            },
            "end": {
              "line": 2,
              "column": 191
            }
          }
        },
        "falseType": {
          "type": "TSStringKeyword",
          "loc": {
            "start": {
              "line": 2,
              "column": 194
            },
            "end": {
              "line": 2,
              "column": 200
            }
          }
        },
        "loc": {
          "start": {
            "line": 2,
            "column": 10
          },
          "end": {
            "line": 2,
            "column": 200
          }
        }
      },
      "loc": {
        "start": {
          "line": 2,
          "column": 1
        },
        "end": {
          "line": 2,
          "column": 201
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 2,
          "column": 200
        },
        "end": {
          "line": 2,
          "column": 201
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "b",
            "typeAnnotation": {
              "type": "TSConditionalType",
              "checkType": {
                "type": "TSIntersectionType",
                "types": [
                  {
                    "type": "TSBooleanKeyword",
                    "loc": {
                      "start": {
                        "line": 4,
                        "column": 8
                      },
                      "end": {
                        "line": 4,
                        "column": 15
                      }
                    }
                  },
                  {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 4,
                        "column": 18
                      },
                      "end": {
                        "line": 4,
                        "column": 24
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 4,
                    "column": 8
                  },
                  "end": {
                    "line": 4,
                    "column": 24
                  }
                }
              },
              "extendsType": {
                "type": "TSTypeReference",
                "typeName": {
                  "type": "Identifier",
                  "name": "A",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 4,
                      "column": 33
                    },
                    "end": {
                      "line": 4,
                      "column": 34
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 4,
                    "column": 33
                  },
                  "end": {
                    "line": 4,
                    "column": 34
                  }
                }
              },
              "trueType": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 4,
                    "column": 37
                  },
                  "end": {
                    "line": 4,
                    "column": 43
                  }
                }
              },
              "falseType": {
                "type": "TSStringKeyword",
                "loc": {
                  "start": {
                    "line": 4,
                    "column": 46
                  },
                  "end": {
                    "line": 4,
                    "column": 52
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 4,
                  "column": 8
                },
                "end": {
                  "line": 4,
                  "column": 52
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 4,
                "column": 5
              },
              "end": {
                "line": 4,
                "column": 6
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 4,
              "column": 5
            },
            "end": {
              "line": 4,
              "column": 6
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 4,
          "column": 1
        },
        "end": {
          "line": 4,
          "column": 53
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "c",
            "typeAnnotation": {
              "type": "TSConditionalType",
              "checkType": {
                "type": "TSUnionType",
                "types": [
                  {
                    "type": "TSTypeReference",
                    "typeName": {
                      "type": "Identifier",
                      "name": "A",
                      "decorators": [],
                      "loc": {
                        "start": {
                          "line": 5,
                          "column": 8
                        },
                        "end": {
                          "line": 5,
                          "column": 9
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 5,
                        "column": 8
                      },
                      "end": {
                        "line": 5,
                        "column": 9
                      }
                    }
                  },
                  {
                    "type": "TSNumberKeyword",
                    "loc": {
                      "start": {
                        "line": 5,
                        "column": 12
                      },
                      "end": {
                        "line": 5,
                        "column": 18
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 5,
                    "column": 8
                  },
                  "end": {
                    "line": 5,
                    "column": 18
                  }
                }
              },
              "extendsType": {
                "type": "TSStringKeyword",
                "loc": {
                  "start": {
                    "line": 5,
                    "column": 27
                  },
                  "end": {
                    "line": 5,
                    "column": 33
                  }
                }
              },
              "trueType": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 5,
                    "column": 36
                  },
                  "end": {
                    "line": 5,
                    "column": 42
                  }
                }
              },
              "falseType": {
                "type": "TSStringKeyword",
                "loc": {
                  "start": {
                    "line": 5,
                    "column": 45
                  },
                  "end": {
                    "line": 5,
                    "column": 51
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 5,
                  "column": 8
                },
                "end": {
                  "line": 5,
                  "column": 51
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 5,
                "column": 5
              },
              "end": {
                "line": 5,
                "column": 6
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 5,
              "column": 5
            },
            "end": {
              "line": 5,
              "column": 6
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 5,
          "column": 1
        },
        "end": {
          "line": 5,
          "column": 52
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "d",
            "typeAnnotation": {
              "type": "TSConditionalType",
              "checkType": {
                "type": "TSUnionType",
                "types": [
                  {
                    "type": "TSBooleanKeyword",
                    "loc": {
                      "start": {
                        "line": 6,
                        "column": 8
                      },
                      "end": {
                        "line": 6,
                        "column": 15
                      }
                    }
                  },
                  {
                    "type": "TSIntersectionType",
                    "types": [
                      {
                        "type": "TSTypeReference",
                        "typeName": {
                          "type": "Identifier",
                          "name": "A",
                          "decorators": [],
                          "loc": {
                            "start": {
                              "line": 6,
                              "column": 18
                            },
                            "end": {
                              "line": 6,
                              "column": 19
                            }
                          }
                        },
                        "loc": {
                          "start": {
                            "line": 6,
                            "column": 18
                          },
                          "end": {
                            "line": 6,
                            "column": 19
                          }
                        }
                      },
                      {
                        "type": "TSStringKeyword",
                        "loc": {
                          "start": {
                            "line": 6,
                            "column": 22
                          },
                          "end": {
                            "line": 6,
                            "column": 28
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 6,
                        "column": 18
                      },
                      "end": {
                        "line": 6,
                        "column": 28
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 6,
                    "column": 8
                  },
                  "end": {
                    "line": 6,
                    "column": 28
                  }
                }
              },
              "extendsType": {
                "type": "TSStringKeyword",
                "loc": {
                  "start": {
                    "line": 6,
                    "column": 37
                  },
                  "end": {
                    "line": 6,
                    "column": 43
                  }
                }
              },
              "trueType": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 6,
                    "column": 46
                  },
                  "end": {
                    "line": 6,
                    "column": 52
                  }
                }
              },
              "falseType": {
                "type": "TSStringKeyword",
                "loc": {
                  "start": {
                    "line": 6,
                    "column": 55
                  },
                  "end": {
                    "line": 6,
                    "column": 61
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 6,
                  "column": 8
                },
                "end": {
                  "line": 6,
                  "column": 61
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 6,
                "column": 5
              },
              "end": {
                "line": 6,
                "column": 6
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 6,
              "column": 5
            },
            "end": {
              "line": 6,
              "column": 6
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 6,
          "column": 1
        },
        "end": {
          "line": 6,
          "column": 62
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "e",
            "typeAnnotation": {
              "type": "TSConditionalType",
              "checkType": {
                "type": "TSUnionType",
                "types": [
                  {
                    "type": "TSIntersectionType",
                    "types": [
                      {
                        "type": "TSBooleanKeyword",
                        "loc": {
                          "start": {
                            "line": 7,
                            "column": 8
                          },
                          "end": {
                            "line": 7,
                            "column": 15
                          }
                        }
                      },
                      {
                        "type": "TSNumberKeyword",
                        "loc": {
                          "start": {
                            "line": 7,
                            "column": 18
                          },
                          "end": {
                            "line": 7,
                            "column": 24
                          }
                        }
                      }
                    ],
                    "loc": {
                      "start": {
                        "line": 7,
                        "column": 8
                      },
                      "end": {
                        "line": 7,
                        "column": 24
                      }
                    }
                  },
                  {
                    "type": "TSStringKeyword",
                    "loc": {
                      "start": {
                        "line": 7,
                        "column": 27
                      },
                      "end": {
                        "line": 7,
                        "column": 33
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 7,
                    "column": 8
                  },
                  "end": {
                    "line": 7,
                    "column": 33
                  }
                }
              },
              "extendsType": {
                "type": "TSStringKeyword",
                "loc": {
                  "start": {
                    "line": 7,
                    "column": 42
                  },
                  "end": {
                    "line": 7,
                    "column": 48
                  }
                }
              },
              "trueType": {
                "type": "TSNumberKeyword",
                "loc": {
                  "start": {
                    "line": 7,
                    "column": 51
                  },
                  "end": {
                    "line": 7,
                    "column": 57
                  }
                }
              },
              "falseType": {
                "type": "TSStringKeyword",
                "loc": {
                  "start": {
                    "line": 7,
                    "column": 60
                  },
                  "end": {
                    "line": 7,
                    "column": 66
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 7,
                  "column": 8
                },
                "end": {
                  "line": 7,
                  "column": 66
                }
              }
            },
            "decorators": [],
            "loc": {
              "start": {
                "line": 7,
                "column": 5
              },
              "end": {
                "line": 7,
                "column": 6
              }
            }
          },
          "init": null,
          "loc": {
            "start": {
              "line": 7,
              "column": 5
            },
            "end": {
              "line": 7,
              "column": 6
            }
          }
        }
      ],
      "kind": "var",
      "loc": {
        "start": {
          "line": 7,
          "column": 1
        },
        "end": {
          "line": 7,
          "column": 67
        }
      }
    },
    {
      "type": "TSTypeAliasDeclaration",
      "id": {
        "type": "Identifier",
        "name": "Bar",
        "decorators": [],
        "loc": {
          "start": {
            "line": 9,
            "column": 6
          },
          "end": {
            "line": 9,
            "column": 9
          }
        }
      },
      "typeAnnotation": {
        "type": "TSConditionalType",
        "checkType": {
          "type": "TSTypeReference",
          "typeName": {
            "type": "Identifier",
            "name": "T",
            "decorators": [],
            "loc": {
              "start": {
                "line": 9,
                "column": 15
              },
              "end": {
                "line": 9,
                "column": 16
              }
            }
          },
          "loc": {
            "start": {
              "line": 9,
              "column": 15
            },
            "end": {
              "line": 9,
              "column": 16
            }
          }
        },
        "extendsType": {
          "type": "TSArrayType",
          "elementType": {
            "type": "TSParenthesizedType",
            "typeAnnotation": {
              "type": "TSInferType",
              "typeParameter": {
                "type": "TSTypeParameter",
                "name": {
                  "type": "Identifier",
                  "name": "U",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 9,
                      "column": 32
                    },
                    "end": {
                      "line": 9,
                      "column": 33
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 9,
                    "column": 32
                  },
                  "end": {
                    "line": 9,
                    "column": 34
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 9,
                  "column": 26
                },
                "end": {
                  "line": 9,
                  "column": 34
                }
              }
            },
            "loc": {
              "start": {
                "line": 9,
                "column": 25
              },
              "end": {
                "line": 9,
                "column": 34
              }
            }
          },
          "loc": {
            "start": {
              "line": 9,
              "column": 25
            },
            "end": {
              "line": 9,
              "column": 36
            }
          }
        },
        "trueType": {
          "type": "TSTypeReference",
          "typeName": {
            "type": "Identifier",
            "name": "U",
            "decorators": [],
            "loc": {
              "start": {
                "line": 10,
                "column": 7
              },
              "end": {
                "line": 10,
                "column": 8
              }
            }
          },
          "loc": {
            "start": {
              "line": 10,
              "column": 7
            },
            "end": {
              "line": 10,
              "column": 8
            }
          }
        },
        "falseType": {
          "type": "TSConditionalType",
          "checkType": {
            "type": "TSTypeReference",
            "typeName": {
              "type": "Identifier",
              "name": "T",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 11,
                  "column": 7
                },
                "end": {
                  "line": 11,
                  "column": 8
                }
              }
            },
            "loc": {
              "start": {
                "line": 11,
                "column": 7
              },
              "end": {
                "line": 11,
                "column": 8
              }
            }
          },
          "extendsType": {
            "type": "TSFunctionType",
            "params": [
              {
                "type": "RestElement",
                "argument": {
                  "type": "Identifier",
                  "name": "args",
                  "typeAnnotation": {
                    "type": "TSArrayType",
                    "elementType": {
                      "type": "TSAnyKeyword",
                      "loc": {
                        "start": {
                          "line": 11,
                          "column": 27
                        },
                        "end": {
                          "line": 11,
                          "column": 30
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 11,
                        "column": 27
                      },
                      "end": {
                        "line": 11,
                        "column": 32
                      }
                    }
                  },
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 11,
                      "column": 21
                    },
                    "end": {
                      "line": 11,
                      "column": 25
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 11,
                    "column": 18
                  },
                  "end": {
                    "line": 11,
                    "column": 25
                  }
                }
              }
            ],
            "returnType": {
              "type": "TSInferType",
              "typeParameter": {
                "type": "TSTypeParameter",
                "name": {
                  "type": "Identifier",
                  "name": "U",
                  "decorators": [],
                  "loc": {
                    "start": {
                      "line": 11,
                      "column": 43
                    },
                    "end": {
                      "line": 11,
                      "column": 44
                    }
                  }
                },
                "loc": {
                  "start": {
                    "line": 11,
                    "column": 43
                  },
                  "end": {
                    "line": 12,
                    "column": 6
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 11,
                  "column": 37
                },
                "end": {
                  "line": 12,
                  "column": 6
                }
              }
            },
            "loc": {
              "start": {
                "line": 11,
                "column": 17
              },
              "end": {
                "line": 12,
                "column": 6
              }
            }
          },
          "trueType": {
            "type": "TSTypeReference",
            "typeName": {
              "type": "Identifier",
              "name": "U",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 12,
                  "column": 7
                },
                "end": {
                  "line": 12,
                  "column": 8
                }
              }
            },
            "loc": {
              "start": {
                "line": 12,
                "column": 7
              },
              "end": {
                "line": 12,
                "column": 8
              }
            }
          },
          "falseType": {
            "type": "TSConditionalType",
            "checkType": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "T",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 13,
                    "column": 7
                  },
                  "end": {
                    "line": 13,
                    "column": 8
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 13,
                  "column": 7
                },
                "end": {
                  "line": 13,
                  "column": 8
                }
              }
            },
            "extendsType": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "Promise",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 13,
                    "column": 17
                  },
                  "end": {
                    "line": 13,
                    "column": 24
                  }
                }
              },
              "typeParameters": {
                "type": "TSTypeParameterInstantiation",
                "params": [
                  {
                    "type": "TSInferType",
                    "typeParameter": {
                      "type": "TSTypeParameter",
                      "name": {
                        "type": "Identifier",
                        "name": "U",
                        "decorators": [],
                        "loc": {
                          "start": {
                            "line": 13,
                            "column": 31
                          },
                          "end": {
                            "line": 13,
                            "column": 32
                          }
                        }
                      },
                      "loc": {
                        "start": {
                          "line": 13,
                          "column": 31
                        },
                        "end": {
                          "line": 13,
                          "column": 33
                        }
                      }
                    },
                    "loc": {
                      "start": {
                        "line": 13,
                        "column": 25
                      },
                      "end": {
                        "line": 13,
                        "column": 33
                      }
                    }
                  }
                ],
                "loc": {
                  "start": {
                    "line": 13,
                    "column": 17
                  },
                  "end": {
                    "line": 13,
                    "column": 33
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 13,
                  "column": 17
                },
                "end": {
                  "line": 13,
                  "column": 24
                }
              }
            },
            "trueType": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "U",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 14,
                    "column": 7
                  },
                  "end": {
                    "line": 14,
                    "column": 8
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 14,
                  "column": 7
                },
                "end": {
                  "line": 14,
                  "column": 8
                }
              }
            },
            "falseType": {
              "type": "TSTypeReference",
              "typeName": {
                "type": "Identifier",
                "name": "T",
                "decorators": [],
                "loc": {
                  "start": {
                    "line": 15,
                    "column": 7
                  },
                  "end": {
                    "line": 15,
                    "column": 8
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 15,
                  "column": 7
                },
                "end": {
                  "line": 15,
                  "column": 8
                }
              }
            },
            "loc": {
              "start": {
                "line": 13,
                "column": 7
              },
              "end": {
                "line": 15,
                "column": 8
              }
            }
          },
          "loc": {
            "start": {
              "line": 11,
              "column": 7
            },
            "end": {
              "line": 15,
              "column": 8
            }
          }
        },
        "loc": {
          "start": {
            "line": 9,
            "column": 15
          },
          "end": {
            "line": 15,
            "column": 8
          }
        }
      },
      "typeParameters": {
        "type": "TSTypeParameterDeclaration",
        "params": [
          {
            "type": "TSTypeParameter",
            "name": {
              "type": "Identifier",
              "name": "T",
              "decorators": [],
              "loc": {
                "start": {
                  "line": 9,
                  "column": 10
                },
                "end": {
                  "line": 9,
                  "column": 11
                }
              }
            },
            "loc": {
              "start": {
                "line": 9,
                "column": 10
              },
              "end": {
                "line": 9,
                "column": 12
              }
            }
          }
        ],
        "loc": {
          "start": {
            "line": 9,
            "column": 9
          },
          "end": {
            "line": 9,
            "column": 12
          }
        }
      },
      "loc": {
        "start": {
          "line": 9,
          "column": 1
        },
        "end": {
          "line": 15,
          "column": 9
        }
      }
    },
    {
      "type": "EmptyStatement",
      "loc": {
        "start": {
          "line": 15,
          "column": 8
        },
        "end": {
          "line": 15,
          "column": 9
        }
      }
    }
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 1
    },
    "end": {
      "line": 15,
      "column": 9
    }
  }
}
